Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GromacsOnEUREKA
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Winokan, Max S Dr (PG/R - Maths & Physics)
GromacsOnEUREKA
Commits
90af112e
Commit
90af112e
authored
4 years ago
by
Winokan, Max S Dr (PG/R - Maths & Physics)
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://gitlab.eps.surrey.ac.uk/mw00368/GromacsOnEUREKA
parents
8fca305c
9b2a39aa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
amp_stats.py
+15
-0
15 additions, 0 deletions
amp_stats.py
gmx_funcs.sh
+1
-0
1 addition, 0 deletions
gmx_funcs.sh
with
16 additions
and
0 deletions
amp_stats.py
+
15
−
0
View file @
90af112e
...
...
@@ -260,6 +260,21 @@ if args.dna_hydrogen_bonds is not None:
mout
.
headerOut
(
"
Found
"
+
mcol
.
result
+
str
(
len
(
dg_chainlist
))
+
mcol
.
arg
+
"
DG Residues
"
)
mout
.
headerOut
(
"
Found
"
+
mcol
.
result
+
str
(
len
(
dc_chainlist
))
+
mcol
.
arg
+
"
DC Residues
"
)
no_AT_pairs
=
False
no_GC_pairs
=
False
# Do some checks:
if
len
(
da_chainlist
)
+
len
(
dt_chainlist
)
+
len
(
dg_chainlist
)
+
len
(
dc_chainlist
)
<
2
:
mout
.
errorOut
(
"
Less than two bases
"
,
fatal
=
True
)
if
len
(
da_chainlist
)
==
0
^
len
(
dt_chainlist
)
==
0
:
mout
.
warningOut
(
"
Not enough bases for AT pairs
"
)
no_AT_pairs
=
True
if
len
(
dg_chainlist
)
==
0
^
len
(
dc_chainlist
)
==
0
:
mout
.
warningOut
(
"
Not enough bases for GC pairs
"
)
no_GC_pairs
=
True
if
no_AT_pairs
and
no_GC_pairs
:
mout
.
errorOut
(
"
No matching base pairs
"
,
fatal
=
True
)
# read in the first image of the pdb
mout
.
out
(
"
Reading timestep into Atoms object...
"
)
atoms
=
amp
.
read
(
infile
,
index
=
"
0
"
,
printScript
=
False
,
verbosity
=
0
)
...
...
This diff is collapsed.
Click to expand it.
gmx_funcs.sh
+
1
−
0
View file @
90af112e
...
...
@@ -27,6 +27,7 @@ function finishUp {
mkdir
${
SLURM_SUBMIT_DIR
}
/
${
SLURM_JOBID
}
_
${
SLURM_JOB_NAME
}
cp
-r
*
${
SLURM_SUBMIT_DIR
}
/
${
SLURM_JOBID
}
_
${
SLURM_JOB_NAME
}
/
mv
${
SLURM_SUBMIT_DIR
}
/
${
SLURM_JOBID
}
_
${
SLURM_JOB_NAME
}
.?
${
SLURM_SUBMIT_DIR
}
/
${
SLURM_JOBID
}
_
${
SLURM_JOB_NAME
}
/
rm
-rf
"/users/mw00368/parallel_scratch/"
${
SLURM_JOBID
}
_
${
SLURM_JOB_NAME
}
/
exit
$1
fi
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment