activated entire script
check for one of the bwa index output files for the reference and index if needed