then vsec "previous index found -- skipping indexing step";
else samtools index -@ ${threadCount}${matureSamMerge}/unique.sorted.merged.bam || die "cannot index your merged bam"
fi
### testing
### tell me the files we're using for the whippet indexing step
vsec "notifications incoming:"
vsec "fasta is ${myFasta}"
vsec "bam is "${matureSamMerge}/unique.sorted.merged.bam""
vsec "annotation is ${myAnnotation}"
# ask whippet to make an index while recognizing splice junctions from our bam
wptIdx="/g/data/lf10/as7425/SRscan/index-whippet";mkdir${wptIdx} 2>/dev/null;cd${wptIdx}|| die "cannot access whippet index directory";rm-rf${wptIdx}/*
julia ${whippetPath}/whippet-index.jl --fasta"${myFasta}"--bam"${matureSamMerge}/unique.sorted.merged.bam"--gtf"${myAnnotation}"--bam-min-reads 3 --index${wptIdx}|| die "canot make whippet index"