public void calSabSimilarity(String taxonFile, String trainSeqFile, String testSeqFile) throws IOException{
TreeFactory factory = new TreeFactory(new FileReader(taxonFile));
factory.buildTree();
// get the lineage of the trainSeqFile
LineageSequenceParser trainParser = new LineageSequenceParser(new File(trainSeqFile));
HashMap<String, List<String>> lineageMap = new HashMap<String, List<String>>();
while (trainParser.hasNext()) {
LineageSequence seq = (LineageSequence) trainParser.next();