sketch,build sbts w sourmash 4.0, multiple alphabets #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here's a Snakefile for building gtdb (or other) sbts using sourmash 4.0 sketching & indexing. Also added an
environment.yml
with environment than can be used to run this snakefile.Configfile requires (default
index_config.yml
):accession, filename
columnssigname
for better signature naming)data-dir
: where to look for the genome/proteome filesTo run on different data or with different parameters, modify
index_config.yml
or provide a different configfile.Alphabet defaults are taken from sourmash-bio/sourmash#1168.
Workflow does not generate translated sketches, as we don't want to build databases from 6-frame translations.
I also modified the farm sbatch files, and have corresponding snakemake profiles to use, but not sure we want to add those to this repo.
Likely needs modification (e.g. batching?) for even more genomes or additional parameters (bloom filter size?), but here's a starting point for 4.x.