diff --git a/config/nextflow.config b/config/nextflow.config index 96a9109..a1cc4e1 100644 --- a/config/nextflow.config +++ b/config/nextflow.config @@ -5,7 +5,7 @@ params { report_dir = 'report' publish_dir_mode = 'symlink' // avoid duplicating output files (I think we should always try to use symlink instead of copy mode) samples_csv = "$projectDir/../samples/samples.csv" - ref_genome = "$projectDir/../references/cds_from_genomic.fna" + ref_genome = "$projectDir/../references/mrna_genomic_sequence.fna" // adicionar as sequencias genomicas dos mRNAs anotados } // OBS: that is just a draft version; we must try to remove every 'code smell' from our code (if possible) diff --git a/modules/downloadReadFTP.nf b/modules/downloadReadFTP.nf index 765d38c..ec92bab 100644 --- a/modules/downloadReadFTP.nf +++ b/modules/downloadReadFTP.nf @@ -1,4 +1,6 @@ process downloadReadFTP { + maxForks 2 // limit parallel downloads: https://github.com/nextflow-io/nextflow/discussions/3415 + input: tuple val(run), path(json_file)