README.md 803 Bytes
Newer Older
Michael Baudis's avatar
Readme    
Michael Baudis committed
1
Beacon queries and interface for the MongoDB based _arrayMap_ cancer genome repository.
Daniel Teixeira's avatar
Daniel Teixeira committed
2

Michael Baudis's avatar
Readme    
Michael Baudis committed
3
Queries are contained inside the directory [mongo-queries](mongo-queries)
Daniel Teixeira's avatar
Daniel Teixeira committed
4

Michael Baudis's avatar
Readme    
Michael Baudis committed
5
An alternative would be to transform the native _arrayMap_ data format into VCF, and to use [the Python Simple Beacon Server](https://github.com/maximilianh/ucscBeacon).
6
7
8
9
10
11
12
13
14
15

#### Download commands

The following command can be used to download a chunk of the _arrayMap_ dataset, e.g. to understand data structures.

```wget "http://arraymap.org/api/?db=arraymap&qcveto=1&api_out=samples&icdm_m=8,9&api_doctype=jsondata&randno=200" -O 200samples.json```

The next command would replace the current local _arrayMap_ instance with the downloaded file.

```mongoimport --drop --db arraymap --collection samples < 200samples.json --batchSize 1```