Commit 2cdb8537 authored by Michael Baudis's avatar Michael Baudis
Browse files

Moved housekeeping commends to Readme

parent 43564786
......@@ -3,3 +3,13 @@ Beacon queries and interface for the MongoDB based _arrayMap_ cancer genome repo
Queries are contained inside the directory [mongo-queries](mongo-queries)
An alternative would be to transform the native _arrayMap_ data format into VCF, and to use [the Python Simple Beacon Server](
#### Download commands
The following command can be used to download a chunk of the _arrayMap_ dataset, e.g. to understand data structures.
```wget ",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```
wget ",9&api_doctype=jsondata" -O 20Ksamples.json
## a smaller dataset
##wget ",9&withfollowup=y&api_doctype=jsondata" -O 89.json
mongoimport --drop --db arraymap --collection samples < 20Ksamples.json --batchSize 1
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment