To simulate cofactors one can use the manchester university database of parameter modifications. For example to simulate PDB 2FDV, one can extract the heteroatom pdb entries and use tleap -f leap.in with the following leap.in:
The file HEM.prep is used to understand the new residue (HEM) and atom types. See File formats. Unfortunately, this cannot be done from biobb_amber.leap.leap_gen_top. The only thing missing is to include "input_prep_path" as an input file completely analogous to "input_frcmod_path" but paired to the "loadamberprep" directive in leap.in instead of the "loadamberparams" one. See below:
In file _biobb_amber/leap/leap_gentop.py, after including the corresponding input file, line 159:
ligands_prep_list = []
if self.io_dict['in']['input_prep_path'] is not None:
if self.io_dict['in']['input_prep_path'].endswith('.zip'):
ligands_prep_list = fu.unzip_list(self.stage_io_dict['in']['input_prep_path'], dest_dir=self.tmp_folder, out_log=self.out_log)
else:
ligands_prep_list.append(self.stage_io_dict['in']['input_prep_path'])
Hi! It's me again :)
To simulate cofactors one can use the manchester university database of parameter modifications. For example to simulate PDB 2FDV, one can extract the heteroatom pdb entries and use
tleap -f leap.in
with the following leap.in:The file HEM.prep is used to understand the new residue (HEM) and atom types. See File formats. Unfortunately, this cannot be done from biobb_amber.leap.leap_gen_top. The only thing missing is to include "input_prep_path" as an input file completely analogous to "input_frcmod_path" but paired to the "loadamberprep" directive in leap.in instead of the "loadamberparams" one. See below:
In file _biobb_amber/leap/leap_gentop.py, after including the corresponding input file, line 159:
Then in line 203:
Version:
biobb_amber 4.2.0 (I believe this is not available in 5.0.0 either)