tools to support genome and metagenome analysis
Project description
genome-grist - map Illumina metagenomes to GenBank genomes
In brief
genome-grist
is a toolkit to do the following:
- download a metagenome
- process it into trimmed reads, and make a sourmash signature
- search the sourmash signature with 'gather' against sourmash databases, e.g. all of genbank
- download the matching genomes from genbank
- map all metagenome reads to genomes using minimap
- extract matching reads iteratively based on gather, successively eliminating reads that matched to previous gather matches
- run mapping on “leftover” reads to genomes
- summarize all mapping results
Installation
The command:
python -m pip install genome-grist
will install the latest version. Plase use python3.7 or later. We suggest using an isolated conda environment.
Quick start:
Run the following three commands.
First, download SRA sample HSMA33MX, trim reads, and build a sourmash signature:
genome-grist process HSMA33MX smash_reads
Next, run sourmash signature against genbank:
genome-grist process HSMA33MX smash_reads
(NOTE, this depends on the latest genbank genomes and won't work for most people just yet; for now, use cached results from the repo:
cp tests/test-data/HSMA33MX.x.genbank.gather.csv outputs/genbank/
touch outputs/genbank/HSMA33MX.x.genbank.gather.out
)
Finally, download the reference genomes, map reads and produce a summary report:
genome-grist process HSMA33MX summarize -j 8
Full set of top-level process
targets
- download_reads
- trim_reads
- smash_reads
- gather_genbank
- download_matching_genomes
- map_reads
- summarize
Support
genome-grist is alpha-level software. Please be patient and kind :).
Please ask questions and add comments by filing github issues.
Why the name grist
?
'grist' is in the sourmash family of names (sourmash, wort, distillerycats, etc.) See Grist.
(It is not the computing grist!)
CTB Nov 7, 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
File details
Details for the file genome-grist-0.3.tar.gz
.
File metadata
- Download URL: genome-grist-0.3.tar.gz
- Upload date:
- Size: 4.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7aea309644d66b324a4bc55b53c23b4a2469e3a88ecb24a59e3466c45879f3d |
|
MD5 | 38a73742ccac5c5020a9b85f6f7a1b6c |
|
BLAKE2b-256 | 31fe44f82f5572f7d92007efdf13731c3dfc277f33ae419f9f1bb9a6b7af25b8 |