From: h. a. s. <h.a...@gm...> - 2020-03-22 13:16:35
|
Thank you Jared! The commands didn’t work, but at least I now know why, and how to manually fix this. > On Mar 20, 2020, at 10:37 PM, Jared Sampson <jar...@co...> wrote: > > Hi Adam - > > That's a fun one. It appears that most of these O3' atoms are not bonded to the P atom of the following nucleotide, which you can see if you show the DNA chains as sticks. Creating a bond via `bond atom1, atom2` results in a normal cartoon. Fortunately, the DNA chains are sequentially numbered, so you can do something like: > > for i in range(1, 80): cmd.bond(f"/5fur//E/{i}/O3'", f"/5fur//E/{i+1}/P") > for i in range(81, 160): cmd.bond(f"/5fur//F/{i}/O3'", f"/5fur//F/{i+1}/P") > > The offending bond lengths are much longer than a typical P–O bond, which is why PyMOL's default distance-based bonding doesn't pick it up. > > Hope that helps. > > Cheers, > Jared > > > > From: h. adam steinberg <h.a...@gm...> <mailto:h.a...@gm...> > Reply: h. adam steinberg <h.a...@gm...> <mailto:h.a...@gm...> > Date: March 20, 2020 at 9:59:45 PM > To: pymol-users <pym...@li...> <mailto:pym...@li...> > Subject: [PyMOL] broken DNA cartoon > >> Hi All, >> >> When I open 5FUR either from my drive or via fetch, the DNA cartoon is broken and mostly missing (it should span from left to right). Any ideas on how to get the cartoon to work? >> >> Pymol version 2.3.4 >> >> >> _______________________________________________ >> PyMOL-users mailing list >> Archives: http://www.mail-archive.com/pym...@li... <http://www.mail-archive.com/pym...@li...> >> Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe <https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe> |