-
Notifications
You must be signed in to change notification settings - Fork 98
Storage Command Line
OpenCGA Storage implements a command line interface (CLI) to allow users to interact with the storage.
The new Storage command line interface implements two levels: commands and subcommands. Main commands are alignment, variant, feature and server with their subcommands:
- alignment
- index
- query (old fetch-alignments):
- analysis: QC, variant call, …
- benchmark
- variant
- index
- query (old fetch-variants)
- annotate
- stats
- sample: sample aggregation queries
- ops: remove samples, …
- benchmark
- feature
- index: GFF/BED files are indexed using tabix by default, some plugins could override this and index in MongoDB or HBAse
- query: to execute region-based queries
- server
- rest: a RESTful server using Jetty, starts at port 9090 by default
- grpc: a high-performance server using Protocol Buffer 3, starts at port 9091 by default
The Storage command line interface defines this set of commands:
- index-variants Index variants file
- fetch-variants Search over indexed variants
- annotate-variants Create and load variant annotations into the database
- stats-variants Create and load stats into a database.
- create-accessions Creates accession IDs for an input file
- index-alignments Index alignment file
- fetch-alignments Search over indexed alignments
These parameters are not specified on the command line and will change internal configuration parameters. Depending on the biotype (alignment or variant) and the selected storage engine, this parameters will be added to the redden configuration file in the options field.
-D<configuration-parameter-name>=<value>
The file storage-configuration.yml
should be placed at $OPENCGA_HOME/conf/
, and contains all configuration needed by OpenCGA-Storage. There are tree main blocks: storageEngines
, server
and cellbase
.
- Storage configuration
- Storage Engine configuration
- Variant
- Alignment
- Server configuration
- CellBase configuration
- Storage Engine configuration
Can define a set of configuration options for each installed storage-engine (mongodb, hadoop, ...). Each one contains a section for every supported biotype, currently alignment and variant.
Common options between all storage-engines for variants are defined in VariantStorageManager::Options
Common options between all storage-engines for alignments are defined in AlignmentStorageManager::Options
OpenCGA is an open source project and it is freely available.
General
- Home
- Architecture
- Data Models
- RESTful Web Services
- Configuration
- Download and Installation
- Tutorials
OpenCGA Catalog
OpenCGA Storage
About