#!/bin/sh usage() { echo "usage: generation.sh " exit 1 } if [ $# != 2 ]; then usage fi sequences=$1 sequencing_runs=$2 read_mean_size=350 read_variance_size=0.0 data_directory="data/" file="sequence.fasta" prefix="curesim_" Rscript src/repertoire.r "$sequences" "$sequencing_runs" java -jar tools/CuReSim.jar -m "$read_mean_size" -sd "$read_variance_size" -f "$data_directory$file" -o "$data_directory$prefix$file"