Infernal contains a taxonomy database. This is a simple module reflecting said database.
- data SpeciesTaxonomy = SpeciesTaxonomy {}
- shortenName :: SpeciesName -> SpeciesName
Documentation
data SpeciesTaxonomy Source
For each species, we store the name and a classification list from most general (head) to most specific (last). The database comes with the NCBI taxon identifier (taxid).
shortenName :: SpeciesName -> SpeciesNameSource
Given a name such as Drosophila Melanogaster, returns d.melanogaster.