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
3c15d344
Commit
3c15d344
authored
Oct 24, 2016
by
Evelyne Deplazes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
06ea7b94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
README.md
README.md
+9
-9
No files found.
README.md
View file @
3c15d344
...
@@ -216,6 +216,15 @@ umbrella_integration.py
...
@@ -216,6 +216,15 @@ 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
run_data =
[]
for f in glob.glob("/Documents/PMFsimulations/pdo_
*
.dat"):
window_center = float(basename(f).split(“_”)
[
2
]
)
run_data.append( (f, window_center, fc) )
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)
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
col 2 = center of umbrella potential for each data set. taken from the
col 2 = center of umbrella potential for each data set. taken from the
...
@@ -230,12 +239,3 @@ The merged input file is written to
...
@@ -230,12 +239,3 @@ The merged input file is written to
If shift = true, the instantaneous positions (col 4) are shifted by
If shift = true, the instantaneous positions (col 4) are shifted by
the value in the variable window_center (col).
the value in the variable window_center (col).
fc = 500.0 # kJ mol-1 nm-2
run_data =
[]
for f in glob.glob("/Documents/PMFsimulations/pdo_
*
.dat"):
window_center = float(basename(f).split(“_”)
[
2
]
)
run_data.append( (f, window_center, fc) )
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
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