1
+ .. _Loading Molecules :
2
+
1
3
Loading your data into ChemicalSystems
2
4
======================================
3
5
@@ -52,14 +54,21 @@ As these types of structures are typically stored inside sdf files, there is a `
52
54
smc = openfe.SmallMoleculeComponent.from_sdf_file('file.sdf')
53
55
54
56
57
+ .. note ::
58
+ The ``from_sdf_file `` method will only read the first molecule in a multi-molecule MolFile.
59
+ To load multiple molcules, use RDKit's ``Chem.SDMolSupplier `` to iterate over the contents,
60
+ and create a ``SmallMoleculeComponent `` from each.
61
+
62
+
55
63
Loading proteins
56
64
----------------
57
65
58
66
Proteins are handled using an :class: `openfe.ProteinComponent `.
59
67
Like ``SmallMoleculeComponent ``, these are based upon RDKit Molecules,
60
68
however these are expected to have the `MonomerInfo ` struct present on all atoms.
61
69
This struct contains the residue and chain information and is essential to apply many popular force fields.
62
- A "protein" here is considered as the fully modelled entire biological assembly, i.e. all chains and structural waters.
70
+ A "protein" here is considered as the fully modelled entire biological assembly,
71
+ i.e. all chains and structural waters and ions etc.
63
72
64
73
To load a protein, use the :func: `openfe.ProteinComponent.from_pdb_file ` or :func: `openfe.ProteinComponent.from_pdbx_file ` classmethod
65
74
@@ -78,8 +87,9 @@ Unlike the previously detailed Components, this does not have any explicit molec
78
87
but instead represents the way that the overall system will be solvated.
79
88
This information is then interpreted inside the ``Protocol `` when solvating the system.
80
89
81
- By default, this solvent is water. The positive and negative ion can be defined, as well as the ion concentration
82
- which must be specified along with the unit.
90
+ By default, this solvent is water with 0.15 M NaCl salt.
91
+ All parameters; the positive and negative ion as well as the ion concentration (which must be specified along with the unit)
92
+ can be freely defined.
83
93
84
94
.. code ::
85
95
0 commit comments