Skip to main content

k-mer tools

Project description

oxli

Author: C. Titus Brown (@ctb), ctbrown@ucdavis.edu

oxli is a simple Rust library + Python interface for counting k-mers in genomic sequencing data.

Installation

oxli is available on conda-forge for Linux, Mac OS X, and Windows for Python versions 3.10, 3.11, and 3.12:

conda install oxli

This will install the oxli library. Right now there is only a library interface.

For developers

You can also try building it yourself and using it in development mode:

mamba env create -f environment.yml -n oxli
pip install -e .

Documentation

Please see the API documentation.

Is there anything I should know about oxli?

Two things -

First, oxli is channeling khmer, a package written by @ctb and many others. You shouldn't be too surprised to see useful functionality from khmer making an appearance in oxli.

Second, it's written on top of the sourmash rust library, and the underlying code for dealing with sequence data is pretty well tested.

What's the history here?

The history is a bit convoluted:

  • the khmer package was useful for inspecting large collections of k-mers, but was hard to maintain and evolve.

  • in ~2016 @ctb's lab more or less switched over to developing sourmash, which was initially built on a similar tech stack to khmer (Python & C++).

  • at some point, @luizirber rewrote the sourmash C++ code into Rust.

  • this forced @ctb to learn Rust to maintain sourmash.

  • @ctb then decided he liked Rust an awful lot, and missed some of the khmer functionality.

  • voila, oxli was born.


(Sep 2024)

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

oxli-0.2.3.tar.gz (132.6 kB view details)

Uploaded Source

File details

Details for the file oxli-0.2.3.tar.gz.

File metadata

  • Download URL: oxli-0.2.3.tar.gz
  • Upload date:
  • Size: 132.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for oxli-0.2.3.tar.gz
Algorithm Hash digest
SHA256 3e0771eccb0e62b853aa4cdfb4c33308f240c85b24a946edc0f5fcd45301c42c
MD5 7038431af012b8d9604a4f4b8548f359
BLAKE2b-256 6a860664c5690d5d13f1e842c2949ed284b5e0b929aff8fa7a83e84d110c2213

See more details on using hashes here.

Provenance

Supported by

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