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"