Open KasperBuskPedersen opened 2 weeks ago
Dear @KasperBuskPedersen , thank you for your kind words. You have already identified the correct file to modify (dna.rs). For a new modified nucleotide, you may need to add to the following dictionaries:
VDW_CHARGES
: if there is a new AMBER atom type in your modified nucleotide, add here its VDW charge from the AMBER FF.
VDW_RADII
: same for radiusAMBER_TYPES
: for every atom in the new type, add a new keyAMBER-TYPE-ATOM_NAME
and as value the mapping AMBER type.Finally, if AMBER notation is not following the PDB standard you might need to add a translation between PDB types and AMBER names here: https://github.com/lightdock/lightdock-rust/blob/153298f2b161e3468a00db43188c16362c68cf97/src/dna.rs#L83
The rest of the code should act dinamically to the new types, so it is basically an exercise of adding new key-values in the specific dictionaries.
@brianjimenez
Thank you so much - and for the quick response! I will try this out.
Dear lightdock developers
First of all, thank you for developing lightdock and lightdock-rust.
I'm a little new to lightdock. I want to add modified nucleic acids to the amber DNA scoring function (dna.rs) for lightdock-rust, for example deoxy-5-methylcytosine (dmc) (parameters here http://amber.manchester.ac.uk/), but I am unsure of the steps needed to do this and afraid I will miss something essential.
Is it possible that you could list/walk me through the steps needed to add new bases/residues and make this work?
Best regards Kasper