Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ST
ga4gh-arraymap
Commits
8b0a01bb
Commit
8b0a01bb
authored
Sep 29, 2016
by
Severine Duvaud
Browse files
Update README.md
parent
fc8f8dc4
Changes
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
8b0a01bb
...
...
@@ -11,11 +11,15 @@ Queries are contained inside the directory [mongo-queries](mongo-queries)
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```
```
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
```
```
mongoimport --drop --db arraymap --collection samples < 200samples.json --batchSize 1
```
# beacon-app
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment