SNV-FEAST
SNV-FEAST is a method to generate signature SNVs for input into FEAST (Shenhav et al. 2019) from MIDAS (Nayfach et al. 2017) SNV output.
Quick start tutorial
- Install SNV-FEAST with pip
python3 -m pip install SNV-FEAST==0.0.4
Option 1: Run as a python module in your code
- Install SNV-FEAST with pip
- Set up your directories and config
- use the module
from snv_feast import snv_feast
snv_feast.signature_snvs("Bacteroides_uniformis_57318", 5, 1, 200, "<directory to your config file>config.yaml")
Option 2: Run as a command line tool
- git clone this repository
- Set up your directories and config
- Run CLI script
python snv_feast_cli.py --strain Bacteroides_uniformis_57318 --min_reads 5 --start_index 1 --end_index 200 --config_file_path <directory in which you cloned this repo>/snv-feast/configs/config.yaml
##Setting up directory and config file 'example_template' shows how the directory and config should be set up
Required input:
- midas_output: MIDAS output with a subdirectory called 'snps/' with it's own subdirectory for each species. In side each species subsubdirectory are two bzipped files 'snps_depth.txt.bz2' and 'snps_ref_freq.txt.bz2'
- sink_source.csv : a comma-delimited file with the sink source configuration. It should have the accession numbers in the first column for each sink of interest, and in the following columns, the accession numbers for the sources for each sink
Try running with 'example_1' on command line
Run in terminal:
snv_feast_cli --strain Bacteroides_uniformis_57318 --min_reads 5 --start_index 1 --end_index 200 --config_file_path /Users/leahbriscoe/Documents/FEASTX/snv-feast/configs/config.yaml
Try running with 'example_1' in a python script
import snv_feast
snv_feast.signature_snvs(strain="Bacteroides_uniformis_57318", min_reads=5, start_index=1, end_index=200, config_file_path="/Users/leahbriscoe/Documents/FEASTX/snv-feast/configs/config.yaml")
Metadata
Release files for SNV-FEAST 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| SNV-FEAST-0.0.8.tar.gz | 8.3 kB | Without provenance | Details for SNV-FEAST-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| SNV_FEAST-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for SNV_FEAST-0.0.8-py3-none-any.whl |
Total release size: 19.9 kB
Release files / SNV-FEAST-0.0.8.tar.gz
| Download URL | SNV-FEAST-0.0.8.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
797256958fda7697b54a4815e91003b2ce131dfeca1d8988d36a736f4fb7ad53
|
|
BLAKE2b-256 checksum How to use checksums |
608a726b04f574037a196299882b72f1fa903692abe956383513996563bd54e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Release files / SNV_FEAST-0.0.8-py3-none-any.whl
| Download URL | SNV_FEAST-0.0.8-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab55a74707cc0ff9573f717cc9bc512ffebe497d5618a3588196dd99a5f58bcb
|
|
BLAKE2b-256 checksum How to use checksums |
ddc5220c232cb7cb6ad661bc8595056db81be9da890aea239dee65181237ab02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Security for SNV-FEAST 0.0.8
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.