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

CLI: Better error when loading plain fasta #501

Open
dariober opened this issue Dec 18, 2024 · 0 comments
Open

CLI: Better error when loading plain fasta #501

dariober opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dariober
Copy link
Contributor

Describe the bug

Loading plain fasta files from the CLI is possible with -e flag, but error message doesn't say it.

To Reproduce Steps to reproduce the behavior:

cd packages/apollo-cli
yarn dev assembly add-from-fasta test_data/tiny.fasta -a vv1 
Error: Only bgzip'd and indexed fasta files are supported at the moment. "test_data/tiny.fasta.gzi" is neither a file or a file id

Expected behavior

Error message should include something like:

Use -e/--editable to load an uncompressed fasta file

Version information:

Commit 27ab9cc

yarn dev --version
@apollo-annotation/cli/0.3.0 linux-x64 node-v20.13.0
@dariober dariober added the bug Something isn't working label Dec 18, 2024
@dariober dariober self-assigned this Dec 18, 2024
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