Open ehhartmann opened 9 months ago
aminoacids.rtp
and lipid.rtp
in charrm36). I don't think we can get around parsing those, because we need the information specifically about improper dihedrals as those can't be inferred just from the atoms.How about we write a tool that tries to find the radicals and have a csv file or list of atom nrs as option in the config file?
How about:
Could we have a single residuetypes file that has includes instead of a list of residuetypes files?
kimmdy could, since we use the same parser for rtp as for top and itp files, but I don't know if gromacs handles those differently.
maybe gromacs just reads all the .rtp
files that it finds when pdb2gmx is used
Fixed in #360
refactor reintroduced error when handling non-amber molecules
Traceback (most recent call last):
File "/hits/fast/mbm/hartmaec/sw/conda/envs/kimmdy_full/bin/kimmdy", line 8, in <module>
sys.exit(entry_point_kimmdy())
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/cmd.py", line 347, in entry_point_kimmdy
_run(args)
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/cmd.py", line 290, in _run
raise e
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/cmd.py", line 281, in _run
runmgr.run()
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/runmanager.py", line 215, in run
next(self)
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/runmanager.py", line 313, in __next__
files = task()
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/tasks.py", line 152, in __call__
return self.f(**self.kwargs)
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/runmanager.py", line 619, in _apply_recipe
top_merge = merge_top_slow_growth(top_initial, deepcopy(self.top))
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/coordinates.py", line 498, in merge_top_slow_growth
molB = merge_top_moleculetypes_slow_growth(molA, molB, topB.ff, focus_nr)
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/coordinates.py", line 482, in merge_top_moleculetypes_slow_growth
molB.find_radicals()
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/topology/topology.py", line 249, in find_radicals
bo = ATOMTYPE_BONDORDER_FLAT[atom.type]
KeyError: 'c3'
will check whether
File "/hits/fast/mbm/hartmaec/kimmdys/kimmdy/src/kimmdy/coordinates.py", line 482, in merge_top_moleculetypes_slow_growth molB.find_radicals()
find_radicals() call is really necessary. Should test whether our list of radicals is always trustworthy and in sync with atom.is_radical
relates to #404
At least two areas in the code still need information from aberff99sb:
aminoacids.rtp
to use the residuetypes (e.g. for a partial charge lookup after a binding event)One can get around most (all?) issues by manually editing the topology and aminoacids.rtp file but it would be much more convenient to rewrite those parts.
Proposed solution for 1:
Proposed solution for 2:
Opinions/Ideas @KRiedmiller @jmbuhr ?