Skip to main content

XspecT

Test linting: pylint Code style: black

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 the lastest 64 bit Python version 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

Metadata

Release files for XspecT 0.5.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for XspecT 0.5.4
File Size Uploaded Provenance Actions
xspect-0.5.4.tar.gz 508.5 kB With provenance Details for xspect-0.5.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for XspecT 0.5.4
File Interpreter ABI Platform Actions
xspect-0.5.4-py3-none-any.whl Python 3 none any Details for xspect-0.5.4-py3-none-any.whl

Total release size: 1.0 MB

Release files / xspect-0.5.4.tar.gz

Download URL xspect-0.5.4.tar.gz
Size 508.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5575e72057a6d4da823cb1d240f1faf448a202a7bc9b887cb29c6c0c06d71081
BLAKE2b-256 checksum
How to use checksums
2b13f8eb883c8e50afe9f1fcb92262c2f60d30f3b8b8271c7f282857d159b7b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 18, 2025.

Transparency log

Release files / xspect-0.5.4-py3-none-any.whl

Download URL xspect-0.5.4-py3-none-any.whl
Size 515.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a326b9ef0b9e7d7c58ce791b58399c9d634555fb54d3024dc912df2b75302306
BLAKE2b-256 checksum
How to use checksums
9ea39806c57bad7b86f7f6496f792d6d6df908f5e72f0068782cbea26f2029e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 18, 2025.

Transparency log

Security for XspecT 0.5.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for xspect-0.5.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 18, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page