> For the complete documentation index, see [llms.txt](https://ldsec.gitbook.io/medco-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ldsec.gitbook.io/medco-documentation/v0.2.1/system-administrator-guide/loading-data.md).

# Loading Data

* [v0 (Genomic Data)](/medco-documentation/v0.2.1/system-administrator-guide/loading-data/v0-genomic-data.md)
  * [Example](/medco-documentation/v0.2.1/system-administrator-guide/loading-data/v0-genomic-data.md#example)
  * [Data Manipulation](/medco-documentation/v0.2.1/system-administrator-guide/loading-data/v0-genomic-data.md#data-manipulation)
* [v1 (I2B2 Demodata)](/medco-documentation/v0.2.1/system-administrator-guide/loading-data/v1-i2b2-demodata.md)
  * [Dummy Generation](/medco-documentation/v0.2.1/system-administrator-guide/loading-data/v1-i2b2-demodata.md#dummy-generation)
  * [Example](/medco-documentation/v0.2.1/system-administrator-guide/loading-data/v1-i2b2-demodata.md#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
```
