Skip to content

Commit

Permalink
Filter peptides with *
Browse files Browse the repository at this point in the history
  • Loading branch information
victorgiurcoiu committed May 17, 2024
1 parent c7e3cd6 commit 2b441a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectrum_io/spectral_library/digest.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def main(args):

def valid_prosit_peptide(peptide: str) -> bool:
"""Check if peptide is valid."""
return len(peptide) <= 30 and "U" not in peptide and "X" not in peptide
return len(peptide) <= 30 and "U" not in peptide and "X" not in peptide and "*" not in peptide


def parse_args(call):
Expand Down

0 comments on commit 2b441a8

Please sign in to comment.