Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annotate_peptides function does not show error for mismatching identifiers #2

Open
MiguelCos opened this issue Mar 30, 2022 · 1 comment

Comments

@MiguelCos
Copy link
Owner

The for loop in the function will stop if it doesn't find a match between protein identifiers and the fasta file.

It doesn't show an error if this is the case. This should be corrected.

@MiguelCos
Copy link
Owner Author

The error was due to the format of the list containing the fasta.

Just test in annotate_peptides if the protein sequence is not a list (it should be string) and throw an error message ("Use as.string = TRUE in read.fasta()......")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant