Skip to main content

Tool to monitor and characterize pathogens using Bloom filters.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xspect-0.6.0.tar.gz (516.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xspect-0.6.0-py3-none-any.whl (523.8 kB view details)

Uploaded Python 3

File details

Details for the file xspect-0.6.0.tar.gz.

File metadata

  • Download URL: xspect-0.6.0.tar.gz
  • Upload date:
  • Size: 516.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xspect-0.6.0.tar.gz
Algorithm Hash digest
SHA256 fba72e509722da608e21be0e2dc2700f8b294d2644b4ee73285e57f804243708
MD5 eac0634cfde908c21588b3075ffbc137
BLAKE2b-256 7e7273fb0d60c7bcb498a13607ee2d7b1d07d6e6b46c2a02a46c31b6e96ff05b

See more details on using hashes here.

Provenance

The following attestation bundles were made for xspect-0.6.0.tar.gz:

Publisher: pypi.yml on BIONF/XspecT2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xspect-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: xspect-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 523.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xspect-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea65a5ec624711236ca2ef9b324dc84c70e4befe3cfa038c2d1b5252766fee29
MD5 057d2f61a68b37025738480905050eaf
BLAKE2b-256 d5b18eeb331dec614f0ce18b38a6d511965f9dd13f9c5ba74782b25ae35eeda0

See more details on using hashes here.

Provenance

The following attestation bundles were made for xspect-0.6.0-py3-none-any.whl:

Publisher: pypi.yml on BIONF/XspecT2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page