Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pdbfixer
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pdbfixer
Commits
19e9c1f4
Commit
19e9c1f4
authored
Mar 28, 2014
by
John Chodera (MSKCC)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some problematic PDB codes.
parent
d67c3843
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
tests/test_build.py
+12
-2
No files found.
tests/test_build.py
View file @
19e9c1f4
...
@@ -4,13 +4,23 @@ from pdbfixer.pdbfixer import *
...
@@ -4,13 +4,23 @@ from pdbfixer.pdbfixer import *
import
os
import
os
import
sys
import
sys
pdbcodes
=
[
'1PGB'
,
'1VII'
]
# These are tough PDB codes from http://www.umass.edu/microbio/chime/pe_beta/pe/protexpl/badpdbs.htm
pdbcodes
=
[
'1AS5'
,
'1CBN'
,
'1DPO'
,
'1IGY'
,
'1HAG'
,
'1IAO'
,
'4CPA'
,
'1QCQ'
]
# Set up PDB retrieval.
pdblist
=
PDBList
()
for
pdbcode
in
pdbcodes
:
for
pdbcode
in
pdbcodes
:
pdblist
=
PDBList
()
try
:
input_pdb_filename
=
pdblist
.
retrieve_pdb_file
(
pdbcode
,
pdir
=
'.'
)
input_pdb_filename
=
pdblist
.
retrieve_pdb_file
(
pdbcode
,
pdir
=
'.'
)
except
:
print
"Could not download PDB code '
%
s'"
%
pdbcode
continue
output_pdb_filename
=
'output.pdb'
output_pdb_filename
=
'output.pdb'
# PDB setup parameters.
# TODO: Try several combinations?
pH
=
7.0
pH
=
7.0
ionic
=
50.0
*
unit
.
millimolar
ionic
=
50.0
*
unit
.
millimolar
box
=
10.0
*
unit
.
angstrom
box
=
10.0
*
unit
.
angstrom
...
...
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