franciscoadasme / chem.cr

Library for dealing with computational chemistry files
https://franciscoadasme.github.io/chem.cr/
MIT License
23 stars 1 forks source link

Fetch template from PDB/CCD #218

Open franciscoadasme opened 4 months ago

franciscoadasme commented 4 months ago

Add the ability to fetch and build a residue template from the PDB and/or Chemical Component Dictionary. This will be useful to register known residue without manually defining it.

Chem::PDB.fetch_template(name) # => Chem::Templates::Residue
# or
Chem::Templates.fetch(name) # => Chem::Templates::Residue
franciscoadasme commented 4 months ago

220 could alleviate reaching the network if the residue template has been fetched and registered on a previous run.