moonstone.parsers.counts.taxonomy.SunbeamKraken2Parser¶
-
class
moonstone.parsers.counts.taxonomy.SunbeamKraken2Parser(*args, **kwargs)[source]¶ Parse output from Kraken2 merge table from Sunbeam pipeline.
Methods
__init__(*args, **kwargs)- param file_path
path of the input file to be parsed
split_taxa_fill_none(df[, sep, taxo_prefix, …])- type terms_to_remove
Optional[List]
Attributes
dataframeRetrieve the pandas dataframe constructed from the input file.
new_otu_id_nameplotterAccess to instance dedicated to visualization for this type of data.
rank_levelretrieves rank_level
taxa_columntaxonomical_names