Spaces:
Sleeping
Sleeping
Commit
·
d7b94cf
1
Parent(s):
abd5674
Update code/add_3Dalignment.py
Browse files- code/add_3Dalignment.py +2 -0
code/add_3Dalignment.py
CHANGED
|
@@ -215,9 +215,11 @@ def get_coords(annot, alignments, coords, resnums_for_sasa, mode):
|
|
| 215 |
|
| 216 |
|
| 217 |
def get_alignments_3D(identifier, model_num, pdbSequence, source, chain, pdbID, mode,file_format = 'gzip'):
|
|
|
|
| 218 |
pdbSequence = convert_non_standard_amino_acids(pdbSequence)
|
| 219 |
if mode == 1:
|
| 220 |
if source != 'MODBASE':
|
|
|
|
| 221 |
# Step 1: Fetch the PDB file
|
| 222 |
pdb_url = f"https://files.rcsb.org/download/{pdbID}.pdb"
|
| 223 |
response = requests.get(pdb_url)
|
|
|
|
| 215 |
|
| 216 |
|
| 217 |
def get_alignments_3D(identifier, model_num, pdbSequence, source, chain, pdbID, mode,file_format = 'gzip'):
|
| 218 |
+
print('In Function')
|
| 219 |
pdbSequence = convert_non_standard_amino_acids(pdbSequence)
|
| 220 |
if mode == 1:
|
| 221 |
if source != 'MODBASE':
|
| 222 |
+
print('I am here')
|
| 223 |
# Step 1: Fetch the PDB file
|
| 224 |
pdb_url = f"https://files.rcsb.org/download/{pdbID}.pdb"
|
| 225 |
response = requests.get(pdb_url)
|