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

Fix modeling/scoring to handle single-sequence input files #13

Open
christinehc opened this issue Sep 9, 2021 · 1 comment
Open

Fix modeling/scoring to handle single-sequence input files #13

christinehc opened this issue Sep 9, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@christinehc
Copy link
Collaborator

rules.build_model currently assumes multiple sequences per FASTA file, where each FASTA file contains sequences all belonging to the family specified in the filename.

Assessment of model performance is currently conducted via K-fold cross validation, which requires at least 2 samples per class. Thus, single-sequence files will throw a ValueError.

Secondary structure output files will only contain a single sequence, so a rewrite of this rule is required for Snekmer to run on SS output files correctly.

@christinehc christinehc added the bug Something isn't working label Sep 9, 2021
@christinehc christinehc self-assigned this Sep 9, 2021
@christinehc
Copy link
Collaborator Author

Bug discovered by @DarrenJSchmidt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant