nhenriksen / speakeasy

Automates the conversion of SMIRNOFF parameters to AMBER force field files
MIT License
3 stars 2 forks source link

Possible use cases #2

Open nhenriksen opened 6 years ago

nhenriksen commented 6 years ago

Tentative strategy for dealing with possible use case scenarios.

Preamble: I think OpenFF parameterization should always occur on whole molecules, not residue fragments.

1) Input: 1 molecule made up of 1 residue.

2) Input: 1 molecule with 2 or more different residues.

3) Input: 1 molecule with at least 2 repeating residues

4) Input: a batch of molecules, some single, maybe some multi residue

nhenriksen commented 6 years ago

Info for console scripts if we want this to also be a shell command line tool: http://python-packaging.readthedocs.io/en/latest/command-line-scripts.html

slochower commented 6 years ago

Yup, I've seen this done before. I don't think it will be too complicated. See here in setup.py: https://github.com/greenelab/manubot/blob/27456594c407f3fed35804db4bcf3b5bba88a716/setup.py#L74-L79 which calls a main() function: https://github.com/greenelab/manubot/blob/27456594c407f3fed35804db4bcf3b5bba88a716/manubot/manubot.py#L388