added support for nestro and modified way to check for bwa index