A package to get signature SNVs from a given strain and set of sink and sources, using MIDAS output
Project description
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.
Directory Setup
'example_template' shows how the directory 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")
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
SNV-FEAST-0.0.1.tar.gz
(8.0 kB
view hashes)
Built Distribution
SNV_FEAST-0.0.1-py3-none-any.whl
(11.3 kB
view hashes)
Close
Hashes for SNV_FEAST-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c490aa210c26f4406f2884c76ad7393720a8aeef31fb352efcf97d83de7cd59f |
|
MD5 | 0060cb224c8b8e2e079df97200b949fc |
|
BLAKE2b-256 | 6f41d11ea333ca7f68558eb8619d00640c473d59c3eb84f8458f384ebe82987b |