-
Notifications
You must be signed in to change notification settings - Fork 14
bugfix-ncycles-computed #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5d260c7
Merge pull request #6 from michellab/main
Roy-Haolin-Du 9e4d13d
Added nmoves as configurable and changed ncycles to property, added t…
Roy-Haolin-Du 2075209
Merge pull request #7 from Roy-Haolin-Du/bugfix-ncycles-computed
Roy-Haolin-Du 64f5777
Make nmoves/ncycles computed from runtime, timestep and max_nmoves
Roy-Haolin-Du 615c563
Update test fixture pickles with max_nmoves field
Roy-Haolin-Du bae217d
Merge pull request #8 from Roy-Haolin-Du/bugfix-ncycles-computed
Roy-Haolin-Du 70ea543
Add # fs comment to timestep examples in guides
Roy-Haolin-Du c5ed8e6
Merge pull request #9 from Roy-Haolin-Du/bugfix-ncycles-computed
Roy-Haolin-Du File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| __version__ = "0.4.1" | ||
| __version__ = "0.4.2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+597 Bytes
(100%)
a3fe/data/example_calc_set/mdm2_short/bound/restrain/Stage.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(100%)
a3fe/data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.000/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.000/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.000/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.000/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.000/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.000/run_05/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(100%)
a3fe/data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.125/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.125/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.125/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.125/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.125/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.125/run_05/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(100%)
a3fe/data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.250/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.250/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.250/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.250/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.250/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.250/run_05/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(100%)
a3fe/data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.375/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.375/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.375/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.375/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.375/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.375/run_05/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(100%)
a3fe/data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.500/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.500/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.500/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.500/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.500/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_0.500/run_05/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(100%)
a3fe/data/example_calc_set/mdm2_short/bound/restrain/output/lambda_1.000/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_1.000/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_1.000/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_1.000/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_1.000/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
...data/example_calc_set/mdm2_short/bound/restrain/output/lambda_1.000/run_05/Simulation.pkl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(110%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.000/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.000/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.000/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.000/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.000/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.000/run_05/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(110%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.125/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.125/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.125/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.125/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.125/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.125/run_05/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(110%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.250/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.250/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.250/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.250/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.250/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.250/run_05/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(110%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.375/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.375/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.375/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.375/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.375/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.375/run_05/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(110%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.500/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.500/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.500/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.500/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.500/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_0.500/run_05/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+342 Bytes
(110%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_1.000/LamWindow.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_1.000/run_01/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_1.000/run_02/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_1.000/run_03/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_1.000/run_04/Simulation.pkl
Binary file not shown.
Binary file modified
BIN
+44 Bytes
(100%)
a3fe/data/example_calc_set/t4l/bound/restrain/output/lambda_1.000/run_05/Simulation.pkl
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,7 @@ The most basic input that a3fe accepts is PDB files of the protein and crystallo | |
| file for the ligand. Pre-parameterised inputs in AMBER-format are also accepted. The table below details the combinations | ||
| of input files that can be supplied to a3fe, and the names that they must be given (files for both the free and bound leg must | ||
| be provided). The preparation stage will be detected by a3fe when you instantiate a Calculation, and only the required preparation | ||
| steps will be carried out for each leg. | ||
| steps will be carried out for each leg. | ||
|
|
||
| You can also find out which input files are required for a given preparation stage for a given leg programmatically, e.g: | ||
|
|
||
|
|
@@ -21,7 +21,7 @@ You can also find out which input files are required for a given preparation sta | |
| .. list-table:: Preparation stage types and required input files | ||
| :widths: 25 25 25 50 | ||
| :header-rows: 1 | ||
|
|
||
| * - PreparationStage | ||
| - LegType | ||
| - Required Input Files | ||
|
|
@@ -95,13 +95,13 @@ completely happy with the input files. | |
| * If the above fails, this is often due to residue/ atom names which do not match the templates. Read the errors to find out which residues / atoms are causing the issues, then check the expected names in library which was loaded after typing ``source leaprc.protein.ff14SB`` e.g. ``cat $AMBERHOME/dat/leap/lib/amino12.lib``. Rename the offending atoms/ residues and repeat the above step. | ||
| * Finally, rename ``protein_fully_sanitised.pdb`` to ``protein.pdb`` and run a3fe again. | ||
|
|
||
| Alternatively, if you have a parameterised protein (protein.rst7 and protein.prm7), and ligand.sdf (and optionally waters.prm7 and waters.rst7), you can use the | ||
| Alternatively, if you have a parameterised protein (protein.rst7 and protein.prm7), and ligand.sdf (and optionally waters.prm7 and waters.rst7), you can use the | ||
| notebook supplied in a3fe/a3fe/data/example_run_dir/parameterise_and_assemble_input.ipynb to parameterise the ligand and create the parameterised input files required by a3fe. | ||
|
|
||
| Running Standard Non-Adaptive Calculations | ||
| ******************************************* | ||
|
|
||
| Once you have the required files in `input` as described above, you can run a standard non-adaptive ABFE calculation. To run 5 replicates with 5 ns of sampling per window | ||
| Once you have the required files in `input` as described above, you can run a standard non-adaptive ABFE calculation. To run 5 replicates with 5 ns of sampling per window | ||
| (discarding 1 ns of this to equilibration): | ||
|
|
||
| .. code-block:: python | ||
|
|
@@ -123,7 +123,7 @@ Customising Calculations | |
| ************************* | ||
|
|
||
| Engine Configuration | ||
| ----------------- | ||
| -------------------- | ||
|
|
||
| The default simulation engine is SOMD. You can customize its configuration by using :class:`a3fe.configuration.engine_config.SomdConfig`. | ||
| For example, to change the timestep, create a ``SomdConfig`` object and pass it to ``Calculation``: | ||
|
|
@@ -132,17 +132,23 @@ For example, to change the timestep, create a ``SomdConfig`` object and pass it | |
|
|
||
| engine_config = a3.SomdConfig(timestep=2.0) # fs (femtoseconds), Create configuration with custom parameters | ||
| calc = a3.Calculation(engine_config=engine_config) # Pass to Calculation during creation | ||
|
|
||
| # Or modify parameters after creating the Calculation | ||
| calc = a3.Calculation() | ||
| # Works if the calculation has not been setup yet | ||
| calc.engine_config.timestep = 2.0 # fs | ||
| # Works if the calculation has already been setup | ||
| calc.update_engine_config_option(timestep=2.0) # fs | ||
| # Before setup(): modify the engine_config directly | ||
| calc.engine_config.timestep = 2.0 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Super minor comment, but probably keep the # fs comments here and below |
||
|
|
||
| # After setup(): use update_engine_config_option(option, value) | ||
| # to propagate the change to all sub-simulations | ||
| calc.update_engine_config_option("timestep", 2.0) | ||
|
|
||
| .. warning:: | ||
| After calling ``calc.setup()``, do not modify engine_config directly. | ||
| Use ``calc.update_engine_config_option()`` instead. | ||
| After calling ``calc.setup()``, always use ``calc.update_engine_config_option("option", value)`` | ||
| rather than modifying ``engine_config`` directly. | ||
|
|
||
| .. note:: | ||
| ``nmoves`` and ``ncycles`` are computed properties derived from ``runtime``, ``timestep``, and | ||
| ``max_nmoves``; they cannot be set directly. | ||
|
|
||
| To see a complete list of available configuration options, run ``somd-freenrg --help-config`` | ||
| or inspect the :class:`a3.SomdConfig` API reference. | ||
|
|
@@ -180,7 +186,7 @@ also set other options: | |
|
|
||
| .. note:: | ||
|
|
||
| The molecular dynamics simulations should be run on GPUs - they are unbearably slow on CPU. However, you may want to run the MBAR analysis on CPUs to minimise submissions to the CPU queue. | ||
| The molecular dynamics simulations should be run on GPUs - they are unbearably slow on CPU. However, you may want to run the MBAR analysis on CPUs to minimise submissions to the CPU queue. | ||
| To do this, you can supply an ``analysis_slurm_config`` which is different to the ``slurm_config``, which will only be used for the MBAR analysis. | ||
|
|
||
| .. code-block:: python | ||
|
|
@@ -226,7 +232,7 @@ simulation time allocation, and equilibration detection algorithms. | |
| # of 2 kcal mol-1 | ||
| calc.get_optimal_lam_vals(delta_er = 2) | ||
| # Run adaptively with a runtime constant of 0.0005 kcal**2 mol-2 ns**-1 | ||
| # Note that automatic equilibration detection with the paired t-test | ||
| # Note that automatic equilibration detection with the paired t-test | ||
| # method will also be carried out. | ||
| calc.run(adaptive=True, runtime_constant = 0.0005) | ||
| calc.wait() | ||
|
|
@@ -244,7 +250,7 @@ simulation time allocation, and equilibration detection algorithms. | |
|
|
||
| During the adaptive allocation of simulation time, the allocated runtime is computed taking into account the relative simulation cost. To obtain | ||
| comparable total simulation times to those described in the manuscript, you should set the reference simulation time to the cost (hr / ns) of the bound leg of the | ||
| MIF/ MIF180 complex ([input files here](https://github.com/michellab/Automated-ABFE-Paper/tree/main/simulations/initial_systems/mif/input)). The cost can be obtained | ||
| MIF/ MIF180 complex ([input files here](https://github.com/michellab/Automated-ABFE-Paper/tree/main/simulations/initial_systems/mif/input)). The cost can be obtained | ||
| by running a short simulation for the leg and checking the cost with e.g. ``ref_cost = calc.legs[0].tot_gpu_time / calc.legs[0].tot_simtime``. This should then be passed when | ||
| optimising the lambda schedule with e.g. ``calc.get_optimal_lam_vals(delta_er = 2, reference_sim_cost = ref_cost)``. | ||
|
|
||
|
|
@@ -255,7 +261,7 @@ Analysis can be performed with: | |
|
|
||
| .. code-block:: python | ||
|
|
||
| # Calculate the free energy changes using MBAR and | ||
| # Calculate the free energy changes using MBAR and | ||
| # generate a variety of plots to aid analysis. | ||
| # Run through SLURM as MBAR can be computationally intensive. | ||
| # Avoid costly RMSD analysis. | ||
|
|
@@ -272,7 +278,7 @@ Analysis can be performed with: | |
| ``calc.analyse()`` generates a variety of outputs in the ``output`` directories of the calculation, leg, and stage directories. The most detailed | ||
| information is given in the stage output directories. You can get a detailed breakdown of the results as a pandas dataframe by running ``calc.get_results_df()``. | ||
|
|
||
| Convergence analysis involves repeatedly calculating the free energy changes with different subsets of the | ||
| Convergence analysis involves repeatedly calculating the free energy changes with different subsets of the | ||
| data, and is computationally intensive. Hence, it is implemented in a different function. To run convergence | ||
| analysis, enter ``calc.analyse_convergence()``. Plots of the free energy change against total simulation time | ||
| will be created in each output directory. | ||
|
|
@@ -325,4 +331,3 @@ Since A3FE 0.2.0, ABFE calculations with charged ligands are supported using a c | |
| calc = a3.Calculation(engine_config=engine_config) # Pass to Calculation | ||
|
|
||
| The default ``SomdConfig`` uses reaction field instead of PME. This is faster (around twice as fast for some of our systems) and has been shown to give equivalent results for neutral ligands in RBFE calculations - see https://pubs.acs.org/doi/full/10.1021/acs.jcim.0c01424. | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this was done before for timestep and runtime, but I think it might be better to validate all of this stuff in a validator, rather than in the property. Then, an error will be raised on instantiation/ assignment (we've set it to validate on assignment) rather than later when the user tries to call the property. The property can then just compute
ncycles.