Skip to content
Snippets Groups Projects
Commit 341fabed authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

fix

parent a121e1c6
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ def run(argv=sys.argv[1:]):
peptides = pandas.read_csv(args.input_peptides).peptide.drop_duplicates()
print("Filtering to valid peptides. Starting at: ", len(peptides))
peptides = peptides[peptides.str.match("[ACDEFGHIKLMNPQRSTVWY]+")]
peptides = peptides[peptides.str.match("^[ACDEFGHIKLMNPQRSTVWY]+$")]
print("Filtered to: ", len(peptides))
peptides = peptides.unique()
num_peptides = len(peptides)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment