use of org.jbei.ice.lib.parsers.abi.ABITrace in project ice by JBEI.
the class ABIParser method parse.
public DNASequence parse(byte[] bytes) throws InvalidFormatParserException {
DNASequence DNASequence = null;
try {
ABITrace abiTrace = new ABITrace(bytes);
SymbolList symbolList = abiTrace.getSequence();
if (symbolList != null) {
DNASequence = new DNASequence(symbolList.seqString().toLowerCase());
}
} catch (Exception e) {
throw new InvalidFormatParserException(e);
}
return DNASequence;
}
Aggregations