public class Kraken2Node extends OtuNodeImpl
Kraken2Classifier
output. Each line can
represent multiple reads since the estimated_number_of_reads_from_the_clade column is used to approximate the number
of reads with the given OTU in the sample.
Sample Kraken report line (head 7A_1_reported.tsv) :
d__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales 20094
CLASS_DELIM, DOMAIN_DELIM, FAMILY_DELIM, GENUS_DELIM, ORDER_DELIM, PHYLUM_DELIM, SPECIES_DELIM
Constructor and Description |
---|
Kraken2Node(String id,
String line)
Build the OtuNode by extracting the OTU names for each level from the line.
|
addTaxa, compareTo, delimToLevelMap, getCount, getLine, getOtuName, getSampleId, getTaxaMap, populateInBetweenTaxa, setCount, setLine, setSampleId
public Kraken2Node(String id, String line) throws Exception
id
- Sample IDline
- Kraken2 output lineException
- if an invalid line format is found