# Loading Data

* [v0 (Genomic Data)](https://ldsec.gitbook.io/medco-documentation/v0.2.1/system-administrator-guide/loading-data/v0-genomic-data)
  * [Example](https://ldsec.gitbook.io/medco-documentation/v0.2.1/system-administrator-guide/v0-genomic-data#example)
  * [Data Manipulation](https://ldsec.gitbook.io/medco-documentation/v0.2.1/system-administrator-guide/v0-genomic-data#data-manipulation)
* [v1 (I2B2 Demodata)](https://ldsec.gitbook.io/medco-documentation/v0.2.1/system-administrator-guide/loading-data/v1-i2b2-demodata)
  * [Dummy Generation](https://ldsec.gitbook.io/medco-documentation/v0.2.1/system-administrator-guide/v1-i2b2-demodata#dummy-generation)
  * [Example](https://ldsec.gitbook.io/medco-documentation/v0.2.1/system-administrator-guide/v1-i2b2-demodata#example)

The current version offers two different loading alternatives: (*v0*) loading of clinical and genomic data based on MAF datasets; and (*v1*) loading of generic i2b2 data. Currently these two loaders support each one dataset:

* *v0*: a genomic dataset (*tcga\_cbio* publicly available in [cBioPortal](http://www.cbioportal.org/))
* *v1*: the [i2b2 demodata](https://www.i2b2.org/software/repository.html?t=demo\&p=15).

Future releases of this software will allow for other arbitrary data sources, given that they follow a specific structure (e.g. BAM format).

### Pre-Requisites

**Download test data**

From the *medco-deployment* folder, execute the resources/data/download.sh script to download the test datasets.

```
$ cd ~/medco-deployment/resources/data
$ bash download.sh
```
