public static boolean hasTaxonomyInfo(SequencesReader reader){
  final File taxonFile=new File(reader.path(),TAXONOMY_FILE);
  final File mappingFile=new File(reader.path(),TAXONOMY_TO_SEQUENCE_FILE);
  if (taxonFile.exists() && mappingFile.exists()) {
    return true;
  }
 else   if (taxonFile.exists() || mappingFile.exists()) {
    throw new NoTalkbackSlimException("Reference SDF does not contain both taxonomy and sequences lookup");
  }
 else {
    return false;
  }
}

public static boolean hasTaxonomyInfo ( SequencesReader reader ) { final File taxonFile = new File ( reader . path ( ) , TAXONOMY_FILE ) ; final File mappingFile = new File ( reader . path ( ) , TAXONOMY_TO_SEQUENCE_FILE ) ; if ( taxonFile . exists ( ) && mappingFile . exists ( ) ) { return true ; } else if ( taxonFile . exists ( ) || mappingFile . exists ( ) ) { throw new NoTalkbackSlimException ( "Reference SDF does not contain both taxonomy and sequences lookup" ) ; } else { return false ; } }
returns true if the supplied reader contains taxonomy information
