Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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
```

TypeData sources
genome
gene
gene_disease_association
variation **
variation_functional_score
regulation
protein
conservation **
clinical **
all **



** Please note that many files are very large and can take several hours to download.



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]].


  • No labels