MLSTclassifier_cd
Table of Contents
Overview
Enhance your clade prediction process with MLSTclassifier_cd, a powerful machine learning tool that employs K-Nearest Neighbors (KNN) algorithm. Designed specifically for Multi-Locus Sequence Type (MLST) analysis of C. difficile strains, including cryptic variants, this tool streamlines and accelerates clade prediction. MLSTclassifier_cd achieves a prediction accuracy of approximately 92%.
StatQuest methodology was used to build the model (https://www.youtube.com/watch?v=q90UDEgYqeI&t=3327s). Powered by the Scikit-learn library, MLSTclassifier_cd is a good tool to have a first classification of your C. difficile strains including cryptic ones.
The model was trained using data from PubMLST (May 2023): https://pubmlst.org/bigsdb?db=pubmlst_cdifficile_seqdef&page=downloadProfiles&scheme_id=1. Cryptic strains for training were assessed manually using phylogenetic tree construction, fastbaps and popPUNK to refine clustering.
GitHub repo: https://github.com/eliottBo/MLSTclassifier_cd
Installation:
It is recommended to use a virtual environment.
Install PyPI package:
pip install mlstclassifier-cd
https://pypi.org/project/mlstclassifier-cd/
Usage:
The first argument is a path to a directory containing ".mlst" (like the ones optained from PubMLST) or ".fastmlst" files from FastMLST. The second argument is a path to the output directory where the output files will be.
Basic Command:
MLSTclassifier_cd [input directory path] [output directory path]
Example: MLSTclassifier_cd /Desktop/input_directory_name /Desktop/output_directory_name/
Output:
After running MLSTclassifier_cd, the result file contain a column named "predicted_clade". It also creates the following files:
- "pie_chart.html" plot representing the proportions of the different clades found.
- "count.csv" a csv file containing the raw value count of your predicted clades for you to generate your own graphs!
Metadata
Release files for mlstclassifier_cd 0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mlstclassifier_cd-0.4.3.tar.gz | 22.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mlstclassifier_cd-0.4.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.6 kB
Release files / mlstclassifier_cd-0.4.3.tar.gz
| Download URL | mlstclassifier_cd-0.4.3.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2866511ebd97de1ed25b04b540d34f0a49987d6ca1677a287a06751b316a4e00
|
|
BLAKE2b-256 checksum How to use checksums |
dbd13536676adaf09649d513388763fa15f766d9eb20b975ffa9c8c34b5f2864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.9 Darwin/23.5.0
|
Release files / mlstclassifier_cd-0.4.3-py3-none-any.whl
| Download URL | mlstclassifier_cd-0.4.3-py3-none-any.whl |
|---|---|
| Size | 22.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
839c38f95672360598abe2202fc9b1e045709b8feff1be79fd2386896c8b017b
|
|
BLAKE2b-256 checksum How to use checksums |
cba740704f8713fe1814a0c3148bdbaec427165814f8dfae6991e7b7a2c05d10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.9 Darwin/23.5.0
|