...
You can use this to load data into a repository service whether it is running on beanstalk or locally on your laptop. You can run datasetCsvLoader.py -h
and datasetNuker.py -h
to see more documentation. The code can be found here PLFM/users/deflaux/scripts/DatasetLoader
Code Block |
---|
>ssh fremont >cd /work/platform/DatasetMetadataLoader /work/platform/DatasetMetadataLoader> curl http://dhcp149222.fhcrc.org:8080/repo/v1/dataset {"results":[],"totalNumberOfResults":0,"paging":{}} /work/platform/DatasetMetadataLoader>./datasetCsvLoader.py -e dhcp149222.fhcrc.org:8080 lot of output here . . . /work/platform/DatasetMetadataLoader> curl http://dhcp149222.fhcrc.org:8080/repo/v1/dataset?limit=1 { "results":[ { "name":"Gastric Cancer ACRG", "annotations":"/repo/v1/dataset/0/annotations", "id":"0", "version":"0.0.1", "creator":"Asian Cancer Research Group, Inc., (ACRG)", "description":null, "creationDate":1299375144172, "status":"Future", "uri":"/repo/v1/dataset/0", "etag":"384011750", "releaseDate":null, "layer":"/repo/v1/dataset/0/layer", "hasExpressionData":false, "hasGeneticData":false, "hasClinicalData":false } ], "totalNumberOfResults":114, "paging":{ "next":"/repo/v1/dataset?offset=2&limit=1" } } |
...