INDEX=`find -L ./ -name "*.1.ht2" | sed 's/\\.1.ht2\$//'`
To:
INDEX=`find -L ./ -name "*.1.ht2*" | sed 's/\\.1.ht2.*\$//'`
Effect:
Correctly extend find's pattern match to capture both the standard *.ht2 named index files, as well as *.ht2l large genome index files e.g. Triticum Aestivum (genome from: ensembl/release-43/Triticum_aestivum.IWGSC.dna_sm.toplevel.fa.gz)
Description of changes:
On:
Changed both occurrences of the following:
To:
Effect:
Correctly extend
find
's pattern match to capture both the standard*.ht2
named index files, as well as*.ht2l
large genome index files e.g. Triticum Aestivum (genome from: ensembl/release-43/Triticum_aestivum.IWGSC.dna_sm.toplevel.fa.gz)