Spaces:
Running
Running
Commit
·
95f4c86
1
Parent(s):
3d0b4c3
Update code/alphafold_featureVector.py
Browse files
code/alphafold_featureVector.py
CHANGED
@@ -43,7 +43,7 @@ def getModelInfo(uniprotID, varPos, wt, models_we_need, path_to_output_files ):
|
|
43 |
sasa_val = freesasa(pdb_path, path_to_output_files, uniprotID, mod, varPos, wt)
|
44 |
newCol = {}
|
45 |
coordDict = {}
|
46 |
-
with gzip.open(
|
47 |
for line in f:
|
48 |
line = line.decode()
|
49 |
if line[0:4].strip() == 'ATOM' and line[13:15].strip() == 'CA':
|
|
|
43 |
sasa_val = freesasa(pdb_path, path_to_output_files, uniprotID, mod, varPos, wt)
|
44 |
newCol = {}
|
45 |
coordDict = {}
|
46 |
+
with gzip.open(pdb_path, mode='rb') as f:
|
47 |
for line in f:
|
48 |
line = line.decode()
|
49 |
if line[0:4].strip() == 'ATOM' and line[13:15].strip() == 'CA':
|