Skip to content

Clarification on XML input format for GaMD-OpenMM (gamdSimulation.py) #40

@ttpatel100

Description

@ttpatel100

Hello,

I am trying to run an RNA GaMD simulation using this repository, but I’m running into issues with the XML input. My current XML looks like this:

<System>
    <InputFiles>
        <PDB>PDB_FILENAME</PDB>
        <ForceField>amber14/protein.ff14SB.xml</ForceField>
        <ForceField>amber14/DNA.bsc1.xml</ForceField>
        <ForceField>amber14/RNA.OL3.xml</ForceField>
        <ForceField>amber14/tip3p_standard.xml</ForceField>
    </InputFiles>
    <NonbondedMethod>PME</NonbondedMethod>
    <NonbondedCutoff>1.0</NonbondedCutoff>
    <Constraints>HBonds</Constraints>
</System>

When I try to run the simulation with run_gamd_interactive.py, I get warnings like:

Warning: parameter in XML not found in config. Spelling error? InputFiles
Warning: parameter in XML not found in config. Spelling error? ForceField
...
Exception: No valid input files found. OpenMM simulation not made.

It looks like my XML structure is not being recognized by gamdSimulation.py (specifically the config.system object it expects).

My question:
What is the expected XML format for input (PDB/ForceField definitions, system parameters, etc.) so that gamdSimulation.py can parse it correctly?

I want to ensure my inputs are in the correct format without modifying the repo’s Python scripts. If there’s an example XML provided for RNA/DNA systems, I’d really appreciate being pointed to it.

Thank you for your time and for maintaining this project!

Best,
Tilak

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions