@Override public void parse(String aLine) throws IOException {
  String[] tokens=aLine.split("\t");
  if (tokens.length == 1) {
    clear();
    queryName=tokens[0];
  }
 else {
    queryName=tokens[0];
    refName=tokens[1];
    bitScore=Basic.parseInt(tokens[11]);
    expected=Basic.parseFloat(tokens[10]);
    percentIdentity=Basic.parseInt(tokens[2]);
  }
}

@ Override public void parse ( String aLine ) throws IOException { String [ ] tokens = aLine . split ( "\t" ) ; if ( tokens . length == 1 ) { clear ( ) ; queryName = tokens [ 0 ] ; } else { queryName = tokens [ 0 ] ; refName = tokens [ 1 ] ; bitScore = Basic . parseInt ( tokens [ 11 ] ) ; expected = Basic . parseFloat ( tokens [ 10 ] ) ; percentIdentity = Basic . parseInt ( tokens [ 2 ] ) ; } }
parse a blast tab line query id , ref id , percent identity , alignment length , number of mismatches , number of gap openings , query start , query end , subject start , subject end , expect value , hsp bit score . 0 1 2 3 4 5 6 7 8 9 10 11
