Spaces:
Sleeping
Sleeping
Commit
·
934958b
1
Parent(s):
9311c3a
Update code/alphafold_featureVector.py
Browse files
code/alphafold_featureVector.py
CHANGED
@@ -120,10 +120,13 @@ def alphafold(input_set, mode, impute):
|
|
120 |
print('Feature vectore generation terminated. Please enter a query or check your input format.')
|
121 |
else:
|
122 |
data = add_uniprot_sequence(data)
|
|
|
123 |
match = data[(data.wt_sequence_match == 'm')]
|
|
|
124 |
org_len = len(match)
|
125 |
iso = data[(data.wt_sequence_match == 'i')]
|
126 |
noMatch = data[(data.wt_sequence_match != 'm') & (data.wt_sequence_match != 'i')]
|
|
|
127 |
if len(noMatch) == len(data) :
|
128 |
print('>> Aminoacid at the position could not be mapped to canonical or isoform sequence. Please check the input amino acid.')
|
129 |
print('\n')
|
|
|
120 |
print('Feature vectore generation terminated. Please enter a query or check your input format.')
|
121 |
else:
|
122 |
data = add_uniprot_sequence(data)
|
123 |
+
st.write(data)
|
124 |
match = data[(data.wt_sequence_match == 'm')]
|
125 |
+
st.write(match)
|
126 |
org_len = len(match)
|
127 |
iso = data[(data.wt_sequence_match == 'i')]
|
128 |
noMatch = data[(data.wt_sequence_match != 'm') & (data.wt_sequence_match != 'i')]
|
129 |
+
st.write(noMatch)
|
130 |
if len(noMatch) == len(data) :
|
131 |
print('>> Aminoacid at the position could not be mapped to canonical or isoform sequence. Please check the input amino acid.')
|
132 |
print('\n')
|