Open
Description
Is your feature request related to a problem? Please describe.
I was trying to prepare a system with a protein and 2 ligands (given as SDF files).
However, both ligands were named "MOL" and both ligands have an index "1" in the output coordinate and topology files.
Describe the solution you'd like
Would it be possible to rename the residue-name of the single ligands and update the residue index?
Describe alternatives you've considered
Not sure if there are alternatives.
Additional context
This is some toy code similar to the one I used:
import BioSimSpace
lig1_coord = BioSimSpace.IO.readMolecules("lig1.sdf")[0]
lig1 = BioSimSpace.Parameters.parameterise(lig1_coord, "gaff2", work_dir=work_dir).getMolecule()
lig2_coord = BioSimSpace.IO.readMolecules("lig2.sdf")[0]
lig2 = BioSimSpace.Parameters.parameterise(lig2_coord, "gaff2", work_dir=work_dir).getMolecule()
ligands = lig1 + lig2
BioSimSpace.IO.saveMolecules("ligands_multi", ligands, "grotop")
BioSimSpace.IO.saveMolecules("ligands_multi", ligands, "gro87")
Metadata
Metadata
Assignees
Labels
No labels