locigenesis/generation.sh

23 lines
443 B
Bash
Raw Normal View History

#!/bin/sh
usage() {
echo "usage: generation.sh <number of sequences> <number_of_reads>"
exit 1
}
2021-02-28 02:23:58 +01:00
if [ $# != 2 ]; then
usage
fi
sequences=$1
number_of_reads=$2
data_directory="data/"
fastq=".fastq"
filename="sequence"
prefix="curesim_"
Rscript src/repertoire.r "$sequences" "$number_of_reads" &&
2021-05-04 00:57:35 +02:00
CuReSim -f "$data_directory$filename$fastq" -o "$data_directory$prefix$filename$fastq"
2021-05-03 21:51:48 +02:00
Rscript src/alignment.r
rm "$data_directory/log.txt"