Skip to main content

bactopia-scaffold

Scaffold Bactopia components from bioconda/conda-forge packages.

Usage

bactopia-scaffold COMMAND [OPTIONS]

Subcommands

CommandDescription
bactopia-scaffold lookupLook up package info from Anaconda and check for existing components.
bactopia-scaffold moduleGenerate module files from a design config.
bactopia-scaffold subworkflowGenerate subworkflow files from a design config.
bactopia-scaffold test-dataDiscover test data paths from existing module tests.
bactopia-scaffold toolGenerate all three tiers (module + subworkflow + workflow) for a bactopia-tool.

lookup

Look up package info from Anaconda and check for existing components.

bactopia-scaffold lookup PACKAGE [OPTIONS]

Arguments

ArgumentTypeRequiredDescription
PACKAGESTRINGYes

Required Options

OptionTypeDefaultDescription
--bactopia-pathSTRINGDirectory where Bactopia repository is stored

Query Options

OptionTypeDefaultDescription
--channelSTRINGForce a specific channel (bioconda or conda-forge). Default: try bioconda first, then conda-forge
--max-retryINT3Maximum times to attempt API queries. (Default: 3)

Output Options

OptionTypeDefaultDescription
--jsonBOOLfalseOutput flat JSON
--prettyBOOLfalseOutput pretty-printed JSON

Additional Options

OptionTypeDefaultDescription
--verboseBOOLfalsePrint debug related text
--silentBOOLfalseOnly critical errors will be printed

module

Generate module files from a design config.

bactopia-scaffold module [OPTIONS]

Options

OptionTypeDefaultDescription
--configPATHJSON design config file
--bactopia-pathSTRINGDirectory where Bactopia repository is stored
--dry-runBOOLfalseShow what would be created without writing files
--jsonBOOLfalseOutput flat JSON
--prettyBOOLfalseOutput pretty-printed JSON
--verboseBOOLfalsePrint debug related text
--silentBOOLfalseOnly critical errors will be printed

subworkflow

Generate subworkflow files from a design config.

bactopia-scaffold subworkflow [OPTIONS]

Options

OptionTypeDefaultDescription
--configPATHJSON design config file
--bactopia-pathSTRINGDirectory where Bactopia repository is stored
--dry-runBOOLfalseShow what would be created without writing files
--jsonBOOLfalseOutput flat JSON
--prettyBOOLfalseOutput pretty-printed JSON
--verboseBOOLfalsePrint debug related text
--silentBOOLfalseOnly critical errors will be printed

test-data

Discover test data paths from existing module tests.

bactopia-scaffold test-data [OPTIONS]

Required Options

OptionTypeDefaultDescription
--input-typeCHOICE (assembly, assembly_reads, genbank, gff, proteins, reads)Input type to search for in existing tests
--bactopia-pathSTRINGDirectory where Bactopia repository is stored

Output Options

OptionTypeDefaultDescription
--jsonBOOLfalseOutput flat JSON
--prettyBOOLfalseOutput pretty-printed JSON

Additional Options

OptionTypeDefaultDescription
--verboseBOOLfalsePrint debug related text
--silentBOOLfalseOnly critical errors will be printed

tool

Generate all three tiers (module + subworkflow + workflow) for a bactopia-tool.

bactopia-scaffold tool [OPTIONS]

Options

OptionTypeDefaultDescription
--configPATHJSON design config file
--bactopia-pathSTRINGDirectory where Bactopia repository is stored
--dry-runBOOLfalseShow what would be created without writing files
--jsonBOOLfalseOutput flat JSON
--prettyBOOLfalseOutput pretty-printed JSON
--verboseBOOLfalsePrint debug related text
--silentBOOLfalseOnly critical errors will be printed