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

Running SWORD on gzipped fasta #2

Open
alcooj opened this issue Jun 12, 2018 · 2 comments
Open

Running SWORD on gzipped fasta #2

alcooj opened this issue Jun 12, 2018 · 2 comments

Comments

@alcooj
Copy link

alcooj commented Jun 12, 2018

Good morning, Robert.

I was wondering if there is a way to run SWORD on input fasta database target files that are compressed (*.fa.gz). I've tried process substitution to read the fa.gz database file using zcat, and it returns "No alignments found." Otherwise, running SWORD on the decompressed database file works. Is there a way to avoid the need to decompress *.fa.gz target files?

Thanks.

@rvaser
Copy link
Owner

rvaser commented Jun 12, 2018

Hello,
SWORD parses the database several times so it can't read streams. I would have to refactor the code to enable compressed files but haven't got the time at the moment. Is it crucial for you to use compressed files?

Best regards,
Robert

@alcooj
Copy link
Author

alcooj commented Jun 12, 2018

Not really. It's more of a space-saving issue as some of the reference database files I work with are large. For now, I'll then just have to work with the decompressed databases.

I appreciate the quick reply and thanks again!

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

No branches or pull requests

2 participants