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

[Question] Does --stdout stream the entire download process? #39

Open
jolespin opened this issue Jul 22, 2024 · 1 comment
Open

[Question] Does --stdout stream the entire download process? #39

jolespin opened this issue Jul 22, 2024 · 1 comment

Comments

@jolespin
Copy link
Contributor

I'd like to use Kingfisher to download some large files but I get charged for I/O. Was wondering if using --stdout does the following operation:

  • Download SRA
  • Pipe SRA to Fastq converter (Interleaved)
  • Simultaneously write gzipped paired fastq files (e.g., bbsuite's reformat.sh in=stdin.fastq out1=sample_1.fastq.gz out2=sample_2.fastq.gz)

Or if it just write the final output to stdout.

@wwood
Copy link
Owner

wwood commented Jul 22, 2024

Hi @jolespin ,

Good question. The way it works is to download the .sra file to disk, and then stream from there. Your pipeline sounds concept reasonable.

So in effect, you are right. The main use-case for this is to source them in the cloud where they are locally stored as .sra format.

One possibility (not implemented atm) is to stream the reads from an ENA download. These would already be split since ENA keeps them this way (as fastq.gz). I probably won't get around to implementing this but would certainly be happy to review a PR.

ben

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

2 participants