Skip to main content

bactopia-prune

Removes stale Bactopia environments that no longer match current module versions.

Usage

bactopia-prune [OPTIONS]

Required Options

OptionTypeDefaultDescription
--bactopia-pathSTRINGDirectory where Bactopia repository is stored

Prune Options

OptionTypeDefaultDescription
--envtypeCHOICE (conda, docker, singularity, all)allThe type of environment to check for stale items
--wfSTRINGOnly check environments for the given workflow (default: all workflows)
--condadirSTRING/home/rpetit3/.bactopia/condaDirectory where Conda environments are stored (NXF_CONDA_CACHEDIR env variable takes precedence)
--registrySTRINGquay.ioRegistry to match Docker containers against
--singularity_cacheSTRING/home/rpetit3/.bactopia/singularityDirectory where Singularity images are stored (NXF_SINGULARITY_CACHEDIR env variable takes precedence)
--singularity_pull_docker_containerBOOLfalseUse Docker-based naming for Singularity images
--executeBOOLfalseActually remove stale environments. Default is dry-run (report only)

Additional Options

OptionTypeDefaultDescription
--verboseBOOLfalsePrint debug related text
--silentBOOLfalseOnly critical errors will be printed
--version, -VBOOLfalseShow the version and exit.