Skip to content

Commit

Permalink
Update setup_options.py
Browse files Browse the repository at this point in the history
Added function for amber bash script default options
  • Loading branch information
talagayev authored Aug 9, 2024
1 parent fb383eb commit 8072838
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion openmmdl/openmmdl_setup/setup_options.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


class SimulationOptionsConfigurator:
class SetupOptionsConfigurator:
def __init__(self, session):
self.session = session

Expand Down Expand Up @@ -66,3 +66,35 @@ def configure_default_options(self):
self.session["constraints"] = "hbonds"
self.session["rmsd"] = "True"
self.session["md_postprocessing"] = "True"

def configureDefaultAmberOptions(self):
"""Select default options based on the file format and force field."""
# Ligand
self.session["nmLig"] = ""
self.session["spLig"] = ""
self.session["lig_ff"] = "gaff2"
self.session["charge_value"] = "0"
self.session["charge_method"] = "bcc"

# Receptor
self.session["prot_ff"] = "ff19SB"
self.session["dna_ff"] = "OL15"
self.session["rna_ff"] = "OL3"
self.session["carbo_ff"] = "GLYCAM_06j"

# AddWaterMembrane
self.session["addType"] = "addWater"
self.session["boxType"] = "cube"
self.session["dist"] = "10"

self.session["lipid_tp"] = "POPC"
self.session["other_lipid_tp_input"] = "POPC:TOPC"
self.session["lipid_ratio"] = "1:1"
self.session["lipid_ff"] = "lipid21"
self.session["dist2Border"] = "15"
self.session["padDist"] = "17"

self.session["water_ff"] = "opc"
self.session["pos_ion"] = "Na+"
self.session["neg_ion"] = "Cl-"
self.session["ionConc"] = "0.15"

0 comments on commit 8072838

Please sign in to comment.