Skip to content

Commit

Permalink
Update PTM_summarizer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmayaNK22 committed Dec 26, 2023
1 parent bbf3adc commit b49886a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PTM_summarizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def parse_psm_file(infile):
modifications[MOD + '_' + AA].append(split_i)
#mod_scores[pep + '@' + pro + '@' + mz + '@' + scan + '@' + AA + '@' + POS + '@' + MOD + '@' + SCORE] = [split_i]

elif ptmrs_score.strip() != 'Too many isoforms':
elif ptmrs_score.strip() != 'Too many isoforms' or ptmrs_score.strip() != 'Inconclusive data':
AA, POS, MOD, SCORE = parse_ptmRS_score(ptmrs_score.strip())
if float(SCORE) > 75.0:
new_mod_score[AA + POS + '(' + MOD + '): ' + SCORE] = ptmrs_score
Expand Down

0 comments on commit b49886a

Please sign in to comment.