Spaces:
Sleeping
Sleeping
Commit
·
3fc8ecf
1
Parent(s):
fc0ba60
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -240,7 +240,6 @@ def pdb(input_set, mode, impute):
|
|
240 |
st.write('response2', response)
|
241 |
# Step 2: Parse the PDB file from memory
|
242 |
pdb_data = response.text
|
243 |
-
st.write('pdb_data', pdb_data)
|
244 |
pdb_parser = PDBParser(QUIET=True) # QUIET=True suppresses warnings
|
245 |
pdb_file_content = StringIO(pdb_data)
|
246 |
structure = pdb_parser.get_structure(pdb_code, pdb_file_content)
|
@@ -249,6 +248,7 @@ def pdb(input_set, mode, impute):
|
|
249 |
st.write(model)
|
250 |
for pp in ppb.build_peptides(model):
|
251 |
sequence = pp.get_sequence()
|
|
|
252 |
for chain in model:
|
253 |
chain_id = chain.get_id()
|
254 |
# Extract UniProt ID if available in the chain's annotations
|
|
|
240 |
st.write('response2', response)
|
241 |
# Step 2: Parse the PDB file from memory
|
242 |
pdb_data = response.text
|
|
|
243 |
pdb_parser = PDBParser(QUIET=True) # QUIET=True suppresses warnings
|
244 |
pdb_file_content = StringIO(pdb_data)
|
245 |
structure = pdb_parser.get_structure(pdb_code, pdb_file_content)
|
|
|
248 |
st.write(model)
|
249 |
for pp in ppb.build_peptides(model):
|
250 |
sequence = pp.get_sequence()
|
251 |
+
st.write(sequence)
|
252 |
for chain in model:
|
253 |
chain_id = chain.get_id()
|
254 |
# Extract UniProt ID if available in the chain's annotations
|