Note: currently, genxff can only be run on a Linux x86 machine!
An example config file example.config:
xinput molligand.sdf #required, input mol file, supported format [mol, sdf, mol2] chargechar_file.chg #optional, partial charge file mol_namelig #optional, ligand name in the output file
output amberamber_out_name #output: amber_out_name.mol2, amber_out_name.frcmod, amber_out_name_leaprc.dat charmmcharmm_out_name #output: charmm_out_name.pdb, charmm_out_name.prm, charmm_out_name.rtf gromacsgromacs_out_name #output: gromacs_out_name.pdb, gromacs_out_name.top
config revise_charge_precisionTrue use_antechamber_for_chargeFalse
amber/mnt/workflow/amber20 #amber homexxxxxxxxxxgenxff --config example.configHere is a complete version of the config template. You can also obtain it by running
xxxxxxxxxxgenxff --dump_config template.configinput:
mol: path to the input ligand file (currently only support mol, sdf, and mol2 format.)
charge: path to the partial charge file
Currently, we support three types of partial charge file
1. Mol2 format with partial charges in it. For example, a mol2 file obtained with antechamber using "-c bcc" option.
2. A single column charge file (.chg).
E.g.
xxxxxxxxxx-0.010.02-0.03...3. A double column charge file (.chg). The first column is the atom index starting from 1 and the second column is the partial charges.
E.g.
xxxxxxxxxx1 -0.012 0.023 -0.03...mol_name: residue name in the output file
output: (can choose all of them or any of the format combinations)
amber/charmm/gromacs: output file name for amber/charmm/gromacs format. Output files for the designated format will be generated in the current working directory.
config:
revise_charge_precision: whether to adjust atomic partial charges so that their sum matches exactly the net charge of the molecule. Usually True.
use_antechamber_for_charge: whether to use antechamber to calculate AM1BCC charges, usually False if a charge file is provided.
amber: path to amberhome if you want to use antechamber.