Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
Umbrella-Integration
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Evelyne Deplazes
Umbrella-Integration
Commits
57a87855
Commit
57a87855
authored
Oct 24, 2016
by
Evelyne Deplazes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
b98b4485
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
README.md
README.md
+9
-4
No files found.
README.md
View file @
57a87855
...
@@ -125,6 +125,7 @@ https://www.scipy.org/getting-started.html
...
@@ -125,6 +125,7 @@ https://www.scipy.org/getting-started.html
--------------------
--------------------
Running the program
Running the program
--------------------
--------------------
```
python umbrella_integration.py -i infile -o outfile -b binwidth
python umbrella_integration.py -i infile -o outfile -b binwidth
-w writeDerivatives -c convergenceCheck -p plotPmf
-w writeDerivatives -c convergenceCheck -p plotPmf
...
@@ -168,12 +169,13 @@ python umbrella_integration.py -i infile -o outfile -b binwidth
...
@@ -168,12 +169,13 @@ python umbrella_integration.py -i infile -o outfile -b binwidth
Output directory for window convergence analysis plots
Output directory for window convergence analysis plots
-o output_pmf_file
-o output_pmf_file
Name of output file that contains the final PMF.
Name of output file that contains the final PMF.
Format, col 1 = reaction coordinate, col 2 = energy.
Format, col 1 = reaction coordinate, col 2 = energy.
if error analysis is included, col 3 = uncertainty
if error analysis is included, col 3 = uncertainty
if option -o is not given, default name pmf.dat is used.
if option -o is not given, default name pmf.dat is used.
-w derivatives_file
-w derivatives_file
derivative vs time data is written for each bin position, files are
derivative vs time data is written for each bin position, files are
written to a folder called derivatives.
written to a folder called derivatives.
```
----------------------
----------------------
...
@@ -216,6 +218,8 @@ umbrella_integration.py
...
@@ -216,6 +218,8 @@ umbrella_integration.py
For example, the code below creates an input file using all files of
For example, the code below creates an input file using all files of
format pdo_
*
.dat in the folder /Documents/PMFsimulations/.
format pdo_
*
.dat in the folder /Documents/PMFsimulations/.
```
fc = 500.0 # kJ mol-1 nm-2
fc = 500.0 # kJ mol-1 nm-2
run_data = []
run_data = []
for f in glob.glob("/Documents/PMFsimulations/pdo_*.dat"):
for f in glob.glob("/Documents/PMFsimulations/pdo_*.dat"):
...
@@ -223,6 +227,7 @@ for f in glob.glob("/Documents/PMFsimulations/pdo_*.dat"):
...
@@ -223,6 +227,7 @@ for f in glob.glob("/Documents/PMFsimulations/pdo_*.dat"):
run_data.append( (f, window_center, fc) )
run_data.append( (f, window_center, fc) )
ui_input_lines = generate_ui_input_lines_merged(run_data, shift=False)
ui_input_lines = generate_ui_input_lines_merged(run_data, shift=False)
write_output_file("/Documents/PMFsimulations/pdo_merged_ui_input.dat", ui_input_lines)
write_output_file("/Documents/PMFsimulations/pdo_merged_ui_input.dat", ui_input_lines)
```
To generate the ‘merged’ input file the following data is written:
To generate the ‘merged’ input file the following data is written:
col 1 = the force constant, eg. 500 kJ mol-1 nm-2
col 1 = the force constant, eg. 500 kJ mol-1 nm-2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment