Tool to monitor and characterize pathogens using Bloom filters.
Project description
XspecT
XspecT is a Python-based tool to taxonomically classify sequence-reads (or assembled genomes) on the species and/or MLST level using kmer indices and a support vector machine.
XspecT utilizes the uniqueness of kmers and compares extracted kmers from the input-data to a kmer index. Probablistic data structures ensure a fast lookup in this process. For a final prediction, the results are classified using a support vector machine.
The tool is available as a web-based application and as a command line interface.
Installation
To install XspecT, please download Python 3.10 - 3.13 and install the package using pip:
pip install xspect
Please note that Windows and Alpine Linux are currently not supported.
Usage
Get the models
To download basic pre-trained models, you can use the built-in command:
xspect models download
Additional species models can be trained using:
xspect models train ncbi
How to run the web app
To run the web app, simply execute:
xspect web
This will start a local web server. You can access the web app by navigating to http://localhost:8000 in your web browser.
How to use the XspecT command line interface
To use the XspecT command line interface, execute xspect with the desired subcommand and parameters.
Example:
xspect classify species
If you do not provide the required parameters, the command line interface will prompt you for them. For further instructions on how to use the command line interface, please refer to the documentation or execute:
xspect --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xspect-0.7.3.tar.gz.
File metadata
- Download URL: xspect-0.7.3.tar.gz
- Upload date:
- Size: 525.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb642fb64a63fece7375b73763ef0c091eec8971707fe3a7ca0939203968e07b
|
|
| MD5 |
fa47d7fc75cc35291a1715581ffd6277
|
|
| BLAKE2b-256 |
8ca1b8a9d75b51050810a30129c475c03485cbe55862f041dace26517a4c7313
|
Provenance
The following attestation bundles were made for xspect-0.7.3.tar.gz:
Publisher:
pypi.yml on BIONF/XspecT
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xspect-0.7.3.tar.gz -
Subject digest:
eb642fb64a63fece7375b73763ef0c091eec8971707fe3a7ca0939203968e07b - Sigstore transparency entry: 771183858
- Sigstore integration time:
-
Permalink:
BIONF/XspecT@4fb5e6433e73dc8d2a09eb5a6ba4b0f3c6eebac1 -
Branch / Tag:
refs/tags/v0.7.3 - Owner: https://github.com/BIONF
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@4fb5e6433e73dc8d2a09eb5a6ba4b0f3c6eebac1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file xspect-0.7.3-py3-none-any.whl.
File metadata
- Download URL: xspect-0.7.3-py3-none-any.whl
- Upload date:
- Size: 523.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a33b79a79e03983939e1ae3cdc7c93135beb356bcad87b8851b0ba04ac34a00
|
|
| MD5 |
27b0d14231e6045f0844f9512c3fb464
|
|
| BLAKE2b-256 |
7201a15793988e6ea2611fbb7826e07bce760532b0499307ceae02e85a52d91f
|
Provenance
The following attestation bundles were made for xspect-0.7.3-py3-none-any.whl:
Publisher:
pypi.yml on BIONF/XspecT
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xspect-0.7.3-py3-none-any.whl -
Subject digest:
5a33b79a79e03983939e1ae3cdc7c93135beb356bcad87b8851b0ba04ac34a00 - Sigstore transparency entry: 771183861
- Sigstore integration time:
-
Permalink:
BIONF/XspecT@4fb5e6433e73dc8d2a09eb5a6ba4b0f3c6eebac1 -
Branch / Tag:
refs/tags/v0.7.3 - Owner: https://github.com/BIONF
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@4fb5e6433e73dc8d2a09eb5a6ba4b0f3c6eebac1 -
Trigger Event:
release
-
Statement type: