#!/bin/bash
#####Beatriz Navarro Dominguez
#####Run Retroseq through McClintock
run_dir=/home/user/mcclintock_running
bin_dir=/bin/mcclintock/
reference=reference.fa
te_fasta=te.mcclintock.fa
gff_file=te.mcclintock.gff
tsv_file=te.mcclintock.tsv
reads_1=$1
reads_2=$2
out_dir=$run_dir/$(basename $reads_1 _1.fastq)_retroseq
threads=8
# Run the pipeline
cd $run_dir
bash $bin_dir/mcclintock.sh -i -m "Retroseq" -r $run_dir/$reference -c $run_dir/$te_fasta -g $run_dir/$gff_file -t $run_dir/$tsv_file -1 $run_dir/$reads_1 -2 $run_dir/$reads_2 -p $threads -o $out_dir