On 25/03/2025 15:51, Dan Richman wrote:

--

Hi Coot community,

I've wound up with nucleic acid chains that have a mix of A, C, G, DT, and I'd like to change the A, C, G to DA, DC, DG.

Curious problem.

But:

Simple Mutate only offers the same A, C, G ribonucleotides, not deoxy types.
I think Coot looks at the other residues in the chain and decided that its RNA, so didn't offer DNA.

Scheme scripting with a command of the form (mutate-nucleotide-range imol chain-id resno-start resno-end sequence),
such as
(mutate-nucleotide-range 0 "A" 1 5 DGDCDADTDC)


I doubt that will work, because Coot will guess that it needs to make RNA - and it might also change the bases (i.e. not the riboses). Note that DGDCDADTDC should be quoted and use single-letter code "GCATC".



returns the error that the string length must match the number of residues, so I'm not sure how to encode the "deoxy" part of the identifier.

How would you go about changing RNA to DNA?


Edit -> Replace Residue.


It might be scriptable, but it also might not be worth the effort.


Paul.



########################################################################

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/

Reply via email to