Other CLI commands

☄️Isabl comes with a bunch of built-in commands to run from the terminal.

Getting Super Powers

The python package of isabl-cli comes with a lot of useful functions that allows you to achieve mainly 3 type of needs:

  1. Create and Execute analyses (See Running Applications)

  2. Retrieve information (See Retrieving Data)

  3. and, Import and manage files into your workspace (See Importing Data)

$ isabl --help

Usage: isabl [OPTIONS] COMMAND [ARGS]...

  Run Isabl command line tools.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  apps-grch37                GRCh37 applications.
  apps-grcm38                GRCm38 applications.
  get-bams                   Get storage directories, use `pattern` to
                             match...
  get-bed                    Get a BED file for a given Sequencing...
  get-count                  Get count of database instances.
  get-data                   Get file paths for experiments raw data.
  get-metadata               Retrieve metadata for multiple instances.
  get-outdirs                Get analyses outdirs, use `pattern` to match...
  get-paths                  Get storage directories, use `pattern` to
                             match...
  get-reference              Retrieve reference data from assemblies...
  get-results                Get analyses results.
  import-bedfiles            Register targets and baits BED files in a...
  import-data                Find and import experiments data from many...
  import-reference-data      Register reference data for assemblies...
  import-reference-genome    Register an assembly reference genome.
  login                      Login with isabl credentials.
  merge-individual-analyses  Merge analyses by individual.
  merge-project-analyses     Merge analyses by project.
  patch-results              Update the results field of many analyses.
  process-finished           Process and update finished analyses.
  rerun-signals              Rerun failed signals.
  run-failed-analyses        Command to run failed analyses in batch.
  run-signals                Run any arbitrary signal on analyses or...
  run-web-signals            Run signals triggered from the frontend.

Create your custom CLI Commands

You can customize your available commands, by extending the isabl-cli. The following are examples of cases where you want to create commands that execute more than one app at the same time, or create a method for a common metadata query:

Then you can add the commands to your CLI Settings (Learn how to customize your cli):

Now your custom commands will be available:

Last updated

Was this helpful?