From 97f6944209f36c12964567102c6a8ce4597eccd9 Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu> Date: Thu, 13 Aug 2020 10:12:28 -0500 Subject: [PATCH] Increase delay between study initiated runs to 30s --- README.md | 4 ++-- workflow/scripts/splitStudy.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 399f0da..a4b6f56 100644 --- a/README.md +++ b/README.md @@ -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 25 replicatesRID with 10 second delays between launches. +It will run in parallel in batches of 25 replicatesRID with 30 second delays between launches. @@ -115,4 +115,4 @@ Please cite in publications: Pipeline was developed by BICF from funding provide Pipeline Directed Acyclic Graph ------------------------------- - + \ No newline at end of file diff --git a/workflow/scripts/splitStudy.sh b/workflow/scripts/splitStudy.sh index be4259c..bade44b 100644 --- a/workflow/scripts/splitStudy.sh +++ b/workflow/scripts/splitStudy.sh @@ -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}; sleep 10; done < "$1_studyRID.csv" | xargs -P 25 -I {} nextflow -q run workflow/rna-seq.nf --repRID {} +while read repRID; do echo ${repRID}; sleep 30; done < "$1_studyRID.csv" | xargs -P 25 -I {} nextflow -q run workflow/rna-seq.nf --repRID {} # cleanup study RID files rm $1_studyRID.json -- GitLab