Skip to content
Snippets Groups Projects
Commit 2a494f04 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Put 10sec delay between study launch + 25 parallel

parent d65d19ec
Branches
Tags
2 merge requests!39v0.0.2,!38Resolve "Add input bagit to ouput"
......@@ -62,7 +62,7 @@ To run a set of replicates from study RID:
------------------------------------------
Run in repo root dir:
* `sh workflow/scripts/splitStudy.sh [studyRID]`
It will run in parallel in batches of 5 replicatesRID
It will run in parallel in batches of 25 replicatesRID with 10 second delays between launches.
......
......@@ -10,7 +10,7 @@ python3 ./workflow/scripts/splitStudy.py -s $1
# run pipeline on replicate RIDs in parallel
module load nextflow/20.01.0
module load singularity/3.5.3
while read repRID; do echo ${repRID}; done < "$1_studyRID.csv" | xargs -P 5 -I {} nextflow run workflow/rna-seq.nf --repRID {}
while read repRID; do echo ${repRID}; sleep 10; done < "$1_studyRID.csv" | xargs -P 25 -I {} nextflow run workflow/rna-seq.nf --repRID {}
# cleanup study RID files
rm $1_studyRID.json
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment