public static File indexFileName(File data){
  return new File(data.getParentFile(),data.getName() + BAM_INDEX_EXTENSION);
}

public static File indexFileName ( File data ) { return new File ( data . getParentFile ( ) , data . getName ( ) + BAM_INDEX_EXTENSION ) ; }
get the name an index should have for a given data file
