Spaces:
Running
Running
Commit
·
11ae51f
1
Parent(s):
add08b1
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -263,7 +263,7 @@ def pdb(input_set, mode, impute):
|
|
263 |
for model in structure:
|
264 |
for pp in ppb.build_peptides(model):
|
265 |
sequence = pp.get_sequence()
|
266 |
-
|
267 |
for chain, up in zip(model,pdb_data_list_uniprot ):
|
268 |
chain_id = chain.get_id()
|
269 |
# Extract UniProt ID if available in the chain's annotations
|
@@ -282,7 +282,7 @@ def pdb(input_set, mode, impute):
|
|
282 |
st.write(f"Sequence: {sequence}")
|
283 |
pdb_fasta.at[index, 'pdbID'] = search
|
284 |
pdb_fasta.at[index, 'chain'] = chain_id
|
285 |
-
pdb_fasta.at[index, 'pdbSequence'] = str(
|
286 |
pdb_info.at[index, 'uniprotID'] = ', '.join(up)
|
287 |
pdb_info.at[index, 'pdbID'] = search
|
288 |
pdb_info.at[index, 'chain'] = chain_id
|
|
|
263 |
for model in structure:
|
264 |
for pp in ppb.build_peptides(model):
|
265 |
sequence = pp.get_sequence()
|
266 |
+
|
267 |
for chain, up in zip(model,pdb_data_list_uniprot ):
|
268 |
chain_id = chain.get_id()
|
269 |
# Extract UniProt ID if available in the chain's annotations
|
|
|
282 |
st.write(f"Sequence: {sequence}")
|
283 |
pdb_fasta.at[index, 'pdbID'] = search
|
284 |
pdb_fasta.at[index, 'chain'] = chain_id
|
285 |
+
pdb_fasta.at[index, 'pdbSequence'] = str(seqs[chain_id])
|
286 |
pdb_info.at[index, 'uniprotID'] = ', '.join(up)
|
287 |
pdb_info.at[index, 'pdbID'] = search
|
288 |
pdb_info.at[index, 'chain'] = chain_id
|