Parameter File

Parameter file #

Setup #

For the parameter file, we are accepting these formats:

  • .json.
  • .yml.
  • .toml.

You can configure four main categories:

  • miscellaneous: For global things.
  • interaction_configuration: Setup constants used to defini if two pharmacophore are in interaction.
  • visualisation: Setup how the visualization will looks (mostly colors).
  • vdw_radius: Setup atoms van der Waals atoms radius. This is used in order to determine if two atoms are connected.

Files syntax example #

The next example are not full. They are just here to give an idea on how to create the configuration file.

{
  "miscellaneous": {
    "enable_vdw_radius": true
  },
  "vdw_radius": {
    "H": 1.20
  },
  "interaction_configuration": {
    "min_dist": 0.5
  },
  "visualization": {
    "hydrophobe__color": "#FFFF00"
  }
}
miscellaneous:
  enable_vdw_radius: True
vdw_radius:
  H: 1.20
interaction_configuration:
  min_dist: 0.5
visualization:
  hydrophobe__color: "#FFFF00"
[miscellaneous]
enable_vdw_radius = true

[vdw_radius]
H = 1.20

[interaction_configuration]
min_dist = 0.5

[visualization]
hydrophobe__color = "#FFFF00"

Available configuration options #

Miscellaneous #

OptionTypeDefault valueExplaination
csv_separatorstr“,”Define what is the sepator that is going to be used in the produced .csv files
enable_vdw_radiusboolFamseEnable the usage of custom van der Waals radius for the atoms.
number_neighbourint3Define the maximum numbers of atoms to filter out intramolecular interaction. Meaning that if an interaction is detected between two atoms that are topologycally close up to three atoms, it is not going to be considered.

Interaction configuration #

OptionTypeDefault valueExplaination
min_distfloat0.5Minimum distance to considerated an interaction.
hydroph_dist_maxfloat4.0Maximum distance to considerated an hydrophobic interaction.
hbond_dist_maxfloat2.5Maximum distance to considerated an hydrogen bond.
hbond_don_angle_minfloat120.0Minimum angle to considerated an hydrogen bond. If we have an —O—H donor and a O— acceptor, the angle is —O—H O'—.
hbond_don_angle_maxfloat180.0Maximum angle to considerated an hydrogen bond. If we have an —O—H donor and a O— acceptor, the angle is —O—H O'—.
pistack_dist_maxfloat5.5Maximum distance to considerated a $\pi$ stacking interaction.
pistack_ang_devfloat30.0Maximum angle to considerated a $\pi$ stacking interaction. The angle is computed between the normal vectors of two aromatic cycle.
pistack_offset_maxfloat2.0Maximum offset to considerated a $\pi$ stacking interaction. It is actually the distance between a first aromatic cycle center, and a second aromatic cycle center projected on this first aromatic cycle plane through this second aromatic normal vector. In the case of a $\pi$ anion or cation, this is the charge that is projected on the aromatic cycle plane.
pication_dist_maxfloat6.0Maximum distance to considerated a $\pi$ cation interaction.
pianion_dist_maxfloat5.0Maximum distance to considerated a $\pi$ anion interaction.
saltbridge_dist_maxfloat5.5Maximum distance to considerated a salt bridge interaction.
halogen_dist_maxfloat4.0Maximum distance to considerated a halogen interaction.
halogen_acc_anglefloat120.0Optimal halogen acceptor angle. If we have —X—A for the halogen acceptor and H—Y— for the halogen donor, the angle is —X—A H—.
halogen_don_anglefloat165.0Optimal halogen donor angle. If we have —X—A for the halogen acceptor and H—Y— for the halogen donor, the angle is —A H—Y—.
halogen_angle_devfloat30.0Angle deviation to determine acceptation interval in the case of halogen angle .
water_bridge_dist_minfloat2.5Minimum distance to considerated a water bridge interaction.
water_bridge_dist_maxfloat4.1Maximum distance to considerated a water bridge interaction.
water_bridge_omega_minfloat71.0?
water_bridge_omega_maxfloat140.0?
water_bridge_theta_minfloat100.0?
metal_dist_maxfloat3.0Maximum distance to considerated a metal interaction.

Visualization #

OptionTypeDefault valueExplaination
donor__radiusfloat1 / 3Hydrogen bond donor pharmacophore sphere size.
donor__colorstring“#FDE725”Hydrogen bond donor pharmacophore sphere colour.
acceptor__radiusfloat1 / 3Hydrogen bond acceptor pharmacophore sphere size.
acceptor__colorstring“#ADDC30”Hydrogen bond acceptor pharmacophore sphere colour.
negative__radiusfloat1 / 3Negative pharmacophore sphere size.
negative__colorstring“#5EC962”Negative pharmacophore sphere colour.
positive__radiusfloat1 / 3Positive pharmacophore sphere size.
positive__colorstring“#28AE80”Positive pharmacophore sphere colour.
aromatic__radiusfloat1 / 3Aromatic pharmacophore sphere size.
aromatic__colorstring“#21918C”Aromatic pharmacophore sphere colour.
hydrophobe__radiusfloat1 / 3Hydrophobic pharmacophore sphere size.
hydrophobe__colorstring“#2C728E”Hydrophobic pharmacophore sphere colour.
lumped_hydrophobe__radiusfloat1 / 3Lumped hydrophobic pharmacophore sphere size.
lumped_hydrophobe__colorstring“#3B528B”Lumped hydrophobic pharmacophore sphere colour.
halogen_donor__radiusfloat1 / 3Halogen donor pharmacophore sphere size.
halogen_donor__colorstring“#472D7B”Halogen donor pharmacophore sphere colour.
halogen_acceptor__radiusfloat1 / 3Halogen acceptor pharmacophore sphere size.
halogen_acceptor__colorstring“#440154”Halogen acceptor pharmacophore sphere colour.
hydrophobic__radiusfloat1 / 30Hydrophobic interaction line radius / width.
hydrophobic__dash_lengthfloat1 / 30Hydrophobic interaction dash length.
hydrophobic__colorstring“#FDE725”Hydrophobic interaction line colour.
hydrogen_bond__radiusfloat1 / 30Hydrogen bond interaction line radius / width.
hydrogen_bond__dash_lengthfloat1 / 30Hydrogen bond interaction dash length.
hydrogen_bond__colorstring“#90D743”Hydrogen bond interaction line colour.
pi_stacking__radiusfloat1 / 30$\pi$ stacking interaction line radius / width.
pi_stacking__dash_lengthfloat1 / 30$\pi$ stacking interaction line dash length.
pi_stacking__colorstring“#35B779”$\pi$ stacking interaction line colour.
pi_cation__radiusfloat1 / 30$\pi$ cation interaction line radius / width.
pi_cation__dash_lengthfloat1 / 30$\pi$ cation interaction line dash length.
pi_cation__colorstring“#21918C”$\pi$ cation interaction line colour.
pi_anion__radiusfloat1 / 30$\pi$ anion interaction line radius / width.
pi_anion__dash_lengthfloat1 / 30$\pi$ anion interaction line dash length.
pi_anion__colorstring“#31688E”$\pi$ anion interaction line colour.
salt_bridge__radiusfloat1 / 30Salt bridge interaction line radius / width.
salt_bridge__dash_lengthfloat1 / 30Salt bridge interaction line dash length.
salt_bridge__colorstring“#443983”Salt bridge interaction line colour.
halogen_bond__radiusfloat1 / 30Halogen bond interaction line radius / width.
halogen_bond__dash_lengthfloat1 / 30Halogen bond interaction line dash length.
halogen_bond__colorstring“#440154”Halogen bond interaction line colour.

Van der Waals radius #

These options are only read when the option enable_vdw_radius in miscellaneous is set to True!

All these parameters are used to define a van der Waals radii. It is used by MDAnalysis to define if two atoms are topologycally connected.

OptionTypeDefault value
Hfloat or None1.20
Hefloat or None1.43
Lifloat or None2.12
Befloat or None1.98
Bfloat or None1.91
Cfloat or None1.77
Nfloat or None1.66
Ofloat or None1.50
Ffloat or None1.46
Nefloat or None1.58
Nafloat or None2.50
Mgfloat or None2.51
Alfloat or None2.25
Sifloat or None2.19
Pfloat or None1.90
Sfloat or None1.89
Clfloat or None1.82
Arfloat or None1.83
Kfloat or None2.73
Cafloat or None2.62
Scfloat or None2.58
Tifloat or None2.46
Vfloat or None2.42
Crfloat or None2.45
Mnfloat or None2.45
Fefloat or None2.44
Cofloat or None2.40
Nifloat or None2.40
Cufloat or None2.38
Znfloat or None2.39
Gafloat or None2.32
Gefloat or None2.29
Asfloat or None1.88
Sefloat or None1.82
Brfloat or None1.86
Krfloat or None2.25
Rbfloat or None3.21
Srfloat or None2.84
Yfloat or None2.75
Zrfloat or None2.52
Nbfloat or None2.56
Mofloat or None2.45
Tcfloat or None2.44
Rufloat or None2.46
Rhfloat or None2.44
Pdfloat or None2.15
Agfloat or None2.53
Cdfloat or None2.49
Infloat or None2.43
Snfloat or None2.42
Sbfloat or None2.47
Tefloat or None1.99
Ifloat or None2.04
Xefloat or None2.06
Csfloat or None3.48
Bafloat or None3.03
Lafloat or None2.98
Cefloat or None2.88
Prfloat or None2.92
Ndfloat or None2.95
Pmfloat or NoneNone
Smfloat or None2.90
Eufloat or None2.87
Gdfloat or None2.83
Tbfloat or None2.79
Dyfloat or None2.87
Hofloat or None2.81
Erfloat or None2.83
Tmfloat or None2.79
Ybfloat or None2.80
Lufloat or None2.74
Hffloat or None2.63
Tafloat or None2.53
Wfloat or None2.57
Refloat or None2.49
Osfloat or None2.48
Irfloat or None2.41
Ptfloat or None2.29
Aufloat or None2.32
Hgfloat or None2.45
Tlfloat or None2.47
Pbfloat or None2.60
Bifloat or None2.54
Pofloat or NoneNone
Atfloat or NoneNone
Rnfloat or NoneNone
Acfloat or None2.8
Thfloat or None2.93
Pafloat or None2.88
Ufloat or None2.71
Npfloat or None2.82
Pufloat or None2.81
Amfloat or None2.83
Cmfloat or None3.05
Bkfloat or None3.4
Cffloat or None3.05
Esfloat or None2.7
Fmfloat or NoneNone
Mdfloat or NoneNone
Nofloat or NoneNone
Lrfloat or NoneNone
Rffloat or NoneNone
Dbfloat or NoneNone
Sgfloat or NoneNone
Bhfloat or NoneNone
Hsfloat or NoneNone
Mtfloat or NoneNone
Dsfloat or NoneNone
Rgfloat or NoneNone
Cnfloat or NoneNone
Nhfloat or NoneNone
Flfloat or NoneNone
Mcfloat or NoneNone
Lvfloat or NoneNone
Tsfloat or NoneNone
Ogfloat or NoneNone