I have the following Nextflow script:

include { check_folders; downloadClinvar; downloadReferenceGenome; downloadBedFiles; downloadGatkVcfFiles } from '/home/user/Desktop/pipeline/download_data.nf'
workflow {

The graph that is generated for me using the -preview -with-dag flags is the following: enter image description here

When I run the workflow it works fine but it performs each step sequentially, and I want it to download everything at the same time.

What could be happening to me? Why is my nextflow script executed sequentially?

  • $\begingroup$ Cross-postd stackoverflow.com/questions/78445082/… $\endgroup$
    – ATpoint
    Commented May 8 at 8:34
  • 1
    $\begingroup$ Does the machine you run on have sufficient resources to run these processes in parallell? $\endgroup$
    – Pallie
    Commented May 8 at 14:19
  • $\begingroup$ Yes Pallie, I have Intel i8 7th generation, with 16GB of RAM $\endgroup$ Commented May 9 at 10:20
  • $\begingroup$ If your processes request a large amount of RAM/processors per process, that still could be the reason you're not getting parallellised processes $\endgroup$
    – Pallie
    Commented May 14 at 8:40


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.