-
Notifications
You must be signed in to change notification settings - Fork 3
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
Parallelization? #4
Comments
Hi Olga, I am working on a bionode streaming workflow engine for a GSoC project. Feel free to follow the gitter chat room for the project and propose problems, questions, features there! I have finished investigated existing tools (bash, make, snakemake, nextflow, ...) and have begun the implementation - you can see my ngs workflows post. It concludes with a proposed API surface. As far as I know, you cannot natively parallelize with just those two modules. @bmpvieira will know more. However, parallelization will be an integral part of the engine - with regards to running two tasks simultaneously if they do not depend on each other to finish (two streaming tasks can of course run at the same time), and providing config options to then pass on number of threads to tools. |
In the meantime, Nextflow might work for you: #!/usr/bin/env nextflow
SAMPLES = 'SRP061902'
process downloadSamples {
input: val samples from SAMPLES
output: file '**/*.sra' into reads
"""
bionode-ncbi download sra $samples
"""
}
process dump {
input: file sample from samples
"""
fastq-dump --split-files $sample
"""
} Though this will not stream the downloads into fastq-dump. I tried to use stdin/stdout across processes with Nextflow but it was too much for the JVM. I am not sure if that will give |
Would it be possible to do a parallelized
sra
andfastq-dump
on multiple samples? I'm downloading this ~2k sample dataset on our supercomputer and it's just taking a while and I'm hoping that I could parallelize this to 8 nodes.Here's the command I was using:
The text was updated successfully, but these errors were encountered: