The Next Generation of Microbial Variant Calling with Snippy
Project description
Snippy-NG
🚨 Snippy-NG is under construction and should not replace Snippy 🚨
Check out our progress in the Snippy-NG Development Blog!
Table of Contents
Installation
snippy is available on PyPI and can be installed using pip (without external dependencies):
pip install snippy-nextgen
The complete snippy-ng environment (including most dependencies) can be installed using the snippy-ng installer script. This script will install the latest version of snippy-ng and all its dependencies.
curl -sSL https://cpg.org.au/snippy-ng/install.sh | bash -s -- --force
Development
To set up a development environment, clone the repository and install pixi and hatch. Pixi is used to manage external dependencies, and Hatch is used to manage the Python package development.
git clone git@github.com:centre-pathogen-genomics/snippy-ng.git && cd snippy-ng
# install pixi if not already installed
curl -fsSL https://pixi.sh/install.sh | bash
# install hatch if not already installed
pixi global install hatch
Activate the pixi environment and launch a hatch shell. This will install all dependencies and set up the development environment.
pixi shell
hatch shell
snippy-ng --help
Examples
snippy-ng asm --ref tests/data/wildtype.gbk --asm tests/data/wildtype.contigs.fa
snippy-ng short --ref tests/data/wildtype.gbk --R1 tests/data/mutant_R1.fastq --R2 tests/data/mutant_R2.fastq
snippy-ng long --clair3-model "/opt/models/r1041_e82_400bps_sup_v500" --clair3-fast-mode --ref tests/data/JKD6159.fasta --reads tests/data/JKD6159.fastq.gz
snippy-ng gather --ref tests/data/wildtype.gbk tests/data/{wildtype,mutant}* > samples.csv
snippy-ng multi samples.csv \
--ref tests/data/wildtype.gbk \
-o multi \
--cpus 6
snippy-ng tree multi/core/core.095.aln -o multi/tree
License
snippy-ng is distributed under the terms of the MIT license.
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 snippy_nextgen-1.20.0.tar.gz.
File metadata
- Download URL: snippy_nextgen-1.20.0.tar.gz
- Upload date:
- Size: 35.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.3 cpython/3.12.3 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef8d7317d187fd01ea908c2321ef9989e74dfba243279d0a0af819b16cc5d110
|
|
| MD5 |
826436c8d8ebe31b68fb12e82a504975
|
|
| BLAKE2b-256 |
68ccb31f8f62abc445c94d97230785617395d7eac3a0c7318a02fc558e032bb5
|
File details
Details for the file snippy_nextgen-1.20.0-py3-none-any.whl.
File metadata
- Download URL: snippy_nextgen-1.20.0-py3-none-any.whl
- Upload date:
- Size: 87.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.3 cpython/3.12.3 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
143a75147ce716925d3b533de95e72f378ab8624c971b450bfdf6576e6e5cddb
|
|
| MD5 |
05d492109d06ec4210e69a407b0f3778
|
|
| BLAKE2b-256 |
4144682f2d348ca5ed48d17a2d6da40897671e5b51480d37fdc51921c773e31b
|