Classifying DNA Sequences to Taxonomic Groupings
Overview
Classification based analysis of DNA sequences to taxonomic groupings. This package primarily implements Naive Bayesian Classifier from the Ribosomal Database Project. This approach has traditionally been used to classify 16S rRNA gene sequences to bacterial taxonomic outlines; however, it can be used for any type of gene sequence. The method was originally described by Wang, Garrity, Tiedje, and Cole in Applied and Environmental Microbiology 73(16):5261-7 doi:10.1128/AEM.00062-07. The package also provides functions to read in 'FASTA'-formatted sequence data.
New features
- Add new function
classify_sequences(), which has confidence score filtering built-in as an option and is multithreaded by default. Can be run by giving the function the name of a data frame and the columns corresponding to the sequence id and sequences or as a{strollur}object and function will be output results as appropriate
Improvements
- Update vignettes and documentation for new functions and features
- Core functions can now process more than one sequence at a time
- Added type checking and check for column names in
classify_sequences(),filter_taxonomy(),print_taxonomy() build_kmer_database()now includesreference_dataargument
Show all changes in 0.2.0Hide the rest of the changes in 0.2.0
- modified
filter_taxonomy()to take a data frame rather than a list - modified
print_taxonomy()to take a data frame rather than a list and then output mothur-like taxonomy string to user specified depth. If specified depth is shorter than observed, string gets truncated. If depth is longer than specified it adds "_unclassified". User can turn off confidence scores rdp_trainset9_pdsandrdp_trainset9now include reference data as a data frame in the reference_data slot; will be incorporated in databases provided by{phylotyprrefdata}. These were renamed from trainset9_rdp and trainset9_pds- Changed
idtosequence_nameacross functions - Modify read_fasta to convert non-ATGCU-. to N; force capitalization. This was also applied to built in reference data
- Remove use of
set.seed()to be within call toclassify_sequences() - Optimized
build_kmer_database()andclassify_sequences()for performance making both significantly faster
Deprecated functions
classify_sequence()
Bug fixes
- Nothing to repair - if you find something let us know!
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 11
- Examples that run
- 100%10 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 18%
- phylotypr HTML
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 164
- Median days to close, 50 most recently updated closed PRs
- 16
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
12 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/mothur/phylotypr on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-21 · The repository has a site deploy workflow
pkgdown site last built 2026-10-21, before release 0.2.0 (2026-10-22)
Show all practicesHide 2 practices
Dependencies
Installing phylotypr adds 28 packages (17 with compiled code, 20 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, vctrs 1.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.2.0Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.1
- 0.1.02024-10-14
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-10-14
- Total releases
- 3 / 2 yrs
- License
- GPL-3 OSI · relicensed from MIT + file LICENSE in 0.1.1
- Minimum R
- ≥ 4.2
- Bundled data
- 1.6 MB / 2 files
- Download size
- 1.8 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("phylotypr")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1128/mra.01144-24.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.