a tiny utility function to check whether files are indexed
now has a bcftools merge wrapper. Still need to do some work to make sure input files are in valid formats.