public class KrakenNode extends OtuNodeImpl
KrakenClassifier
output. Kraken outputs the
sequence header and taxonomy assignments for all levels in one line. Each line represents a single read.
Sample mpa-output line from Kraken:
FCC6MMAACXX:8:1101:1968:2100#GTATTCTC/1
d__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales|f__Bacteroidaceae|g__Bacteroides|s__Bacteroides_vulgatus
CLASS_DELIM, DOMAIN_DELIM, FAMILY_DELIM, GENUS_DELIM, ORDER_DELIM, PHYLUM_DELIM, SPECIES_DELIM
Constructor and Description |
---|
KrakenNode(String id,
String line)
Constructor called for each line of Kraken output.
Builds the OtuNode by extracting the OTU names for each taxonomy level found in the line. |
addTaxa, compareTo, delimToLevelMap, getCount, getLine, getOtuName, getSampleId, getTaxaMap, populateInBetweenTaxa, setCount, setLine, setSampleId
public KrakenNode(String id, String line) throws Exception
id
- Sample IDline
- Kraken mpa-output lineException
- if required properties are invalid or undefined