Improvement suggestion: single letter code for swap
Dear ChimeraX team,
A small feature request: It would be helpful if the swapaa command could accept the single letter code for amino acids as well as the three letter code. This makes it easy to quickly fix a sequence, i.e based on a sequence that is open in the sequence viewer.
Many thanks,
Matthias
Hi Matthias, Okay, in tomorrow's build if you prefix the residue type with "seq:" then the letters will be interpreted as one-letter codes, so:
swapaa :1-3 ALA
will change the first three residues to alanines, whereas:
swapaa :1-3 seq:ALA
will change them to alanine-leucine-alanine.
--Eric
Eric Pettersen UCSF Computer Graphics Lab
On Mar 5, 2024, at 5:26 AM, Vorländer,Matthias Kopano via ChimeraX-users chimerax-users@cgl.ucsf.edu wrote:
Dear ChimeraX team,
A small feature request: It would be helpful if the swapaa command could accept the single letter code for amino acids as well as the three letter code. This makes it easy to quickly fix a sequence, i.e based on a sequence that is open in the sequence viewer.
Many thanks,
Matthias _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu mailto:chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu mailto:chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/ https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/
That's amazing, thanks a lot! Much appreciated :) Matthias
Sent from Outlook for Androidhttps://aka.ms/AAb9ysg ________________________________ From: Eric Pettersen pett@cgl.ucsf.edu Sent: Wednesday, March 6, 2024 1:14:32 AM To: Vorländer,Matthias Kopano matthias.vorlaender@imp.ac.at Cc: ChimeraX-users@cgl.ucsf.edu chimerax-users@cgl.ucsf.edu Subject: Re: [chimerax-users] Improvement suggestion: single letter code for swap
Hi Matthias, Okay, in tomorrow's build if you prefix the residue type with "seq:" then the letters will be interpreted as one-letter codes, so:
swapaa :1-3 ALA
will change the first three residues to alanines, whereas:
swapaa :1-3 seq:ALA
will change them to alanine-leucine-alanine.
--Eric
Eric Pettersen UCSF Computer Graphics Lab
On Mar 5, 2024, at 5:26 AM, Vorländer,Matthias Kopano via ChimeraX-users <chimerax-users@cgl.ucsf.edumailto:chimerax-users@cgl.ucsf.edu> wrote:
Dear ChimeraX team,
A small feature request: It would be helpful if the swapaa command could accept the single letter code for amino acids as well as the three letter code. This makes it easy to quickly fix a sequence, i.e based on a sequence that is open in the sequence viewer.
Many thanks,
Matthias _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edumailto:chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edumailto:chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/
participants (2)
-
Eric Pettersen
-
Vorländer,Matthias Kopano