Skip to content

Command Line Interface

javild edited this page Apr 13, 2016 · 5 revisions

Usage

The Command Line Interface is provided through the cellbase.sh executable, which can be found in the downloadable .tar.gz at build/bin/cellbase.sh or alternatively at cellbase-server/target/cellbase.sh after compiling the source code:

/cellbase$ build/bin/cellbase.sh 

Program:     CellBase (OpenCB)
Version:     3.2.0
Description: High-Performance NoSQL database and RESTful web services to access the most relevant biological data

Usage:       cellbase.sh [-h|--help] [--version] <command> [options]

Commands:
            download  Download all different data sources provided in the configuration.json file
               build  Build CellBase data models from all data sources downloaded
                load  Load the built data models into the database
               query  Query and fetch data from CellBase database using this command line
          query-grpc  Query and fetch data from CellBase database using gRPC server
  variant-annotation  Annotate variants from VCF files using CellBase and other custom files
           post-load  Complements data already loaded in CellBase

There are five different commands available in the command line:

  • download
  • build
  • load
  • query
  • query-grpc
  • variant-annotation