Open tomkinsc opened 8 years ago
@yesimon: Would you have time to add these functions? They would support later additions to automate db rebuild with new accessions. I like how easy VirMet makes it to rebuild their metagenomics DB with the latest full set of viral genomes. https://virmet.readthedocs.io/en/latest/updating/
Yup - these are already there in part for the integration tests. Just need to add CLI
We should have convenience functions for building kraken, diamond, and metagenomic bwa databases, accessible as CLI subcommands of
metagenomics.py
, similar to thetaxon_filter.py
commandslastal_build_db
,blastn_build_db
, andbmtagger_build_db
.The
tools/kraken.py
file provides abuild()
function as a member of theKraken
class, but this should be exposed as a script command. The argument parser should specify the inputs needed for a custom DB, and handle any pre-processing, such as creation oflibrary/
andtaxonomy/
.