Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tbgl
tools
mrdna
Commits
2c518f1a
Commit
2c518f1a
authored
Sep 10, 2018
by
cmaffeo2
Browse files
Generalized stack selection in pdb reader
parent
63c45e3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
mrdna/readers/segmentmodel_from_pdb.py
View file @
2c518f1a
...
...
@@ -25,7 +25,7 @@ complement = dict(A='T', C='G', T='A', G='C')
refUnis
=
{
b
:
mda
.
Universe
(
get_resource_path
(
"generate-nts/1-w3dna/{}{}.pdb"
.
format
(
b
,
complement
[
b
])))
for
b
in
bases
}
stack_text
=
"not name O5' P O1P O2P OP1 OP2 O3' H*"
stack_text
=
"not name O5' P O1P O2P OP1 OP2 O3'
1H* 2H* 3H* 0H*
H*"
ref_name_ids_inv
=
dict
()
for
key
,
val
in
refUnis
.
items
():
ref_res
=
val
.
residues
[
0
]
...
...
Write
Preview
Supports
Markdown
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