Skip to content

Commit

Permalink
pep seq '?' symbol bug hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
abyssum committed Mar 19, 2021
1 parent 2887aa6 commit 45697ec
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Docker/source/cleave_peptides.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,11 @@ def window_onslaught(
) # Cut the part of gene 1 that doesn't span the junction
seq3 = seq[splitat:].replace("|", "")
peps = rolling_window(seq3, winSize)
if "?" in pep:
pass
else:
peptides.append(pep)
for pep in peps:
if "?" in pep:
pass
else:
peptides.append(pep)
if not peptides:
pass
else:
Expand Down

0 comments on commit 45697ec

Please sign in to comment.