Mercurial > repos > matt-shirley > json_data_source
diff example.json @ 5:33fa019735a4
Save extra files path as extra_files, not extra_data. Changed type of dataset for new primary datasets. db_key becomes dbkey. Added example json files.
author | Matt Shirley <mdshw5@gmail.com> |
---|---|
date | Thu, 10 Jul 2014 11:41:54 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example.json Thu Jul 10 11:41:54 2014 -0400 @@ -0,0 +1,20 @@ +[ {"url":"http://rafalab.jhsph.edu/CGI/model-based-cpg-islands-hg19.txt", + "name":"Rafa CpG islands (human)", + "extension":"bed", + "metadata":{"dbkey":"hg19"}, + "extra_data":[{"url":"http://hgdownload.cse.ucsc.edu/goldenpath/hg19/database/refGene.txt.gz", + "path":"path/to/refGene.txt.gz"}] + }, + {"url":"http://rafalab.jhsph.edu/CGI/model-based-cpg-islands-ce2.txt", + "name":"Rafa CpG islands (ce)", + "extension":"bed", + "metadata":{"dbkey":"ce2"} + }, + {"url":"http://rafalab.jhsph.edu/CGI/model-based-cpg-islands-mm9.txt", + "name":"Rafa CpG islands (mouse)", + "extension":"bed", + "metadata":{"dbkey":"mm9"}, + "extra_data":[{"url":"http://hgdownload.cse.ucsc.edu/goldenpath/mm9/database/refGene.txt.gz", + "path":"path/to/refGene.txt.gz"}] + } +]