Update nucleotide templates, add NAKB_templates.json #203
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes two changes:
Minor updates in nucleotide templates
residue_chem_templates.json
The phosphate capping groups (p), and the two molecular (ligand) forms of nucleotides are dropped. They aren't currently used for template matching.
Add
NAKB_templates.json
This is a ready to use additional chemical template file. It includes up to four variants of the 5',3'-linking fragments for individual standard and nonstandard nucleotides.
Currently the additional JSON file has 1778 templates for 453 residues
All nucleotides (824) from the NAKB modified nucleotide pool were considered. The Python script to make is here. A nonstandard nucleotide / a template is dropped if:
not mappable
by NAKBWithout further optimization it takes about 0.15 seconds per nucleotide to fetch the definition, process and write a template file (1-4 variants) on a Mac. It might be possible to integrate the process with prepare_receptor in future. But for the time being, I hope the additional chemical template file can help users who work with RNA/DNA systems where nonstandard nucleotides are present
08d7575 Added a few templates that went missing because of network issue