Skip to main content

tools for comparing DNA sequences with MinHash sketches

Project description

sourmash

Quickly search, compare, and analyze genomic and metagenomic data sets.

Documentation Build Status Bioconda install PyPI codecov DOI License: 3-Clause BSD

Usage:

sourmash compute *.fq.gz
sourmash compare *.sig -o distances
sourmash plot distances

sourmash 1.0 is published on JOSS; please cite that paper if you use sourmash (doi: 10.21105/joss.00027):.


The name is a riff off of Mash, combined with @ctb's love of whiskey. (Sour mash is used in making whiskey.)

Primary authors: C. Titus Brown (@ctb) and Luiz C. Irber, Jr (@luizirber).

sourmash was initially developed by the Lab for Data-Intensive Biology at the UC Davis School of Veterinary Medicine, and now includes contributions from the global research and developer community.

Installation

We recommend using bioconda to install sourmash:

conda install -c conda-forge -c bioconda sourmash

This will install the latest stable version of sourmash 3.

You can also use pip to install sourmash:

pip install sourmash

A quickstart tutorial is available.

Requirements

sourmash runs under Python 3.7 and later. The base requirements are screed, cffi, numpy, matplotlib, and scipy. Conda (see below) will install everything necessary, and is our recommended installation method.

Installation with conda

Bioconda is a channel for the conda package manager with a focus on bioinformatics software. After installing conda, you can install sourmash by running:

$ conda create -n sourmash_env -c conda-forge -c bioconda sourmash python=3.7
$ source activate sourmash_env
$ sourmash compute -h

which will install the latest released version.

Support

Please ask questions and files issues on Github.

Development

Development happens on github at dib-lab/sourmash.

sourmash is developed in Python and Rust, and you will need a Rust environment to build it; see the developer notes for our suggested development setup.

After installation, sourmash is the main command-line entry point; run it with python -m sourmash, or do pip install -e /path/to/repo to do a developer install in a virtual environment.

The sourmash/ directory contains the Python library and command-line interface code.

The src/core/ directory contains the Rust library implementing core functionality.

Tests require py.test and can be run with make test.

Please see the developer notes for more information on getting set up with a development environment.


CTB July 2020

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

sourmash-3.5.1.tar.gz (7.9 MB view details)

Uploaded Source

Built Distributions

sourmash-3.5.1-py2.py3-none-manylinux2014_s390x.whl (1.6 MB view details)

Uploaded Python 2 Python 3

sourmash-3.5.1-py2.py3-none-manylinux2014_ppc64le.whl (1.4 MB view details)

Uploaded Python 2 Python 3

sourmash-3.5.1-py2.py3-none-manylinux2014_aarch64.whl (1.2 MB view details)

Uploaded Python 2 Python 3

sourmash-3.5.1-py2.py3-none-manylinux2010_x86_64.whl (1.2 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.12+ x86-64

sourmash-3.5.1-py2.py3-none-manylinux1_x86_64.whl (1.2 MB view details)

Uploaded Python 2 Python 3

sourmash-3.5.1-py2.py3-none-macosx_10_11_x86_64.whl (525.3 kB view details)

Uploaded Python 2 Python 3 macOS 10.11+ x86-64

File details

Details for the file sourmash-3.5.1.tar.gz.

File metadata

  • Download URL: sourmash-3.5.1.tar.gz
  • Upload date:
  • Size: 7.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for sourmash-3.5.1.tar.gz
Algorithm Hash digest
SHA256 725d657998b2ddaafa5bef7f8902db2b53d9c2e2c476b2b7c75f868235ab8feb
MD5 9fc81439cd7eb0cbe18abec311fad450
BLAKE2b-256 7f62fc807b6bfeac1a1c947ec2af04fcaef69475cac054eca3384899708d22ff

See more details on using hashes here.

File details

Details for the file sourmash-3.5.1-py2.py3-none-manylinux2014_s390x.whl.

File metadata

  • Download URL: sourmash-3.5.1-py2.py3-none-manylinux2014_s390x.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for sourmash-3.5.1-py2.py3-none-manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 75850124bb681e0cf8b667a26febc13d9828e0f224c6869d50e79aa8cfa1f0d5
MD5 692b445b25742458994e91b9f3efad70
BLAKE2b-256 3c332c70183417fa7e492d58ebbffe1439df453a162ccd01ff56da976cdd15f7

See more details on using hashes here.

File details

Details for the file sourmash-3.5.1-py2.py3-none-manylinux2014_ppc64le.whl.

File metadata

  • Download URL: sourmash-3.5.1-py2.py3-none-manylinux2014_ppc64le.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for sourmash-3.5.1-py2.py3-none-manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 7605ef4b406b8bddb6d3056c4defe76a5a3e6093b29992bbc1fc80b5ec814b0d
MD5 83d3dcbf839826f9123b85d7e6565c26
BLAKE2b-256 5d604f5723281a4fceb07430be67a85a6c5a7ec38b3544c3a5e2f4ab1cff4710

See more details on using hashes here.

File details

Details for the file sourmash-3.5.1-py2.py3-none-manylinux2014_aarch64.whl.

File metadata

  • Download URL: sourmash-3.5.1-py2.py3-none-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for sourmash-3.5.1-py2.py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b6a4a4563d337e28066fbd2c9fc6d1e560cd983fd852d96dafe3cf6a17f767b4
MD5 785c9a49339b81a4168c4aca4cfce28e
BLAKE2b-256 fc06a90b5bbb39f283f22a4c6907f4df51fb976f63f51454ddb407332895fd46

See more details on using hashes here.

File details

Details for the file sourmash-3.5.1-py2.py3-none-manylinux2010_x86_64.whl.

File metadata

  • Download URL: sourmash-3.5.1-py2.py3-none-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 2, Python 3, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for sourmash-3.5.1-py2.py3-none-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d31e91ebb9b454c4fcd7dd8a2e88782475fe7690d4128d96bb83e7163a141d0e
MD5 83e1e074ee4aca6cda4492292555626d
BLAKE2b-256 40ced423ddf996fdc3d5c4422dcc2c3eefe3fc7d32cc88cf89ff01e6c4101970

See more details on using hashes here.

File details

Details for the file sourmash-3.5.1-py2.py3-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: sourmash-3.5.1-py2.py3-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for sourmash-3.5.1-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 81a43918ad284adfdfe8a7620fe0fffab98e49b57979fe46ccc71b784967fce0
MD5 0d16cc0c227de095b2fab139d48553e0
BLAKE2b-256 ba029f42993564aa0ab01aeb788dcd4c0f635378ace598b933ca60199bccfbed

See more details on using hashes here.

File details

Details for the file sourmash-3.5.1-py2.py3-none-macosx_10_11_x86_64.whl.

File metadata

  • Download URL: sourmash-3.5.1-py2.py3-none-macosx_10_11_x86_64.whl
  • Upload date:
  • Size: 525.3 kB
  • Tags: Python 2, Python 3, macOS 10.11+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for sourmash-3.5.1-py2.py3-none-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 cd44e1a773a12e969695718036a56a5d145f751b452a398f53e5c06b708b5c85
MD5 0652587273487ee3eb613cedaa0eec99
BLAKE2b-256 1689b33e3c69164317c94adace14bde3e83620b6a549160232e9d6db7a55ea8d

See more details on using hashes here.

Supported by

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