The first step to creating a CellBase instance is to download the data files. Download can be done through the CellBase CLI.
$ cellbase/build/bin$ ./cellbase.sh download --data genome,gene
The following option is required: -d, --data:
```
* -d, --data STRING Comma separated list of data to download: genome, gene, gene_disease_association, variation,
variation_functional_score, regulation, protein, conservation, clinical and . 'all' to download
everything
```
Type | Data sources |
---|---|
genome | |
gene | |
gene_disease_association | |
variation ** | |
variation_functional_score | |
regulation | |
protein | |
conservation ** | |
clinical ** | |
all ** |
For example, to download all human (GRCh37) data from all sources and save it into the `/tmp/data/cellbase/v4/` directory, run:
cellbase/build/bin$ ./cellbase-admin.sh download -a GRCh37 --common /tmp/data/cellbase/v4/common/ -d all -o /tmp/data/cellbase/v4/ -s hsapiens
If download was successful, you can proceed to building the json objects that should be loaded into the corresponding database: [[Build & Load Data]].