I am trying to add nucleotides to the 3 and 5 prime end of a dna strand. I have used this code to grab a nucleotide residue, thanks to smlewis and sergey:
chm = rosetta.core.chemical.ChemicalManager.get_instance()
set = chm.residue_type_set('fa_standard').get()
ade = rosetta.core.conformation.ResidueFactory.create_residue(set.name_map("ADE"))
I used prepend_polymer_residue_before_seq_pos and append_polymer_residue_after_seq_pos to add the nucleotides to the pose.
I am now trying to setup the foldtree so I can insert_ideal_geometry. As usual, I can't seem to get the fold tree right.
Any tips on how to get this to work correctly? Is there a different way to do this?