public class QiimeNode extends OtuNodeImpl
QiimeClassifier
output.
2 sample lines (header + 1st row) from otu_table_L*.txt output by QIIME script: summarize_taxa.py
# Constructed from biom file #OTU ID 3A.1 7A.1 120A.1
7A.1 k__Bacteria;p__Actinobacteria 419.0 26.0 90.0 70.0
Modifier and Type | Field and Description |
---|---|
protected static String |
QIIME_DOMAIN_DELIM
QIIME domain taxonomy level delimiter: "k__"
|
protected static String |
SILVA_CLASS_DELIM
Silva class taxonomy level delimiter: "D_2__"
|
protected static String |
SILVA_DOMAIN_DELIM
Silva domain taxonomy level delimiter: "D_0__"
|
protected static String |
SILVA_FAMILY_DELIM
Silva family taxonomy level delimiter: "D_4__"
|
protected static String |
SILVA_GENUS_DELIM
Silva genus taxonomy level delimiter: "D_5__"
|
protected static String |
SILVA_ORDER_DELIM
Silva order taxonomy level delimiter: "D_3__"
|
protected static String |
SILVA_PHYLUM_DELIM
Silva phylum taxonomy level delimiter: "D_1__"
|
protected static String |
SILVA_SPECIES_DELIM
Silva species taxonomy level delimiter: "D_6__"
|
CLASS_DELIM, DOMAIN_DELIM, FAMILY_DELIM, GENUS_DELIM, ORDER_DELIM, PHYLUM_DELIM, SPECIES_DELIM
Constructor and Description |
---|
QiimeNode(String id,
String taxas,
int count)
Build the OtuNode by extracting the OTU names for each level from the line.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
delimToLevelMap()
|
protected String |
getLevel(String taxa)
Get the first taxonomy level delim.
|
addTaxa, compareTo, getCount, getLine, getOtuName, getSampleId, getTaxaMap, populateInBetweenTaxa, setCount, setLine, setSampleId
protected static final String QIIME_DOMAIN_DELIM
protected static final String SILVA_CLASS_DELIM
protected static final String SILVA_DOMAIN_DELIM
protected static final String SILVA_FAMILY_DELIM
protected static final String SILVA_GENUS_DELIM
protected static final String SILVA_ORDER_DELIM
protected static final String SILVA_PHYLUM_DELIM
protected static final String SILVA_SPECIES_DELIM
public QiimeNode(String id, String taxas, int count) throws Exception
id
- Sample ID extracted from count column headertaxas
- OTU names with level indicator prefixcount
- Extracted from column of the Sample IDException
- if propagated from addOtu() methodpublic Map<String,String> delimToLevelMap()
OtuNode
delimToLevelMap
in interface OtuNode
delimToLevelMap
in class OtuNodeImpl