From 1020d610d3a26aa21bc03f24cd2cb734df0eb9f0 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 21 Apr 2021 20:00:13 +0200 Subject: [PATCH] Run CuReSim n times for each sequence --- generation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation.sh b/generation.sh index 7586615..eb61cdb 100755 --- a/generation.sh +++ b/generation.sh @@ -19,5 +19,5 @@ fastq=".fastq" filename="sequence" prefix="curesim_" -Rscript src/repertoire.r "$sequences" "$sequencing_runs" && java -jar tools/CuReSim.jar -n "$sequencing_runs" -m "$read_mean_size" -sd "$read_variance_size" -f "$data_directory$filename$fasta" -o "$data_directory$prefix$filename$fastq" +Rscript src/repertoire.r "$sequences" && java -jar tools/CuReSim.jar -n $((sequencing_runs * sequences)) -m "$read_mean_size" -sd "$read_variance_size" -f "$data_directory$filename$fasta" -o "$data_directory$prefix$filename$fastq" rm "$data_directory/log.txt"