Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 42 Next »

Introduction

The Query API is loosely modeled after Facebook's Query Language.

The REST API took inspiration from several successful REST APIs:

See Service API Design for more information regarding the rationale and design details.

Encoding

The primary request and response encoding for the service is JSON. Here's a handy tool to make a blob of JSON more readable: http://jsonformatter.curiousconcept.com/

In responses from the service, dates are serialized as long integers expressing epoch time - the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds. Here's a handy tool to convert from epoch time to human readable dates: http://www.epochconverter.com/

In requests to the service, dates can be serialized either as long integers expressing epoch time or human readable dates in http://www.ietf.org/rfc/rfc3339.txt format such as '2011-01-31' or '2011-01-31T22:00:00'

Security

Eventually these services will be HTTPS only and disallow HTTP. Users will pass something like ?access_token=... as a query parameter for every request to the service

Query API

The Query API is loosely modeled after Facebook's Query Language.

Examples

'Select *' Query

These queries are generally of the form:

SELECT * FROM <data type> [LIMIT <#>] [OFFSET <#>]

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/query?query=select+*+from+dataset+limit+3+offset+1'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:14 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "dataset.Disease": ["Cancer"],
      "dataset.Institution": ["Memorial Sloan Kettering Cancer Center"],
      "dataset.Internal_Name": ["Prostate cancer-MSKCC"],
      "dataset.Number_of_Samples": [261],
      "dataset.Posting_Restriction": ["unspecified"],
      "dataset.QC_statistician": ["Solly Sieberts"],
      "dataset.Species": ["Human"],
      "dataset.Tissue_Tumor": ["Prostate"],
      "dataset.Type": ["GCD"],
      "dataset.citation": ["Integrative genomic profiling of human prostate cancer. Taylor BS et al., Cancer Cell. 2010 Jul 13;18(1):11-22.  "],
      "dataset.creationDate": 1302568102316,
      "dataset.creator": "Charles Sawyers",
      "dataset.curator": ["Matt Furia"],
      "dataset.description": "Genetic and epigenetic alterations have been identified that lead to transcriptional Annotation of prostate cancer genomes provides a foundation for discoveries that can impact disease understanding and treatment. Concordant assessment of DNA copy number, mRNA expression, and focused exon resequencing in the 218 prostate cancer tumors represented in this dataset haveidentified the nuclear receptor coactivator NCOA2 as an oncogene in approximately 11% of tumors. Additionally, the androgen-driven TMPRSS2-ERG fusion was associated with a previously unrecognized, prostate-specific deletion at chromosome 3p14 that implicates FOXP1, RYBP, and SHQ1 as potential cooperative tumor suppressors. DNA copy-number data from primary tumors revealed that copy-number alterations robustly define clusters of low- and high-risk disease beyond that achieved by Gleason score.  ",
      "dataset.hasClinicalData": true,
      "dataset.hasExpressionData": true,
      "dataset.hasGeneticData": true,
      "dataset.id": "0",
      "dataset.last_modified_date": [1236297600000],
      "dataset.name": "MSKCC Prostate Cancer",
      "dataset.number_of_downloads": [32],
      "dataset.number_of_followers": [7],
      "dataset.pubmed_id": [20579941],
      "dataset.releaseDate": 1221350400000,
      "dataset.status": "Current",
      "dataset.version": "1.0.0"
    },
    {
      "dataset.Disease": ["Metabolic Disease"],
      "dataset.Institution": ["UCLA"],
      "dataset.Internal_Name": ["BxD"],
      "dataset.Number_of_Samples": [111],
      "dataset.Posting_Restriction": ["No Restriction"],
      "dataset.QC_statistician": ["Solly Sieberts"],
      "dataset.Species": ["Mouse"],
      "dataset.Tissue_Tumor": ["Liver"],
      "dataset.Type": ["GCD"],
      "dataset.citation": ["Genetic loci determining bone density in mice with diet-induced atherosclerosis.  Drake TA, Schadt E, Hannani K, Kabo JM, Krass K, Colinayo V, Greaser LE 3rd, Goldin J, Lusis AJ. Physiol Genomics. 2001 Apr 27;5(4):205-15. PMID: 11328966   Genetics of gene expression surveyed in maize, mouse and man. Schadt EE, Monks SA, Drake TA, Lusis AJ, Che N, Colinayo V, Ruff TG, Milligan SB, Lamb JR, Cavet G, Linsley PS, Mao M, Stoughton RB, Friend SH. Nature. 2003 Mar 20;422(6929):297-302.PMID: 12646919 "],
      "dataset.creationDate": 1302568103260,
      "dataset.creator": "Jake Lusis",
      "dataset.curator": ["Matt Furia"],
      "dataset.description": "111 female F2 progeny of a C57BL/6J and DBA/2J intercross were examined for multiple measures of femoral bone mass, density, and biomechanical properties using both computerized tomographic and radiographic methods. In addition, body weight and length, adipose tissue mass, plasma lipids and insulin, and aortic fatty lesions were assessed. Mice were on a rodent chow diet up to 12 months of age, and then switched to an atherogenic high-fat, high-cholesterol diet for another 4 months. Mice were killed at 16 months of age.  Liver tissue was profiled for expression traits using a custom mouse gene oligonucleotide microarray (Rosetta Inpharmatics) that contained 23,574 non-control oligonucleotide probes for mouse genes and 2,186 control probes. All microarrays were custom ink-jet microarrays fabricated by Agilent Technologies. A complete linkage map for all chromosomes except Y in mouse was constructed at an average density of 13cM using microsatellite markers. ",
      "dataset.hasClinicalData": true,
      "dataset.hasExpressionData": true,
      "dataset.hasGeneticData": true,
      "dataset.id": "1",
      "dataset.last_modified_date": [1290384000000],
      "dataset.name": "Mouse Model of Diet-Induced Atherosclerosis",
      "dataset.number_of_downloads": [60],
      "dataset.number_of_followers": [101],
      "dataset.pubmed_id": [18406497],
      "dataset.releaseDate": 1280966400000,
      "dataset.status": "Current",
      "dataset.version": "1.0.0"
    },
    {
      "dataset.Disease": ["CVD"],
      "dataset.Institution": ["UCLA"],
      "dataset.Internal_Name": ["BxH ApoE"],
      "dataset.Number_of_Samples": [334],
      "dataset.Posting_Restriction": ["No Restriction"],
      "dataset.QC_statistician": ["Solly Sieberts"],
      "dataset.Species": ["Mouse"],
      "dataset.Tissue_Tumor": [
        "Muscle",
        "Liver",
        "Brain",
        "Adipose"
      ],
      "dataset.Type": ["GCD"],
      "dataset.citation": ["Integrating genetic and network analysis to characterize genes related to mouse weight. Ghazalpour, A., et al., PLoS Genet, 2006. 2(8): p. e130.  Dosage compensation is less effective in birds than in mammals. Itoh, Y., et al., J Biol, 2007. 6(1): p. 2.  Elucidating the murine brain transcriptional network in a segregating mouse population to identify core functional modules for obesity and diabetes.  Lum, P.Y., et al., J Neurochem, 2006. 97 Suppl 1: p. 50-62.  Identification of Abcc6 as the major causal gene for dystrophic cardiac calcification in mice through integrative genomics. Meng, H., et al. Proc Natl Acad Sci U S A, 2007. 104(11): p. 4530-5.  Mapping the genetic architecture of gene expression in human liver. Schadt, E.E., et al.,  PLoS Biol, 2008. 6(5): p. e107.  Elucidating the role of gonadal hormones in sexually dimorphic gene coexpression networks.  van Nas, A., et al., Endocrinology, 2009. 150(3): p. 1235-49.  Identification of pathways for atherosclerosis in mice: integration of quantitative trait locus analysis and global gene expression data. Wang, S.S., et al., Circ Res, 2007. 101(3): p. e11-30.  Tissue-specific expression and regulation of sexually dimorphic genes in mice. Yang, X., et al., Genome Res, 2006. 16(8): p. 995-1004. "],
      "dataset.creationDate": 1302568103777,
      "dataset.creator": "Jake Lusis",
      "dataset.curator": ["Matt Furia"],
      "dataset.description": "C57BL/6J and C3H/HeJ inbred mouse strains exhibit dramatically different cardiovascular and metabolic phenotypes on the hyperlipidemic apolipoprotein E (Apoe) null background.  In order to identify the genes that contribute to these differences, we constructed an F2 intercross between the B6.Apoe-/- and C3H.Apoe-/- strains consisting of 334 animals.  The mice were fed on a chow diet until 8 weeks of age, then fed a high fat (42% fat) \"western\" diet for 16 weeks to exacerbate the phenotypes and euthanized at 24 weeks of age via cervical dislocation.  Prior to death, mice were fasted for 4 hours in the morning, anesthetized using Isoflurane, and weighed.   Blood was collected by retro-orbital bleed; plasma was frozen at -800C.  We measured plasma cholesterol, HDL, LDL, triglycerides, free fatty acids, glucose, insulin, leptin, adiponectin and PON1 activity levels.  Liver, brain, skeletal muscle (hamstring) and adipose (gonadal fat pad) were flash frozen in liquid nitrogen. RNA was isolated from the tissues using the Trizol method and utilized in microarray analysis on a custom 60mer Agilent chip (reference for chip would be useful).  Hepatic cholesterol, triglyceride and free fatty acid levels were also measured.  Hearts and aortae were extracted, perfused and fixed for atherosclerotic lesion analysis.  The aortic arch was serially sectioned through to the aortic sinus with every fifth 10um section stained with hematoxylin and oil-red-o, which specifically stains lipids.  Slides were examined by light microscopy.  The fatty streak lesion area was quantified using an ocular with a grid; forty sections per mouse were quantified and averaged.  Vascular calcification and aneurysm formation were also measured in a semi-quantitative manner based on presence or absence and size or severity. DNA was isolated from kidney using a phenol chloroform extraction method.  The mice were genotyped at 1500 SNPs using the ParAllele molecular inversion probe technology; 1353 SNPs passed quality control for a final marker density of 1.5cM. ",
      "dataset.hasClinicalData": true,
      "dataset.hasExpressionData": true,
      "dataset.hasGeneticData": true,
      "dataset.id": "2",
      "dataset.last_modified_date": [1315699200000],
      "dataset.name": "Mouse Model of Sexually Dimorphic Atherosclerotic Traits",
      "dataset.number_of_downloads": [24],
      "dataset.number_of_followers": [93],
      "dataset.pubmed_id": [19147482],
      "dataset.releaseDate": 1252454400000,
      "dataset.status": "Current",
      "dataset.version": "1.0.0"
    }
  ],
  "totalNumberOfResults": 115
}

'Order By' Query

These queries are generally of the form:

SELECT * FROM <data type> ORDER BY <field name> [ASC|DESC] [LIMIT <#>] [OFFSET #]

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/query?query=select+*+from+dataset+order+by+Number_of_Samples+DESC+limit+3+offset+1'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:14 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "dataset.Disease": ["Multiple"],
      "dataset.Institution": ["NHLBI"],
      "dataset.Internal_Name": ["Framingham"],
      "dataset.Number_of_Samples": [5000],
      "dataset.Posting_Restriction": ["Link to data source"],
      "dataset.QC_statistician": [""],
      "dataset.Species": ["Human"],
      "dataset.Tissue_Tumor": ["Blood"],
      "dataset.Type": ["GCD"],
      "dataset.citation": ["Genetics of the Framingham Heart Study population.  Govindaraju DR, Cupples LA, Kannel WB, O'Donnell CJ, Atwood LD, D'Agostino RB Sr, Fox CS, Larson M, Levy D, Murabito J, Vasan RS, Splansky GL, Wolf PA, Benjamin EJ.Adv Genet. 2008;62:33-65.  http://www.framinghamheartstudy.org/ "],
      "dataset.creationDate": 1302568119700,
      "dataset.creator": "Dan Levy",
      "dataset.curator": [""],
      "dataset.description": "The Framingham Heart Study comprises a longitudinal three-generation population study (n~15,000). Genotyping at 500K SNPs is available for ~9,500 individuals and gene expression for blood on 5,000-7,000. Phenotypes in the cohort include serum lipid/cholesterol, CRP, glucose levels, adiposity measures, hypertension, T2D, chronic kidney disease, imaging measures and heart disease outcomes (MI, failure) ",
      "dataset.hasClinicalData": false,
      "dataset.hasExpressionData": true,
      "dataset.hasGeneticData": false,
      "dataset.id": "36",
      "dataset.last_modified_date": [1246838400000],
      "dataset.name": "Framingham Heart Study",
      "dataset.number_of_downloads": [42],
      "dataset.number_of_followers": [115],
      "dataset.pubmed_id": [18201960],
      "dataset.releaseDate": 1210032000000,
      "dataset.status": "Future",
      "dataset.version": "1.0.0"
    },
    {
      "dataset.Disease": ["Cancer"],
      "dataset.Institution": ["Asian Cancer Research Group, Inc., (ACRG)"],
      "dataset.Internal_Name": ["ACRG_lung"],
      "dataset.Number_of_Samples": [2000],
      "dataset.Posting_Restriction": ["unspecified"],
      "dataset.QC_statistician": [""],
      "dataset.Species": ["Human"],
      "dataset.Tissue_Tumor": ["Lung"],
      "dataset.Type": ["GCD"],
      "dataset.citation": ["This study is not yet published.   "],
      "dataset.creationDate": 1302568110061,
      "dataset.creator": "Asian Cancer Research Group, Inc., (ACRG)",
      "dataset.curator": [""],
      "dataset.description": "Eli Lilly and Company, Merck, and Pfizer Inc. have formed the Asian Cancer Research Group, Inc., (ACRG), an independent, not-for-profit company established to accelerate research and ultimately improve treatment for patients affected with the most commonly-diagnosed cancers in Asia. Over the next two years ACRG have committed to create one of the most extensive pharmacogenomic cancer databases known to date. This database will be composed of data from approximately 2,000 tissue samples from patients with lung and gastric cancer that will be made publicly available to researchers and, over time, further populated with clinical data from a longitudinal analysis of patients. Comparison of the contrasting genomic signatures of these cancers could inform new approaches to treatment ",
      "dataset.hasClinicalData": true,
      "dataset.hasExpressionData": true,
      "dataset.hasGeneticData": true,
      "dataset.id": "15",
      "dataset.last_modified_date": [1319500800000],
      "dataset.name": "Lung Cancer ACRG",
      "dataset.number_of_downloads": [34],
      "dataset.number_of_followers": [83],
      "dataset.pubmed_id": [21821572],
      "dataset.releaseDate": 1267660800000,
      "dataset.status": "Future",
      "dataset.version": "1.0.0"
    },
    {
      "dataset.Disease": ["Cancer"],
      "dataset.Institution": ["Asian Cancer Research Group, Inc., (ACRG)"],
      "dataset.Internal_Name": ["ACRG_gastric"],
      "dataset.Number_of_Samples": [2000],
      "dataset.Posting_Restriction": ["unspecified"],
      "dataset.QC_statistician": [""],
      "dataset.Species": ["Human"],
      "dataset.Tissue_Tumor": ["Stomach"],
      "dataset.Type": ["GCD"],
      "dataset.citation": ["This study is not yet published. "],
      "dataset.creationDate": 1302568109632,
      "dataset.creator": "Asian Cancer Research Group, Inc., (ACRG)",
      "dataset.curator": [""],
      "dataset.description": "Eli Lilly and Company, Merck, and Pfizer Inc. have formed the Asian Cancer Research Group, Inc., (ACRG), an independent, not-for-profit company established to accelerate research and ultimately improve treatment for patients affected with the most commonly-diagnosed cancers in Asia. Over the next two years ACRG have committed to create one of the most extensive pharmacogenomic cancer databases known to date. This database will be composed of data from approximately 2,000 tissue samples from patients with lung and gastric cancer that will be made publicly available to researchers and, over time, further populated with clinical data from a longitudinal analysis of patients. Comparison of the contrasting genomic signatures of these cancers could inform new approaches to treatment ",
      "dataset.hasClinicalData": true,
      "dataset.hasExpressionData": true,
      "dataset.hasGeneticData": true,
      "dataset.id": "14",
      "dataset.last_modified_date": [1288915200000],
      "dataset.name": "Gastric Cancer ACRG",
      "dataset.number_of_downloads": [55],
      "dataset.number_of_followers": [79],
      "dataset.pubmed_id": [20705566],
      "dataset.releaseDate": 1215129600000,
      "dataset.status": "Future",
      "dataset.version": "1.0.0"
    }
  ],
  "totalNumberOfResults": 115
}

Single clause 'Where' Query

These queries are generally of the form:

SELECT * FROM <data type> WHERE <expression> (AND <expression>)* [LIMIT <#>] [OFFSET #]

<expresssion> := <field name> <operator> <value>

<value> should be in quotes for strings, but not numbers (i.e. name == "Smith" AND size > 10)

Curently supported <operators> with their required URL escape codes:

Operator

Value

URL Escape Code

Equal

==

%3D%3D

Does Not equal

!=

!%3D

Greater Than

>

%3E

Less than

<

%3C

Greater than or equals

>=

%3E%3D

Less than or equals

<=

%3C%3D

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/query?query=select+*+from+dataset+where+name+==+%22MSKCC+Prostate+Cancer%22'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:14 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [{
    "dataset.Disease": ["Cancer"],
    "dataset.Institution": ["Memorial Sloan Kettering Cancer Center"],
    "dataset.Internal_Name": ["Prostate cancer-MSKCC"],
    "dataset.Number_of_Samples": [261],
    "dataset.Posting_Restriction": ["unspecified"],
    "dataset.QC_statistician": ["Solly Sieberts"],
    "dataset.Species": ["Human"],
    "dataset.Tissue_Tumor": ["Prostate"],
    "dataset.Type": ["GCD"],
    "dataset.citation": ["Integrative genomic profiling of human prostate cancer. Taylor BS et al., Cancer Cell. 2010 Jul 13;18(1):11-22.  "],
    "dataset.creationDate": 1302568102316,
    "dataset.creator": "Charles Sawyers",
    "dataset.curator": ["Matt Furia"],
    "dataset.description": "Genetic and epigenetic alterations have been identified that lead to transcriptional Annotation of prostate cancer genomes provides a foundation for discoveries that can impact disease understanding and treatment. Concordant assessment of DNA copy number, mRNA expression, and focused exon resequencing in the 218 prostate cancer tumors represented in this dataset haveidentified the nuclear receptor coactivator NCOA2 as an oncogene in approximately 11% of tumors. Additionally, the androgen-driven TMPRSS2-ERG fusion was associated with a previously unrecognized, prostate-specific deletion at chromosome 3p14 that implicates FOXP1, RYBP, and SHQ1 as potential cooperative tumor suppressors. DNA copy-number data from primary tumors revealed that copy-number alterations robustly define clusters of low- and high-risk disease beyond that achieved by Gleason score.  ",
    "dataset.hasClinicalData": true,
    "dataset.hasExpressionData": true,
    "dataset.hasGeneticData": true,
    "dataset.id": "0",
    "dataset.last_modified_date": [1236297600000],
    "dataset.name": "MSKCC Prostate Cancer",
    "dataset.number_of_downloads": [32],
    "dataset.number_of_followers": [7],
    "dataset.pubmed_id": [20579941],
    "dataset.releaseDate": 1221350400000,
    "dataset.status": "Current",
    "dataset.version": "1.0.0"
  }],
  "totalNumberOfResults": 1
}

Multiple clause 'Where' Query

These queries are generally of the form:

SELECT * FROM <data type> WHERE <expression> (AND <expression>)* [LIMIT <#>] [OFFSET #]

<expresssion> := <field name> <operator> <value>

<value> should be in quotes for strings, but not numbers (i.e. name == "Smith" AND size > 10)

Curently supported <operators> with their required URL escape codes:

Operator

Value

URL Escape Code

Equal

==

%3D%3D

Does Not equal

!=

!%3D

Greater Than

>

%3E

Less than

<

%3C

Greater than or equals

>=

%3E%3D

Less than or equals

<=

%3C%3D

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/query?query=select+*+from+dataset+where+dataset.Species+==+%22Human%22+and+dataset.Number_of_Samples+%3E+100+limit+3+offset+1'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:14 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "dataset.Disease": ["Cancer"],
      "dataset.Institution": ["Memorial Sloan Kettering Cancer Center"],
      "dataset.Internal_Name": ["Prostate cancer-MSKCC"],
      "dataset.Number_of_Samples": [261],
      "dataset.Posting_Restriction": ["unspecified"],
      "dataset.QC_statistician": ["Solly Sieberts"],
      "dataset.Species": ["Human"],
      "dataset.Tissue_Tumor": ["Prostate"],
      "dataset.Type": ["GCD"],
      "dataset.citation": ["Integrative genomic profiling of human prostate cancer. Taylor BS et al., Cancer Cell. 2010 Jul 13;18(1):11-22.  "],
      "dataset.creationDate": 1302568102316,
      "dataset.creator": "Charles Sawyers",
      "dataset.curator": ["Matt Furia"],
      "dataset.description": "Genetic and epigenetic alterations have been identified that lead to transcriptional Annotation of prostate cancer genomes provides a foundation for discoveries that can impact disease understanding and treatment. Concordant assessment of DNA copy number, mRNA expression, and focused exon resequencing in the 218 prostate cancer tumors represented in this dataset haveidentified the nuclear receptor coactivator NCOA2 as an oncogene in approximately 11% of tumors. Additionally, the androgen-driven TMPRSS2-ERG fusion was associated with a previously unrecognized, prostate-specific deletion at chromosome 3p14 that implicates FOXP1, RYBP, and SHQ1 as potential cooperative tumor suppressors. DNA copy-number data from primary tumors revealed that copy-number alterations robustly define clusters of low- and high-risk disease beyond that achieved by Gleason score.  ",
      "dataset.hasClinicalData": true,
      "dataset.hasExpressionData": true,
      "dataset.hasGeneticData": true,
      "dataset.id": "0",
      "dataset.last_modified_date": [1236297600000],
      "dataset.name": "MSKCC Prostate Cancer",
      "dataset.number_of_downloads": [32],
      "dataset.number_of_followers": [7],
      "dataset.pubmed_id": [20579941],
      "dataset.releaseDate": 1221350400000,
      "dataset.status": "Current",
      "dataset.version": "1.0.0"
    },
    {
      "dataset.Disease": ["CVD"],
      "dataset.Institution": ["Vanderbilt University/ University of Pittsburg/ StJudes Hospital"],
      "dataset.Internal_Name": ["Deliver"],
      "dataset.Number_of_Samples": [517],
      "dataset.Posting_Restriction": ["Link to data source"],
      "dataset.QC_statistician": ["Solly Sieberts"],
      "dataset.Species": ["Human"],
      "dataset.Tissue_Tumor": ["Liver"],
      "dataset.Type": ["GCD"],
      "dataset.citation": ["Mapping the genetic architecture of gene expression in human liver. Eric E. Schadt, Cliona Molony, Eugene Chudin, Ke Hao, Xia Yang, Pek Y. Lum, Andrew Kasarskis, Bin Zhang, Susanna Wang, Christine Suver, Jun Zhu, Joshua Millstein, Solveig Sieberts, John Lamb, Debraj GuhaThakurta, Jonathan Derry, John D. Storey, Iliana Avila-Campillo, Mark J. Kruger, Jason M. Johnson, Carol A. Rohl, Atila van Nas, Margarete Mehrabian, Thomas A. Drake, Aldons J. Lusis, Ryan C. Smith, F. Peter Guengerich, Stephen C. Strom, Erin Schuetz, Thomas H. Rushmore, Roger Ulrich. PLoS Biol, 2008. 6(5): p. e107. PMID: 18462017 \t \t Systematic Genetic and Genomic Analysis of Cytochrome P450 Enzyme Activities in Human Liver. Xia Yang, Bin Zhang, Cliona Molony, Eugene Chudin, Ke Hao, Jun Zhu, Christine Suver, Hua Zhong, F. Peter Guengerich, Stephen C. Strom, Erin Schuetz, Thomas H. Rushmore, Roger G. Ulrich, J. Greg Slatter, Eric E. Schadt, Andrew Kasarskis, Pek Yee Lum. Genome Res. 2010 Aug;20(8):1020-36.   "],
      "dataset.creationDate": 1302568104386,
      "dataset.creator": "Fred Guengrich/Steve Strom/ Erin Schuetz",
      "dataset.curator": ["Matt Furia"],
      "dataset.description": "The Human Liver Cohort (HLC) study aimed to characterize the genetic architecture of gene expression in human liver using genotyping, gene expression profiling, and enzyme activity measurements of Cytochrom P450. The HLC was assembled from a total of 780 liver samples screened.  These liver samples were acquired from caucasian individuals from three independant tissue collection centers.   DNA samples were genotyped on the Affymetrix 500K SNP and Illumina 650Y SNP genotyping arrays representing a total of 782,476 unique single nucleotide polymorphisms (SNPs). Only the genotype data from those samples which were collected postmortem are accessible in dbGap and here.  These 228 samples represent a subset of the 427 samples included in the Human Liver Cohort Publication (Schadt, Molony et al. 2008).  RNA samples were profiled on a custom Agilent 44,000 feature microarray composed of 39,280 oligonucleotide probes targeting transcripts representing 34,266 known and predicted genes, including high-confidence, noncoding RNA sequences. Each of the liver samples was processed into cytosol and microsomes using a standard differential centrifugation method. The activities of nine P450 enzymes (CYP1A2, 2A6, 2B6, 2C8, 2C9, 2C19, 2D6, 2E1, and 3A4) in isolated microsomes from 398 HLC liver samples were measured in the microsome preparations using probe substrate metabolism assays  expressed as nmol/min/mg protein.  Each was measured with a single substrate except for the CYP3A4 activity that was measured using two substrates, midazolam and testosterone. ",
      "dataset.hasClinicalData": true,
      "dataset.hasExpressionData": true,
      "dataset.hasGeneticData": false,
      "dataset.id": "3",
      "dataset.last_modified_date": [1307404800000],
      "dataset.name": "Human Liver Cohort",
      "dataset.number_of_downloads": [57],
      "dataset.number_of_followers": [31],
      "dataset.pubmed_id": [16258887],
      "dataset.releaseDate": 1240099200000,
      "dataset.status": "Current",
      "dataset.version": "1.0.0"
    },
    {
      "dataset.Disease": ["Cancer"],
      "dataset.Institution": ["GlaxoSmithKline (GSK)"],
      "dataset.Internal_Name": ["GSK_Cell_Lines"],
      "dataset.Number_of_Samples": [649],
      "dataset.Posting_Restriction": ["unspecified"],
      "dataset.QC_statistician": ["Solly Sieberts"],
      "dataset.Species": ["Human"],
      "dataset.Tissue_Tumor": ["Cell Line"],
      "dataset.Type": ["GCD"],
      "dataset.citation": ["This data set was generated and is provided for public use by GlaxoSmithKline.  https://cabig.nci.nih.gov/caArray_GSKdata/ "],
      "dataset.creationDate": 1302568105441,
      "dataset.creator": "Richard Wooster",
      "dataset.curator": ["Matt Furia"],
      "dataset.description": "GlaxoSmithKline (GSK) has released the genomic profiling data for over 300 cancer cell lines via the National Cancer Institute\u0092s cancer Bioinformatics Grid\u0099 (caBIG). Cancer cell lines can be manipulated in the laboratory and have been used extensively by GSK in the discovery and development of novel cancer therapeutics. These data are available through caArray. ",
      "dataset.hasClinicalData": true,
      "dataset.hasExpressionData": true,
      "dataset.hasGeneticData": true,
      "dataset.id": "5",
      "dataset.last_modified_date": [1257724800000],
      "dataset.name": "Cancer Cell line Panel",
      "dataset.number_of_downloads": [70],
      "dataset.number_of_followers": [51],
      "dataset.pubmed_id": [20290476],
      "dataset.releaseDate": 1229731200000,
      "dataset.status": "Current",
      "dataset.version": "1.0.0"
    }
  ],
  "totalNumberOfResults": 68
}

'Select *' Query for the Layers of a Dataset

These queries are generally of the form:

SELECT * FROM layer WHERE dataset.id == <datasetId> [LIMIT <#>] [OFFSET <#>]

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/query?query=select+*+from+layer+where+dataset.id+==+%220%22'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:14 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "layer.creationDate": 1302568160441,
      "layer.description": null,
      "layer.id": "5",
      "layer.locations": null,
      "layer.name": "Curated phenotypes",
      "layer.numSamples": 261,
      "layer.platform": "NA",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "curated",
      "layer.tissueType": null,
      "layer.type": "C",
      "layer.version": "1.0.0"
    },
    {
      "layer.creationDate": 1302568161120,
      "layer.description": null,
      "layer.id": "6",
      "layer.locations": null,
      "layer.name": "sequencing",
      "layer.numSamples": 50,
      "layer.platform": "iPLEX Sequenom ",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "curated",
      "layer.tissueType": null,
      "layer.type": "G",
      "layer.version": "1.0.0"
    },
    {
      "layer.creationDate": 1302568161785,
      "layer.description": null,
      "layer.id": "7",
      "layer.locations": null,
      "layer.name": "CNV",
      "layer.numSamples": 230,
      "layer.platform": "Agilent 244K array comparative genomic hybridization (aCGH) microarrays",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "curated",
      "layer.tissueType": null,
      "layer.type": "G",
      "layer.version": "1.0.0"
    },
    {
      "layer.creationDate": 1302568162836,
      "layer.description": null,
      "layer.id": "8",
      "layer.locations": null,
      "layer.name": "miRNA expression",
      "layer.numSamples": 142,
      "layer.platform": "Agilent microRNA V2 arrays",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "curated",
      "layer.tissueType": null,
      "layer.type": "E",
      "layer.version": "1.0.0"
    },
    {
      "layer.creationDate": 1302568163715,
      "layer.description": null,
      "layer.id": "9",
      "layer.locations": null,
      "layer.name": "exon expression",
      "layer.numSamples": 184,
      "layer.platform": "Affymetrix Human Exon 1.0 ST array",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "curated",
      "layer.tissueType": null,
      "layer.type": "E",
      "layer.version": "1.0.0"
    },
    {
      "layer.creationDate": 1302568164559,
      "layer.description": null,
      "layer.id": "10",
      "layer.locations": null,
      "layer.name": "QCed phenotypes",
      "layer.numSamples": 261,
      "layer.platform": "NA",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "QCed",
      "layer.tissueType": null,
      "layer.type": "C",
      "layer.version": "1.0.0"
    }
  ],
  "totalNumberOfResults": 6
}

'Order By' Query for the Layers of a Dataset

These queries are generally of the form:

SELECT * FROM layer WHERE dataset.id == <datasetId> ORDER BY <field name> [ASC|DESC] [LIMIT <#>] [OFFSET <#>]

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/query?query=select+*+from+layer+where+dataset.id+==+%220%22+ORDER+BY+type'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:14 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "layer.creationDate": 1302568164559,
      "layer.description": null,
      "layer.id": "10",
      "layer.locations": null,
      "layer.name": "QCed phenotypes",
      "layer.numSamples": 261,
      "layer.platform": "NA",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "QCed",
      "layer.tissueType": null,
      "layer.type": "C",
      "layer.version": "1.0.0"
    },
    {
      "layer.creationDate": 1302568160441,
      "layer.description": null,
      "layer.id": "5",
      "layer.locations": null,
      "layer.name": "Curated phenotypes",
      "layer.numSamples": 261,
      "layer.platform": "NA",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "curated",
      "layer.tissueType": null,
      "layer.type": "C",
      "layer.version": "1.0.0"
    },
    {
      "layer.creationDate": 1302568163715,
      "layer.description": null,
      "layer.id": "9",
      "layer.locations": null,
      "layer.name": "exon expression",
      "layer.numSamples": 184,
      "layer.platform": "Affymetrix Human Exon 1.0 ST array",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "curated",
      "layer.tissueType": null,
      "layer.type": "E",
      "layer.version": "1.0.0"
    },
    {
      "layer.creationDate": 1302568162836,
      "layer.description": null,
      "layer.id": "8",
      "layer.locations": null,
      "layer.name": "miRNA expression",
      "layer.numSamples": 142,
      "layer.platform": "Agilent microRNA V2 arrays",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "curated",
      "layer.tissueType": null,
      "layer.type": "E",
      "layer.version": "1.0.0"
    },
    {
      "layer.creationDate": 1302568161785,
      "layer.description": null,
      "layer.id": "7",
      "layer.locations": null,
      "layer.name": "CNV",
      "layer.numSamples": 230,
      "layer.platform": "Agilent 244K array comparative genomic hybridization (aCGH) microarrays",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "curated",
      "layer.tissueType": null,
      "layer.type": "G",
      "layer.version": "1.0.0"
    },
    {
      "layer.creationDate": 1302568161120,
      "layer.description": null,
      "layer.id": "6",
      "layer.locations": null,
      "layer.name": "sequencing",
      "layer.numSamples": 50,
      "layer.platform": "iPLEX Sequenom ",
      "layer.preview": null,
      "layer.processingFacility": null,
      "layer.publicationDate": null,
      "layer.qcBy": "Solly Sieberts",
      "layer.qcDate": null,
      "layer.releaseNotes": null,
      "layer.status": "curated",
      "layer.tissueType": null,
      "layer.type": "G",
      "layer.version": "1.0.0"
    }
  ],
  "totalNumberOfResults": 6
}

Schema

Query Response Schema

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/query/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:15 GMT
Server: Apache-Coyote/1.1
Content-Length: 191
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "results": {
      "items": {
        "optional": true,
        "type": "object"
      },
      "optional": true,
      "type": "array"
    },
    "totalNumberOfResults": {
      "optional": true,
      "type": "integer"
    }
  },
  "type": "object"
}

REST API

The REST API took inspiration from several successful REST APIs:

Read-Only Examples

Sanity check request

This is just a 'hello world' type request that you can make to ensure that the service is running.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/test'

Response

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, max-age=0
Content-Language: en-US
Content-Type: application/json;charset=UTF-8
Date: Mon, 18 Apr 2011 20:37:15 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Server: Apache-Coyote/1.1
Content-Length: 35
Connection: keep-alive

{"hello": "REST for Datasets rocks"}

Get All Datasets

Optional Parameters

  • offset - integer - 1-based pagination offset
  • limit - integer - maximum number of results to return
  • sort - string - the name of the field upon which to sort
  • ascending - boolean - whether or not to sort ascending

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset?sort=name&limit=3'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:15 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "paging": {"next": "/repo/v1/dataset?offset=4&limit=3&sort=name&ascending=true"},
  "results": [
    {
      "annotations": "/repo/v1/dataset/74/annotations",
      "creationDate": 1302568137419,
      "creator": "Stephen Friend",
      "description": "Clinical outcomes with responder/non-responder status for standard of care therapies. Partial retrospective, partial prospective. Patient-driven. Minimum full exome sequencing. ",
      "etag": "1248583887",
      "hasClinicalData": true,
      "hasExpressionData": true,
      "hasGeneticData": true,
      "id": "74",
      "layer": "/repo/v1/dataset/74/layer",
      "name": "AML Nonresponders Cohort",
      "releaseDate": 1301270400000,
      "status": "Future",
      "uri": "/repo/v1/dataset/74",
      "version": "1.0.0"
    },
    {
      "annotations": "/repo/v1/dataset/93/annotations",
      "creationDate": 1302568145722,
      "creator": "TCGA",
      "description": "The Cancer Genome Atlas is generating multiple levels of genomic information on a panel of 500 AML tumor samples.  For more information, go to: http://tcga-data.nci.nih.gov/tcga/tcgaHome2.jsp  ",
      "etag": "-1084806018",
      "hasClinicalData": true,
      "hasExpressionData": true,
      "hasGeneticData": true,
      "id": "93",
      "layer": "/repo/v1/dataset/93/layer",
      "name": "AML TCGA",
      "releaseDate": 1258243200000,
      "status": "Future",
      "uri": "/repo/v1/dataset/93",
      "version": "1.0.0"
    },
    {
      "annotations": "/repo/v1/dataset/32/annotations",
      "creationDate": 1302568117915,
      "creator": "Cookson",
      "description": "We have created a global map of the effects of polymorphism on gene expression in 400 children from families recruited through a proband with asthma. We genotyped 408,273 SNPs and identified expression quantitative trait loci from measurements of 54,675 transcripts representing 20,599 genes in Epstein-Barr virus-transformed lymphoblastoid cell lines. We found that 15,084 transcripts (28%) representing 6,660 genes had narrow-sense heritabilities (H2) > 0.3. We executed genome-wide association scans for these traits and found peak lod scores between 3.68 and 59.1. The most highly heritable traits were markedly enriched in Gene Ontology descriptors for response to unfolded protein (chaperonins and heat shock proteins), regulation of progression through the cell cycle, RNA processing, DNA repair, immune responses and apoptosis. SNPs that regulate expression of these genes are candidates in the study of degenerative diseases, malignancy, infection and inflammation. We have created a downloadable database to facilitate use of our findings in the mapping of complex disease loci. ",
      "etag": "1177058351",
      "hasClinicalData": true,
      "hasExpressionData": true,
      "hasGeneticData": true,
      "id": "32",
      "layer": "/repo/v1/dataset/32/layer",
      "name": "Asthma Human Lymphoblastoid Cell Lines",
      "releaseDate": 1241395200000,
      "status": "Future",
      "uri": "/repo/v1/dataset/32",
      "version": "1.0.0"
    }
  ],
  "totalNumberOfResults": 115
}

Get a Dataset

This returns the primary fields of a dataset and links to get additional info.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:15 GMT
ETag: -1870065653
Server: Apache-Coyote/1.1
Content-Length: 1248
Connection: keep-alive

{
  "annotations": "/repo/v1/dataset/0/annotations",
  "creationDate": 1302568102316,
  "creator": "Charles Sawyers",
  "description": "Genetic and epigenetic alterations have been identified that lead to transcriptional Annotation of prostate cancer genomes provides a foundation for discoveries that can impact disease understanding and treatment. Concordant assessment of DNA copy number, mRNA expression, and focused exon resequencing in the 218 prostate cancer tumors represented in this dataset haveidentified the nuclear receptor coactivator NCOA2 as an oncogene in approximately 11% of tumors. Additionally, the androgen-driven TMPRSS2-ERG fusion was associated with a previously unrecognized, prostate-specific deletion at chromosome 3p14 that implicates FOXP1, RYBP, and SHQ1 as potential cooperative tumor suppressors. DNA copy-number data from primary tumors revealed that copy-number alterations robustly define clusters of low- and high-risk disease beyond that achieved by Gleason score.  ",
  "etag": "-1870065653",
  "hasClinicalData": true,
  "hasExpressionData": true,
  "hasGeneticData": true,
  "id": "0",
  "layer": "/repo/v1/dataset/0/layer",
  "name": "MSKCC Prostate Cancer",
  "releaseDate": 1221350400000,
  "status": "Current",
  "uri": "/repo/v1/dataset/0",
  "version": "1.0.0"
}

Get Annotations for a Dataset

This returns the annotations for a dataset.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/annotations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:15 GMT
ETag: -824355212
Server: Apache-Coyote/1.1
Content-Length: 725
Connection: keep-alive

{
  "creationDate": null,
  "dateAnnotations": {"last_modified_date": [1236297600000]},
  "doubleAnnotations": {},
  "etag": "-824355212",
  "id": "0",
  "longAnnotations": {
    "Number_of_Samples": [261],
    "number_of_downloads": [32],
    "number_of_followers": [7],
    "pubmed_id": [20579941]
  },
  "stringAnnotations": {
    "Disease": ["Cancer"],
    "Institution": ["Memorial Sloan Kettering Cancer Center"],
    "Internal_Name": ["Prostate cancer-MSKCC"],
    "Posting_Restriction": ["unspecified"],
    "QC_statistician": ["Solly Sieberts"],
    "Species": ["Human"],
    "Tissue_Tumor": ["Prostate"],
    "Type": ["GCD"],
    "citation": ["Integrative genomic profiling of human prostate cancer. Taylor BS et al., Cancer Cell. 2010 Jul 13;18(1):11-22.  "],
    "curator": ["Matt Furia"]
  },
  "uri": "/repo/v1/dataset/0/annotations"
}

Get all the Layers for a Dataset

This returns the primary fields for all the layers of a dataset.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:15 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "paging": {},
  "results": [
    {
      "annotations": "/repo/v1/dataset/0/layer/7/annotations",
      "creationDate": 1302568161785,
      "description": null,
      "etag": "912696195",
      "id": "7",
      "locations": [
        "/repo/v1/dataset/0/layer/7/awsS3Location",
        "/repo/v1/dataset/0/layer/7/sageLocation",
        "/repo/v1/dataset/0/layer/7/locations"
      ],
      "name": "CNV",
      "numSamples": 230,
      "platform": "Agilent 244K array comparative genomic hybridization (aCGH) microarrays",
      "preview": "/repo/v1/dataset/0/layer/7/preview",
      "processingFacility": null,
      "publicationDate": null,
      "qcBy": "Solly Sieberts",
      "qcDate": null,
      "releaseNotes": null,
      "status": "curated",
      "tissueType": null,
      "type": "G",
      "uri": "/repo/v1/dataset/0/layer/7",
      "version": "1.0.0"
    },
    {
      "annotations": "/repo/v1/dataset/0/layer/8/annotations",
      "creationDate": 1302568162836,
      "description": null,
      "etag": "690264258",
      "id": "8",
      "locations": [
        "/repo/v1/dataset/0/layer/8/sageLocation",
        "/repo/v1/dataset/0/layer/8/awsS3Location",
        "/repo/v1/dataset/0/layer/8/locations"
      ],
      "name": "miRNA expression",
      "numSamples": 142,
      "platform": "Agilent microRNA V2 arrays",
      "preview": "/repo/v1/dataset/0/layer/8/preview",
      "processingFacility": null,
      "publicationDate": null,
      "qcBy": "Solly Sieberts",
      "qcDate": null,
      "releaseNotes": null,
      "status": "curated",
      "tissueType": null,
      "type": "E",
      "uri": "/repo/v1/dataset/0/layer/8",
      "version": "1.0.0"
    },
    {
      "annotations": "/repo/v1/dataset/0/layer/5/annotations",
      "creationDate": 1302568160441,
      "description": null,
      "etag": "-2139733931",
      "id": "5",
      "locations": [
        "/repo/v1/dataset/0/layer/5/locations",
        "/repo/v1/dataset/0/layer/5/awsS3Location",
        "/repo/v1/dataset/0/layer/5/sageLocation"
      ],
      "name": "Curated phenotypes",
      "numSamples": 261,
      "platform": "NA",
      "preview": "/repo/v1/dataset/0/layer/5/preview",
      "processingFacility": null,
      "publicationDate": null,
      "qcBy": "Solly Sieberts",
      "qcDate": null,
      "releaseNotes": null,
      "status": "curated",
      "tissueType": null,
      "type": "C",
      "uri": "/repo/v1/dataset/0/layer/5",
      "version": "1.0.0"
    },
    {
      "annotations": "/repo/v1/dataset/0/layer/6/annotations",
      "creationDate": 1302568161120,
      "description": null,
      "etag": "33552891",
      "id": "6",
      "locations": [
        "/repo/v1/dataset/0/layer/6/locations",
        "/repo/v1/dataset/0/layer/6/awsS3Location",
        "/repo/v1/dataset/0/layer/6/sageLocation"
      ],
      "name": "sequencing",
      "numSamples": 50,
      "platform": "iPLEX Sequenom ",
      "preview": "/repo/v1/dataset/0/layer/6/preview",
      "processingFacility": null,
      "publicationDate": null,
      "qcBy": "Solly Sieberts",
      "qcDate": null,
      "releaseNotes": null,
      "status": "curated",
      "tissueType": null,
      "type": "G",
      "uri": "/repo/v1/dataset/0/layer/6",
      "version": "1.0.0"
    },
    {
      "annotations": "/repo/v1/dataset/0/layer/9/annotations",
      "creationDate": 1302568163715,
      "description": null,
      "etag": "-2003554756",
      "id": "9",
      "locations": [
        "/repo/v1/dataset/0/layer/9/awsS3Location",
        "/repo/v1/dataset/0/layer/9/locations",
        "/repo/v1/dataset/0/layer/9/sageLocation"
      ],
      "name": "exon expression",
      "numSamples": 184,
      "platform": "Affymetrix Human Exon 1.0 ST array",
      "preview": "/repo/v1/dataset/0/layer/9/preview",
      "processingFacility": null,
      "publicationDate": null,
      "qcBy": "Solly Sieberts",
      "qcDate": null,
      "releaseNotes": null,
      "status": "curated",
      "tissueType": null,
      "type": "E",
      "uri": "/repo/v1/dataset/0/layer/9",
      "version": "1.0.0"
    },
    {
      "annotations": "/repo/v1/dataset/0/layer/10/annotations",
      "creationDate": 1302568164559,
      "description": null,
      "etag": "713166922",
      "id": "10",
      "locations": [
        "/repo/v1/dataset/0/layer/10/locations",
        "/repo/v1/dataset/0/layer/10/sageLocation",
        "/repo/v1/dataset/0/layer/10/awsS3Location"
      ],
      "name": "QCed phenotypes",
      "numSamples": 261,
      "platform": "NA",
      "preview": "/repo/v1/dataset/0/layer/10/preview",
      "processingFacility": null,
      "publicationDate": null,
      "qcBy": "Solly Sieberts",
      "qcDate": null,
      "releaseNotes": null,
      "status": "QCed",
      "tissueType": null,
      "type": "C",
      "uri": "/repo/v1/dataset/0/layer/10",
      "version": "1.0.0"
    }
  ],
  "totalNumberOfResults": 6
}

Get a Genetic Dataset Layer

This returns the metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/7'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:15 GMT
ETag: 912696195
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "annotations": "/repo/v1/dataset/0/layer/7/annotations",
  "creationDate": 1302568161785,
  "description": null,
  "etag": "912696195",
  "id": "7",
  "locations": [
    "/repo/v1/dataset/0/layer/7/awsS3Location",
    "/repo/v1/dataset/0/layer/7/sageLocation",
    "/repo/v1/dataset/0/layer/7/locations"
  ],
  "name": "CNV",
  "numSamples": 230,
  "platform": "Agilent 244K array comparative genomic hybridization (aCGH) microarrays",
  "preview": "/repo/v1/dataset/0/layer/7/preview",
  "processingFacility": null,
  "publicationDate": null,
  "qcBy": "Solly Sieberts",
  "qcDate": null,
  "releaseNotes": null,
  "status": "curated",
  "tissueType": null,
  "type": "G",
  "uri": "/repo/v1/dataset/0/layer/7",
  "version": "1.0.0"
}

Get Annotations for a Genetic Dataset Layer

This returns the annotations for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/7/annotations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:15 GMT
ETag: 923521
Server: Apache-Coyote/1.1
Content-Length: 181
Connection: keep-alive

{
  "creationDate": null,
  "dateAnnotations": {},
  "doubleAnnotations": {},
  "etag": "923521",
  "id": "7",
  "longAnnotations": {},
  "stringAnnotations": {},
  "uri": "/repo/v1/dataset/0/layer/7/annotations"
}

Get preview data for a Genetic Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/7/preview'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:15 GMT
ETag: -1069572762
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "etag": "-1069572762",
  "id": "7",
  "preview": "feature_id\tPCA0002\tPCA0003\tPCA0004\tPCA0005\tPCA0006\tPCA0007\tPCA0008\tPCA0009\tPCA0010\tPCA0011\tPCA0012\tPCA0013\tPCA0014\tPCA0015\tPCA0016\tPCA0017\tPCA0018\tPCA0019\tPCA0020\tPCA0021\tPCA0022\tPCA0023\tPCA0024\tPCA0025\tPCA0026\tPCA0027\tPCA0028\tPCA0029\tPCA0030\tPCA0031\tPCA0032\tPCA0033\tPCA0034\tPCA0035\tPCA0036\tPCA0037\tPCA0038\tPCA0039\tPCA0040\tPCA0041\tPCA0042\tPCA0043\tPCA0044\tPCA0045\tPCA0046\tPCA0047\tPCA0048\tPCA0049\tPCA0050\tPCA0051\tPCA0052\tPCA0053\tPCA0054\tPCA0055\tPCA0056\tPCA0057\tPCA0058\tPCA0059\tPCA0060\tPCA0061\tPCA0062\tPCA0063\tPCA0064\tPCA0065\tPCA0066\tPCA0067\tPCA0068\tPCA0069\tPCA0070\tPCA0071\tPCA0072\tPCA0073\tPCA0074\tPCA0075\tPCA0076\tPCA0077\tPCA0078\tPCA0079\tPCA0080\tPCA0081\tPCA0082\tPCA0083\tPCA0084\tPCA0085\tPCA0086\tPCA0087\tPCA0088\tPCA0089\tPCA0090\tPCA0091\tPCA0092\tPCA0093\tPCA0094\tPCA0095\tPCA0096\tPCA0097\tPCA0098\tPCA0099\tPCA0100\tPCA0101\tPCA0102\tPCA0103\tPCA0104\tPCA0105\tPCA0106\tPCA0107\tPCA0108\tPCA0109\tPCA0110\tPCA0111\tPCA0112\tPCA0113\tPCA0114\tPCA0115\tPCA0116\tPCA0117\tPCA0118\tPCA0119\tPCA0120\tPCA0121\tPCA0122\tPCA0123\tPCA0124\tPCA0125\tPCA0126\tPCA0127\tPCA0128\tPCA0129\tPCA0130\tPCA0131\tPCA0132\tPCA0133\tPCA0134\tPCA0135\tPCA0136\tPCA0137\tPCA0138\tPCA0139\tPCA0140\tPCA0141\tPCA0142\tPCA0143\tPCA0144\tPCA0145\tPCA0146\tPCA0147\tPCA0148\tPCA0149\tPCA0150\tPCA0151\tPCA0152\tPCA0153\tPCA0154\tPCA0155\tPCA0156\tPCA0157\tPCA0158\tPCA0159\tPCA0160\tPCA0161\tPCA0162\tPCA0163\tPCA0164\tPCA0165\tPCA0166\tPCA0167\tPCA0168\tPCA0169\tPCA0170\tPCA0171\tPCA0172\tPCA0173\tPCA0174\tPCA0175\tPCA0176\tPCA0177\tPCA0178\tPCA0179\tPCA0180\tPCA0181\tPCA0182\tPCA0183\tPCA0184\tPCA0185\tPCA0186\tPCA0187\tPCA0188\tPCA0189\tPCA0190\tPCA0191\tPCA0192\tPCA0193\tPCA0194\tPCA0195\tPCA0196\tPCA0197\tPCA0198\tPCA0199\tPCA0200\tPCA0201\tPCA0202\tPCA0203\tPCA0204\tPCA0205\tPCA0206\tPCA0207\tPCA0208\tPCA0209\tPCA0210\tPCA0211\tPCA0212\tPCA0213\tPCA0214\tPCA0215\tPCA0216\tPCA0217\tPCA0218\tCWR22Rv1\tDU145\tLAPC3-1\tLAPC3-2\tLAPC4-1\tLAPC4-2\tLAPC9\tLNCaP\tLNCaP104S\tLNM971\tLuCAP35\tPC3\tVcap\n1\t1608.491\t1269.951\t1405.541\t1510.969\t1228.259\t1188.69\t1143.172\t1288.091\t1383.684\t1383.766\t1191.807\t2057.115\t1296.508\t1371.561\t1804.667\t1870.15\t1422\t1422.131\t1906.839\t2346.279\t1341.453\t1541.898\t2195.672\t1818.169\t1634.596\t1556.75\t1425.373\t1563.9\t1750.258\t2057.439\t1488.455\t1431.78\t1484.61\t1853.034\t1825.731\t1348.404\t1426.491\t1729.814\t1566.632\t1400.267\t1385.726\t1313.85\t1748.695\t1899.789\t1320.803\t1283.048\t1550.833\t1409.034\t1308.934\t1048.098\t1644.571\t1167.068\t1141.121\t877.6333\t1121.885\t1754.357\t1311.932\t1275.5\t1414.787\t1280.639\t1085.379\t1114\t846.0303\t1416.361\t1654.567\t753.7705\t1823.15\t1677.623\t1426.967\t1513.906\t1559.617\t1238.492\t1582.158\t1394.296\t2031.491\t827.5313\t1792.125\t1799\t1723.02\t1816.574\t2028.481\t1671.667\t1567.328\t1211.905\t1330.245\t1665.686\t1533.442\t1330.839\t1690.98\t2110.167\t1513.731\t1625.19\t1539.49\t1515.073\t1101.138\t1572.667\t1598.907\t1382.915\t1707.836\t1492.625\t1414.943\t1540.296\t1407.019\t1447.109\t1821.808\t1509.218\t1529.463\t1923.308\t1303.392\t1815.255\t1709.056\t1881.389\t1798.873\t1590.189\t1732.404\t1362.375\t1073.582\t1576.314\t1013.596\t1188.792\t1180.508\t1291.63\t1637.963\t1331.672\t1311.759\t1515.836\t1437.81\t1328.367\t1163.179\t1059.463\t833.7258\t1739.435\t1060.52\t1035.113\t929.2931\t1201.583\t1036.891\t879.7455\t1064.766\t927.8302\t1079.608\t1049.245\t950.7547\t829.6964\t957.6429\t1230.647\t1172.745\t932.5091\t2014.183\t2113.23\t1972.632\t1759.627\t1595.25\t2464.034\t1970.017\t1585.982\t1892.07\t2054.304\t1902.654\t1965.39\t2464.869\t2217.397\t1902.283\t1861.721\t2221.6\t1929.051\t1539.917\t1632.267\t1782.831\t2334.65\t2021.895\t1542.2\t1973.322\t1563.468\t2098.05\t1812.356\t842.7833\t1377.373\t1052.382\t920.1967\t746.431\t1485.526\t1720.633\t1472.262\t2031.017\t1816.81\t1479.5\t1415.328\t1499.534\t1983.089\t1864.315\t1430.448\t1495.679\t1679.77\t1388.153\t1820.271\t1940.796\t1968.049\t1773.509\t2401.639\t2420.518\t2145.448\t1304.536\t2159.953\t1241.952\t1783.179\t1742.849\t1563.393\t1216.709\t1600.521\t2216.862\t1563.451\t1688.544\t1448.69\t953.9474\t1104.565\t1164.393\t2225.034\t2058.87\t1624.45\t1403.033\t1980.545\t1856.271\t1767.288\t1706.226\t2153.745\t1099.677\t1589.631\t1926.06\t1956.603\n2\t87.4375\t127.6667\t89.68852\t88.39063\t153.7969\t113.2857\t111.2373\t103.254\t101.65\t94.95313\t125.5167\t100.0968\t101.4375\t99.73846\t154.6825\t106.2951\t128.7167\t119.5606\t83.32813\t88.33871\t123.5\t96.42647\t94.25\t96.62712\t120.9683\t99.52381\t107.4677\t100.9697\t86.40984\t98.85938\t101.6774\t110.0161\t93.41935\t113.9683\t105.4667\t97.54688\t111.7344\t112.3548\t132.0635\t116.4386\t119.7344\t121.3385\t109.4462\t106.0645\t102.5538\t102.4127\t109.2857\t109.6406\t97.39063\t105.5574\t101.9333\t74.8\t111.5\t115.3279\t96.87931\t77.29032\t121.1231\t102.8226\t116.9677\t74.8254\t108.3538\t105.5932\t105.8548\t83.47059\t79.73333\t121.7167\t96.26866\t135.3651\t77.94915\t74.3\t112.4921\t109.8636\t111.0615\t134.4655\t89.71875\t324.4545\t147.7049\t127.4219\t110.5469\t149.6981\t145.0469\t107\t75.06667\t84.8125\t68.51613\t72.60317\t69.34921\t74.9375\t66.21212\t66.76563\t67.92188\t67.34483\t69.46032\t73.70769\t68.14286\t64.20968\t68.36508\t65.93548\t93.79661\t71.95238\t76.01613\t72.28788\t69.98361\t69.84615\t69.69355\t73.33333\t69.66154\t72.73016\t76.70769\t73.85246\t84.63492\t75.10769\t76.09524\t69.98413\t72.60938\t67.92063\t71.42857\t70.40625\t74.15\t64.625\t69.2459\t72.9\t70.34375\t71.95238\t67.87302\t77.70492\t72.51667\t67.46269\t66.87931\t107.7581\t81.92188\t104.7619\t95.41538\t97.65625\t97.22727\t86.52941\t80.28571\t85.4127\t94.98333\t89.375\t100.9841\t93.26154\t102.2576\t91.65079\t116.2105\t124.5833\t87.84483\t118.2188\t84.80645\t57.32787\t115.3651\t58.26563\t70.80645\t140.1475\t77.29032\t52.0625\t62.56897\t151.9194\t91.93846\t53.54098\t88.78462\t110.1094\t78.09677\t56.8254\t56.8\t112.7742\t181.377\t202.4\t68.38095\t167.4127\t64.20968\t69.96667\t92.70492\t184.5849\t81.07813\t80\t116.0769\t78.61905\t94.46774\t122.4444\t77.35\t181.9206\t136.9545\t201.2615\t98.13115\t107.3906\t99.56522\t105.1111\t113.3115\t96.09375\t67.41538\t101.7538\t67.59016\t96.63492\t94.55172\t105.2241\t103.3175\t100.2344\t105.0339\t111.5484\t85.5\t111.4444\t30.48333\t111.8333\t88.46032\t95.76923\t70.71698\t39.87097\t32.98276\t71.75\t93.73016\t67.90323\t88.8\t36.55738\t33.71429\t41.43077\t32.31746\t117.0968\t91.51613\t128.8\t96\t131.7031\t93.13846\t129.4754\t119.7258\t138.322\t109.4638\t128.2419\t100.0645\t95.60606\n3\t87.125\t124.2031\t93.68254\t88.43077\t156.9\t107.8182\t105.8871\t102.7538\t102.6613\t100.2424\t114.1967\t99.07576\t97.54688\t90.4386\t153.2034\t81.92188\t128.0794\t115.0339\t78.05172\t80.82258\t122.6825\t95.83871\t93.81967\t94.95161\t114.5217\t97.69697\t102.85\t102.0317\t82.65625\t100.4\t105.4\t107.25\t97.98387\t116.6719\t111\t97.27692\t117.6393\t119.4921\t134.9464\t111.0794\t119.8667\t116.1587\t111.871\t110.6032\t106.0952\t104.371\t106.4098\t105.1875\t100.4918\t101.2154\t97.82258\t78.50794\t104.1311\t111.2\t101.9508\t80.26154\t121.5556\t100.2344\t119.127\t81.31148\t108.2881\t106.541\t110.6032\t85.66667\t81.87302\t121.5\t97.89231\t140.4462\t77.63077\t76.07576\t111.5714\t103.6406\t110.1094\t137.377\t88.46875\t144.5263\t144.1667\t137.6719\t109.6102\t139.8525\t150.3385\t106.4516\t74.59375\t82.08197\t70.06349\t72.21538\t69.4127\t70.46875\t65.86207\t68.33333\t68.57576\t68.37097\t69.2\t73.8125\t73.98413\t68.41667\t68.91667\t66.27419\t93.50769\t73.92308\t78.32813\t70.35593\t72.55385\t71.69355\t65.78125\t72.4375\t72.51515\t74.45161\t79.53623\t74.74627\t87.35484\t74.60656\t77.25806\t70.57813\t73.66667\t69.0625\t71.09375\t69.56923\t75.6129\t67.39344\t72.01613\t73.20635\t71.56923\t70.08065\t66.51563\t77.68852\t72.28571\t67.90476\t66.76563\t110.4308\t84.45313\t106.6462\t91.81667\t98.87302\t98.48387\t85.12308\t86.01613\t85.11111\t92.8125\t88.56452\t101.8136\t92\t100.0781\t94.62903\t121.9091\t127.3333\t87.36508\t127.871\t83.70769\t56.98387\t119.4286\t56.06061\t68\t144.4545\t76.70492\t54.74603\t64.19048\t156.3793\t84.46667\t55.69492\t88.08197\t108.8095\t75.53846\t55.75385\t55.04688\t110.4355\t161.2656\t205.2459\t69
  "uri": "/repo/v1/dataset/0/layer/7/preview"
}

Get preview data as a map for a Genetic Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/7/previewAsMap'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:16 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "CWR22Rv1": "2225.034",
      "DU145": "2058.87",
      "LAPC3-1": "1624.45",
      "LAPC3-2": "1403.033",
      "LAPC4-1": "1980.545",
      "LAPC4-2": "1856.271",
      "LAPC9": "1767.288",
      "LNCaP": "1706.226",
      "LNCaP104S": "2153.745",
      "LNM971": "1099.677",
      "LuCAP35": "1589.631",
      "PC3": "1926.06",
      "PCA0002": "1608.491",
      "PCA0003": "1269.951",
      "PCA0004": "1405.541",
      "PCA0005": "1510.969",
      "PCA0006": "1228.259",
      "PCA0007": "1188.69",
      "PCA0008": "1143.172",
      "PCA0009": "1288.091",
      "PCA0010": "1383.684",
      "PCA0011": "1383.766",
      "PCA0012": "1191.807",
      "PCA0013": "2057.115",
      "PCA0014": "1296.508",
      "PCA0015": "1371.561",
      "PCA0016": "1804.667",
      "PCA0017": "1870.15",
      "PCA0018": "1422",
      "PCA0019": "1422.131",
      "PCA0020": "1906.839",
      "PCA0021": "2346.279",
      "PCA0022": "1341.453",
      "PCA0023": "1541.898",
      "PCA0024": "2195.672",
      "PCA0025": "1818.169",
      "PCA0026": "1634.596",
      "PCA0027": "1556.75",
      "PCA0028": "1425.373",
      "PCA0029": "1563.9",
      "PCA0030": "1750.258",
      "PCA0031": "2057.439",
      "PCA0032": "1488.455",
      "PCA0033": "1431.78",
      "PCA0034": "1484.61",
      "PCA0035": "1853.034",
      "PCA0036": "1825.731",
      "PCA0037": "1348.404",
      "PCA0038": "1426.491",
      "PCA0039": "1729.814",
      "PCA0040": "1566.632",
      "PCA0041": "1400.267",
      "PCA0042": "1385.726",
      "PCA0043": "1313.85",
      "PCA0044": "1748.695",
      "PCA0045": "1899.789",
      "PCA0046": "1320.803",
      "PCA0047": "1283.048",
      "PCA0048": "1550.833",
      "PCA0049": "1409.034",
      "PCA0050": "1308.934",
      "PCA0051": "1048.098",
      "PCA0052": "1644.571",
      "PCA0053": "1167.068",
      "PCA0054": "1141.121",
      "PCA0055": "877.6333",
      "PCA0056": "1121.885",
      "PCA0057": "1754.357",
      "PCA0058": "1311.932",
      "PCA0059": "1275.5",
      "PCA0060": "1414.787",
      "PCA0061": "1280.639",
      "PCA0062": "1085.379",
      "PCA0063": "1114",
      "PCA0064": "846.0303",
      "PCA0065": "1416.361",
      "PCA0066": "1654.567",
      "PCA0067": "753.7705",
      "PCA0068": "1823.15",
      "PCA0069": "1677.623",
      "PCA0070": "1426.967",
      "PCA0071": "1513.906",
      "PCA0072": "1559.617",
      "PCA0073": "1238.492",
      "PCA0074": "1582.158",
      "PCA0075": "1394.296",
      "PCA0076": "2031.491",
      "PCA0077": "827.5313",
      "PCA0078": "1792.125",
      "PCA0079": "1799",
      "PCA0080": "1723.02",
      "PCA0081": "1816.574",
      "PCA0082": "2028.481",
      "PCA0083": "1671.667",
      "PCA0084": "1567.328",
      "PCA0085": "1211.905",
      "PCA0086": "1330.245",
      "PCA0087": "1665.686",
      "PCA0088": "1533.442",
      "PCA0089": "1330.839",
      "PCA0090": "1690.98",
      "PCA0091": "2110.167",
      "PCA0092": "1513.731",
      "PCA0093": "1625.19",
      "PCA0094": "1539.49",
      "PCA0095": "1515.073",
      "PCA0096": "1101.138",
      "PCA0097": "1572.667",
      "PCA0098": "1598.907",
      "PCA0099": "1382.915",
      "PCA0100": "1707.836",
      "PCA0101": "1492.625",
      "PCA0102": "1414.943",
      "PCA0103": "1540.296",
      "PCA0104": "1407.019",
      "PCA0105": "1447.109",
      "PCA0106": "1821.808",
      "PCA0107": "1509.218",
      "PCA0108": "1529.463",
      "PCA0109": "1923.308",
      "PCA0110": "1303.392",
      "PCA0111": "1815.255",
      "PCA0112": "1709.056",
      "PCA0113": "1881.389",
      "PCA0114": "1798.873",
      "PCA0115": "1590.189",
      "PCA0116": "1732.404",
      "PCA0117": "1362.375",
      "PCA0118": "1073.582",
      "PCA0119": "1576.314",
      "PCA0120": "1013.596",
      "PCA0121": "1188.792",
      "PCA0122": "1180.508",
      "PCA0123": "1291.63",
      "PCA0124": "1637.963",
      "PCA0125": "1331.672",
      "PCA0126": "1311.759",
      "PCA0127": "1515.836",
      "PCA0128": "1437.81",
      "PCA0129": "1328.367",
      "PCA0130": "1163.179",
      "PCA0131": "1059.463",
      "PCA0132": "833.7258",
      "PCA0133": "1739.435",
      "PCA0134": "1060.52",
      "PCA0135": "1035.113",
      "PCA0136": "929.2931",
      "PCA0137": "1201.583",
      "PCA0138": "1036.891",
      "PCA0139": "879.7455",
      "PCA0140": "1064.766",
      "PCA0141": "927.8302",
      "PCA0142": "1079.608",
      "PCA0143": "1049.245",
      "PCA0144": "950.7547",
      "PCA0145": "829.6964",
      "PCA0146": "957.6429",
      "PCA0147": "1230.647",
      "PCA0148": "1172.745",
      "PCA0149": "932.5091",
      "PCA0150": "2014.183",
      "PCA0151": "2113.23",
      "PCA0152": "1972.632",
      "PCA0153": "1759.627",
      "PCA0154": "1595.25",
      "PCA0155": "2464.034",
      "PCA0156": "1970.017",
      "PCA0157": "1585.982",
      "PCA0158": "1892.07",
      "PCA0159": "2054.304",
      "PCA0160": "1902.654",
      "PCA0161": "1965.39",
      "PCA0162": "2464.869",
      "PCA0163": "2217.397",
      "PCA0164": "1902.283",
      "PCA0165": "1861.721",
      "PCA0166": "2221.6",
      "PCA0167": "1929.051",
      "PCA0168": "1539.917",
      "PCA0169": "1632.267",
      "PCA0170": "1782.831",
      "PCA0171": "2334.65",
      "PCA0172": "2021.895",
      "PCA0173": "1542.2",
      "PCA0174": "1973.322",
      "PCA0175": "1563.468",
      "PCA0176": "2098.05",
      "PCA0177": "1812.356",
      "PCA0178": "842.7833",
      "PCA0179": "1377.373",
      "PCA0180": "1052.382",
      "PCA0181": "920.1967",
      "PCA0182": "746.431",
      "PCA0183": "1485.526",
      "PCA0184": "1720.633",
      "PCA0185": "1472.262",
      "PCA0186": "2031.017",
      "PCA0187": "1816.81",
      "PCA0188": "1479.5",
      "PCA0189": "1415.328",
      "PCA0190": "1499.534",
      "PCA0191": "1983.089",
      "PCA0192": "1864.315",
      "PCA0193": "1430.448",
      "PCA0194": "1495.679",
      "PCA0195": "1679.77",
      "PCA0196": "1388.153",
      "PCA0197": "1820.271",
      "PCA0198": "1940.796",
      "PCA0199": "1968.049",
      "PCA0200": "1773.509",
      "PCA0201": "2401.639",
      "PCA0202": "2420.518",
      "PCA0203": "2145.448",
      "PCA0204": "1304.536",
      "PCA0205": "2159.953",
      "PCA0206": "1241.952",
      "PCA0207": "1783.179",
      "PCA0208": "1742.849",
      "PCA0209": "1563.393",
      "PCA0210": "1216.709",
      "PCA0211": "1600.521",
      "PCA0212": "2216.862",
      "PCA0213": "1563.451",
      "PCA0214": "1688.544",
      "PCA0215": "1448.69",
      "PCA0216": "953.9474",
      "PCA0217": "1104.565",
      "PCA0218": "1164.393",
      "Vcap": "1956.603",
      "feature_id": "1"
    },
    {
      "CWR22Rv1": "117.0968",
      "DU145": "91.51613",
      "LAPC3-1": "128.8",
      "LAPC3-2": "96",
      "LAPC4-1": "131.7031",
      "LAPC4-2": "93.13846",
      "LAPC9": "129.4754",
      "LNCaP": "119.7258",
      "LNCaP104S": "138.322",
      "LNM971": "109.4638",
      "LuCAP35": "128.2419",
      "PC3": "100.0645",
      "PCA0002": "87.4375",
      "PCA0003": "127.6667",
      "PCA0004": "89.68852",
      "PCA0005": "88.39063",
      "PCA0006": "153.7969",
      "PCA0007": "113.2857",
      "PCA0008": "111.2373",
      "PCA0009": "103.254",
      "PCA0010": "101.65",
      "PCA0011": "94.95313",
      "PCA0012": "125.5167",
      "PCA0013": "100.0968",
      "PCA0014": "101.4375",
      "PCA0015": "99.73846",
      "PCA0016": "154.6825",
      "PCA0017": "106.2951",
      "PCA0018": "128.7167",
      "PCA0019": "119.5606",
      "PCA0020": "83.32813",
      "PCA0021": "88.33871",
      "PCA0022": "123.5",
      "PCA0023": "96.42647",
      "PCA0024": "94.25",
      "PCA0025": "96.62712",
      "PCA0026": "120.9683",
      "PCA0027": "99.52381",
      "PCA0028": "107.4677",
      "PCA0029": "100.9697",
      "PCA0030": "86.40984",
      "PCA0031": "98.85938",
      "PCA0032": "101.6774",
      "PCA0033": "110.0161",
      "PCA0034": "93.41935",
      "PCA0035": "113.9683",
      "PCA0036": "105.4667",
      "PCA0037": "97.54688",
      "PCA0038": "111.7344",
      "PCA0039": "112.3548",
      "PCA0040": "132.0635",
      "PCA0041": "116.4386",
      "PCA0042": "119.7344",
      "PCA0043": "121.3385",
      "PCA0044": "109.4462",
      "PCA0045": "106.0645",
      "PCA0046": "102.5538",
      "PCA0047": "102.4127",
      "PCA0048": "109.2857",
      "PCA0049": "109.6406",
      "PCA0050": "97.39063",
      "PCA0051": "105.5574",
      "PCA0052": "101.9333",
      "PCA0053": "74.8",
      "PCA0054": "111.5",
      "PCA0055": "115.3279",
      "PCA0056": "96.87931",
      "PCA0057": "77.29032",
      "PCA0058": "121.1231",
      "PCA0059": "102.8226",
      "PCA0060": "116.9677",
      "PCA0061": "74.8254",
      "PCA0062": "108.3538",
      "PCA0063": "105.5932",
      "PCA0064": "105.8548",
      "PCA0065": "83.47059",
      "PCA0066": "79.73333",
      "PCA0067": "121.7167",
      "PCA0068": "96.26866",
      "PCA0069": "135.3651",
      "PCA0070": "77.94915",
      "PCA0071": "74.3",
      "PCA0072": "112.4921",
      "PCA0073": "109.8636",
      "PCA0074": "111.0615",
      "PCA0075": "134.4655",
      "PCA0076": "89.71875",
      "PCA0077": "324.4545",
      "PCA0078": "147.7049",
      "PCA0079": "127.4219",
      "PCA0080": "110.5469",
      "PCA0081": "149.6981",
      "PCA0082": "145.0469",
      "PCA0083": "107",
      "PCA0084": "75.06667",
      "PCA0085": "84.8125",
      "PCA0086": "68.51613",
      "PCA0087": "72.60317",
      "PCA0088": "69.34921",
      "PCA0089": "74.9375",
      "PCA0090": "66.21212",
      "PCA0091": "66.76563",
      "PCA0092": "67.92188",
      "PCA0093": "67.34483",
      "PCA0094": "69.46032",
      "PCA0095": "73.70769",
      "PCA0096": "68.14286",
      "PCA0097": "64.20968",
      "PCA0098": "68.36508",
      "PCA0099": "65.93548",
      "PCA0100": "93.79661",
      "PCA0101": "71.95238",
      "PCA0102": "76.01613",
      "PCA0103": "72.28788",
      "PCA0104": "69.98361",
      "PCA0105": "69.84615",
      "PCA0106": "69.69355",
      "PCA0107": "73.33333",
      "PCA0108": "69.66154",
      "PCA0109": "72.73016",
      "PCA0110": "76.70769",
      "PCA0111": "73.85246",
      "PCA0112": "84.63492",
      "PCA0113": "75.10769",
      "PCA0114": "76.09524",
      "PCA0115": "69.98413",
      "PCA0116": "72.60938",
      "PCA0117": "67.92063",
      "PCA0118": "71.42857",
      "PCA0119": "70.40625",
      "PCA0120": "74.15",
      "PCA0121": "64.625",
      "PCA0122": "69.2459",
      "PCA0123": "72.9",
      "PCA0124": "70.34375",
      "PCA0125": "71.95238",
      "PCA0126": "67.87302",
      "PCA0127": "77.70492",
      "PCA0128": "72.51667",
      "PCA0129": "67.46269",
      "PCA0130": "66.87931",
      "PCA0131": "107.7581",
      "PCA0132": "81.92188",
      "PCA0133": "104.7619",
      "PCA0134": "95.41538",
      "PCA0135": "97.65625",
      "PCA0136": "97.22727",
      "PCA0137": "86.52941",
      "PCA0138": "80.28571",
      "PCA0139": "85.4127",
      "PCA0140": "94.98333",
      "PCA0141": "89.375",
      "PCA0142": "100.9841",
      "PCA0143": "93.26154",
      "PCA0144": "102.2576",
      "PCA0145": "91.65079",
      "PCA0146": "116.2105",
      "PCA0147": "124.5833",
      "PCA0148": "87.84483",
      "PCA0149": "118.2188",
      "PCA0150": "84.80645",
      "PCA0151": "57.32787",
      "PCA0152": "115.3651",
      "PCA0153": "58.26563",
      "PCA0154": "70.80645",
      "PCA0155": "140.1475",
      "PCA0156": "77.29032",
      "PCA0157": "52.0625",
      "PCA0158": "62.56897",
      "PCA0159": "151.9194",
      "PCA0160": "91.93846",
      "PCA0161": "53.54098",
      "PCA0162": "88.78462",
      "PCA0163": "110.1094",
      "PCA0164": "78.09677",
      "PCA0165": "56.8254",
      "PCA0166": "56.8",
      "PCA0167": "112.7742",
      "PCA0168": "181.377",
      "PCA0169": "202.4",
      "PCA0170": "68.38095",
      "PCA0171": "167.4127",
      "PCA0172": "64.20968",
      "PCA0173": "69.96667",
      "PCA0174": "92.70492",
      "PCA0175": "184.5849",
      "PCA0176": "81.07813",
      "PCA0177": "80",
      "PCA0178": "116.0769",
      "PCA0179": "78.61905",
      "PCA0180": "94.46774",
      "PCA0181": "122.4444",
      "PCA0182": "77.35",
      "PCA0183": "181.9206",
      "PCA0184": "136.9545",
      "PCA0185": "201.2615",
      "PCA0186": "98.13115",
      "PCA0187": "107.3906",
      "PCA0188": "99.56522",
      "PCA0189": "105.1111",
      "PCA0190": "113.3115",
      "PCA0191": "96.09375",
      "PCA0192": "67.41538",
      "PCA0193": "101.7538",
      "PCA0194": "67.59016",
      "PCA0195": "96.63492",
      "PCA0196": "94.55172",
      "PCA0197": "105.2241",
      "PCA0198": "103.3175",
      "PCA0199": "100.2344",
      "PCA0200": "105.0339",
      "PCA0201": "111.5484",
      "PCA0202": "85.5",
      "PCA0203": "111.4444",
      "PCA0204": "30.48333",
      "PCA0205": "111.8333",
      "PCA0206": "88.46032",
      "PCA0207": "95.76923",
      "PCA0208": "70.71698",
      "PCA0209": "39.87097",
      "PCA0210": "32.98276",
      "PCA0211": "71.75",
      "PCA0212": "93.73016",
      "PCA0213": "67.90323",
      "PCA0214": "88.8",
      "PCA0215": "36.55738",
      "PCA0216": "33.71429",
      "PCA0217": "41.43077",
      "PCA0218": "32.31746",
      "Vcap": "95.60606",
      "feature_id": "2"
    },
    {
      "CWR22Rv1": "116.7258",
      "DU145": "89.5082",
      "LAPC3-1": "125.8889",
      "LAPC3-2": "92.40625",
      "LAPC4-1": "134",
      "LAPC4-2": "94",
      "LAPC9": "133.5873",
      "LNCaP": "124.7385",
      "LNCaP104S": "141.1935",
      "LNM971": "116.0635",
      "LuCAP35": "127.1061",
      "PC3": "102",
      "PCA0002": "87.125",
      "PCA0003": "124.2031",
      "PCA0004": "93.68254",
      "PCA0005": "88.43077",
      "PCA0006": "156.9",
      "PCA0007": "107.8182",
      "PCA0008": "105.8871",
      "PCA0009": "102.7538",
      "PCA0010": "102.6613",
      "PCA0011": "100.2424",
      "PCA0012": "114.1967",
      "PCA0013": "99.07576",
      "PCA0014": "97.54688",
      "PCA0015": "90.4386",
      "PCA0016": "153.2034",
      "PCA0017": "81.92188",
      "PCA0018": "128.0794",
      "PCA0019": "115.0339",
      "PCA0020": "78.05172",
      "PCA0021": "80.82258",
      "PCA0022": "122.6825",
      "PCA0023": "95.83871",
      "PCA0024": "93.81967",
      "PCA0025": "94.95161",
      "PCA0026": "114.5217",
      "PCA0027": "97.69697",
      "PCA0028": "102.85",
      "PCA0029": "102.0317",
      "PCA0030": "82.65625",
      "PCA0031": "100.4",
      "PCA0032": "105.4",
      "PCA0033": "107.25",
      "PCA0034": "97.98387",
      "PCA0035": "116.6719",
      "PCA0036": "111",
      "PCA0037": "97.27692",
      "PCA0038": "117.6393",
      "PCA0039": "119.4921",
      "PCA0040": "134.9464",
      "PCA0041": "111.0794",
      "PCA0042": "119.8667",
      "PCA0043": "116.1587",
      "PCA0044": "111.871",
      "PCA0045": "110.6032",
      "PCA0046": "106.0952",
      "PCA0047": "104.371",
      "PCA0048": "106.4098",
      "PCA0049": "105.1875",
      "PCA0050": "100.4918",
      "PCA0051": "101.2154",
      "PCA0052": "97.82258",
      "PCA0053": "78.50794",
      "PCA0054": "104.1311",
      "PCA0055": "111.2",
      "PCA0056": "101.9508",
      "PCA0057": "80.26154",
      "PCA0058": "121.5556",
      "PCA0059": "100.2344",
      "PCA0060": "119.127",
      "PCA0061": "81.31148",
      "PCA0062": "108.2881",
      "PCA0063": "106.541",
      "PCA0064": "110.6032",
      "PCA0065": "85.66667",
      "PCA0066": "81.87302",
      "PCA0067": "121.5",
      "PCA0068": "97.89231",
      "PCA0069": "140.4462",
      "PCA0070": "77.63077",
      "PCA0071": "76.07576",
      "PCA0072": "111.5714",
      "PCA0073": "103.6406",
      "PCA0074": "110.1094",
      "PCA0075": "137.377",
      "PCA0076": "88.46875",
      "PCA0077": "144.5263",
      "PCA0078": "144.1667",
      "PCA0079": "137.6719",
      "PCA0080": "109.6102",
      "PCA0081": "139.8525",
      "PCA0082": "150.3385",
      "PCA0083": "106.4516",
      "PCA0084": "74.59375",
      "PCA0085": "82.08197",
      "PCA0086": "70.06349",
      "PCA0087": "72.21538",
      "PCA0088": "69.4127",
      "PCA0089": "70.46875",
      "PCA0090": "65.86207",
      "PCA0091": "68.33333",
      "PCA0092": "68.57576",
      "PCA0093": "68.37097",
      "PCA0094": "69.2",
      "PCA0095": "73.8125",
      "PCA0096": "73.98413",
      "PCA0097": "68.41667",
      "PCA0098": "68.91667",
      "PCA0099": "66.27419",
      "PCA0100": "93.50769",
      "PCA0101": "73.92308",
      "PCA0102": "78.32813",
      "PCA0103": "70.35593",
      "PCA0104": "72.55385",
      "PCA0105": "71.69355",
      "PCA0106": "65.78125",
      "PCA0107": "72.4375",
      "PCA0108": "72.51515",
      "PCA0109": "74.45161",
      "PCA0110": "79.53623",
      "PCA0111": "74.74627",
      "PCA0112": "87.35484",
      "PCA0113": "74.60656",
      "PCA0114": "77.25806",
      "PCA0115": "70.57813",
      "PCA0116": "73.66667",
      "PCA0117": "69.0625",
      "PCA0118": "71.09375",
      "PCA0119": "69.56923",
      "PCA0120": "75.6129",
      "PCA0121": "67.39344",
      "PCA0122": "72.01613",
      "PCA0123": "73.20635",
      "PCA0124": "71.56923",
      "PCA0125": "70.08065",
      "PCA0126": "66.51563",
      "PCA0127": "77.68852",
      "PCA0128": "72.28571",
      "PCA0129": "67.90476",
      "PCA0130": "66.76563",
      "PCA0131": "110.4308",
      "PCA0132": "84.45313",
      "PCA0133": "106.6462",
      "PCA0134": "91.81667",
      "PCA0135": "98.87302",
      "PCA0136": "98.48387",
      "PCA0137": "85.12308",
      "PCA0138": "86.01613",
      "PCA0139": "85.11111",
      "PCA0140": "92.8125",
      "PCA0141": "88.56452",
      "PCA0142": "101.8136",
      "PCA0143": "92",
      "PCA0144": "100.0781",
      "PCA0145": "94.62903",
      "PCA0146": "121.9091",
      "PCA0147": "127.3333",
      "PCA0148": "87.36508",
      "PCA0149": "127.871",
      "PCA0150": "83.70769",
      "PCA0151": "56.98387",
      "PCA0152": "119.4286",
      "PCA0153": "56.06061",
      "PCA0154": "68",
      "PCA0155": "144.4545",
      "PCA0156": "76.70492",
      "PCA0157": "54.74603",
      "PCA0158": "64.19048",
      "PCA0159": "156.3793",
      "PCA0160": "84.46667",
      "PCA0161": "55.69492",
      "PCA0162": "88.08197",
      "PCA0163": "108.8095",
      "PCA0164": "75.53846",
      "PCA0165": "55.75385",
      "PCA0166": "55.04688",
      "PCA0167": "110.4355",
      "PCA0168": "161.2656",
      "PCA0169": "205.2459",
      "PCA0170": "69.08333",
      "PCA0171": "166.6129",
      "PCA0172": "61.30159",
      "PCA0173": "65.88333",
      "PCA0174": "90.15873",
      "PCA0175": "179.05",
      "PCA0176": "84.70769",
      "PCA0177": "80.21667",
      "PCA0178": "107.3016",
      "PCA0179": "76.72581",
      "PCA0180": "97.29032",
      "PCA0181": "124.3226",
      "PCA0182": "80.60317",
      "PCA0183": "163.2295",
      "PCA0184": "142.8387",
      "PCA0185": "218.0938",
      "PCA0186": "98.54098",
      "PCA0187": "110",
      "PCA0188": "89.91803",
      "PCA0189": "103.6615",
      "PCA0190": "111.7826",
      "PCA0191": "91.87302",
      "PCA0192": "71.56452",
      "PCA0193": "97.09375",
      "PCA0194": "69.66129",
      "PCA0195": "90.35938",
      "PCA0196": "94.22222",
      "PCA0197": "103.8125",
      "PCA0198": "104.3692",
      "PCA0199": "98.78333",
      "PCA0200": "110.3607",
      "PCA0201": "113.9483",
      "PCA0202": "81.54237",
      "PCA0203": "106.7333",
      "PCA0204": "27.98246",
      "PCA0205": "110.4032",
      "PCA0206": "80.58621",
      "PCA0207": "98.09677",
      "PCA0208": "67.42593",
      "PCA0209": "31.63492",
      "PCA0210": "33.34426",
      "PCA0211": "71.77966",
      "PCA0212": "94.26563",
      "PCA0213": "68",
      "PCA0214": "90.375",
      "PCA0215": "33.75806",
      "PCA0216": "33.45455",
      "PCA0217": "41.32787",
      "PCA0218": "29.90909",
      "Vcap": "91.40909",
      "feature_id": "3"
    },
    {
      "CWR22Rv1": "380.7619",
      "DU145": "281.3667",
      "LAPC3-1": "271.2969",
      "LAPC3-2": "216.1905",
      "LAPC4-1": "313.7813",
      "LAPC4-2": "267.3846",
      "LAPC9": "285.3846",
      "LNCaP": "307.9048",
      "LNCaP104S": "345.0909",
      "LNM971": "241.1905",
      "LuCAP35": "262.375",
      "PC3": "281",
      "PCA0002": "247.0635",
      "PCA0003": "261.8226",
      "PCA0004": "235.3333",
      "PCA0005": "241.1094",
      "PCA0006": "291.5806",
      "PCA0007": "197.6",
      "PCA0008": "214.9032",
      "PCA0009": "213.7049",
      "PCA0010": "242.5254",
      "PCA0011": "241.125",
      "PCA0012": "230.8438",
      "PCA0013": "311.4091",
      "PCA0014": "229.5323",
      "PCA0015": "247.127",
      "PCA0016": "275.6333",
      "PCA0017": "310.5938",
      "PCA0018": "249.4444",
      "PCA0019": "254.2188",
      "PCA0020": "255.9355",
      "PCA0021": "324.5469",
      "PCA0022": "251.2381",
      "PCA0023": "267.9688",
      "PCA0024": "266.5469",
      "PCA0025": "318.8197",
      "PCA0026": "276.8065",
      "PCA0027": "245.0806",
      "PCA0028": "180.8254",
      "PCA0029": "273.0909",
      "PCA0030": "246.9661",
      "PCA0031": "315.2459",
      "PCA0032": "247.2031",
      "PCA0033": "233.1967",
      "PCA0034": "237.3167",
      "PCA0035": "224.9688",
      "PCA0036": "248.7759",
      "PCA0037": "212.8065",
      "PCA0038": "235.2333",
      "PCA0039": "236.746",
      "PCA0040": "253.3871",
      "PCA0041": "235.619",
      "PCA0042": "219.7937",
      "PCA0043": "205.1639",
      "PCA0044": "255.2857",
      "PCA0045": "259.7231",
      "PCA0046": "327.0769",
      "PCA0047": "210.6452",
      "PCA0048": "230.5806",
      "PCA0049": "220.9",
      "PCA0050": "196.7302",
      "PCA0051": "190.5424",
      "PCA0052": "242.0938",
      "PCA0053": "183.0952",
      "PCA0054": "228.7969",
      "PCA0055": "196.3438",
      "PCA0056": "235.5072",
      "PCA0057": "254.1719",
      "PCA0058": "234.4603",
      "PCA0059": "236.0635",
      "PCA0060": "284.6667",
      "PCA0061": "220.875",
      "PCA0062": "200.9385",
      "PCA0063": "250.9839",
      "PCA0064": "208.0645",
      "PCA0065": "245.7833",
      "PCA0066": "269.3968",
      "PCA0067": "203.7813",
      "PCA0068": "246.8308",
      "PCA0069": "264.5645",
      "PCA0070": "254.6406",
      "PCA0071": "295.4762",
      "PCA0072": "286.0635",
      "PCA0073": "207.9516",
      "PCA0074": "304.25",
      "PCA0075": "246.4844",
      "PCA0076": "298.0847",
      "PCA0077": "246.3443",
      "PCA0078": "266.0938",
      "PCA0079": "313.6333",
      "PCA0080": "257.7049",
      "PCA0081": "591.4035",
      "PCA0082": "322.25",
      "PCA0083": "261.5385",
      "PCA0084": "258.9545",
      "PCA0085": "239.8939",
      "PCA0086": "223.1935",
      "PCA0087": "277.7937",
      "PCA0088": "242.2344",
      "PCA0089": "227.3636",
      "PCA0090": "248.0645",
      "PCA0091": "288.0794",
      "PCA0092": "221.8125",
      "PCA0093": "232.5932",
      "PCA0094": "224.4839",
      "PCA0095": "267.875",
      "PCA0096": "163.1833",
      "PCA0097": "216.2381",
      "PCA0098": "187.7097",
      "PCA0099": "187.2308",
      "PCA0100": "280.8065",
      "PCA0101": "200.4394",
      "PCA0102": "195.4",
      "PCA0103": "252.5333",
      "PCA0104": "180.7818",
      "PCA0105": "240.1967",
      "PCA0106": "262.2712",
      "PCA0107": "241.7188",
      "PCA0108": "239.4262",
      "PCA0109": "292.5079",
      "PCA0110": "211",
      "PCA0111": "279.918",
      "PCA0112": "296.3448",
      "PCA0113": "285.2951",
      "PCA0114": "252.1538",
      "PCA0115": "207.4667",
      "PCA0116": "251.9524",
      "PCA0117": "203.1613",
      "PCA0118": "215.5738",
      "PCA0119": "241.5645",
      "PCA0120": "194.629",
      "PCA0121": "190.1639",
      "PCA0122": "197.4677",
      "PCA0123": "215.6949",
      "PCA0124": "218.0508",
      "PCA0125": "197.3175",
      "PCA0126": "201.9831",
      "PCA0127": "250.1311",
      "PCA0128": "222.7231",
      "PCA0129": "221.6719",
      "PCA0130": "181.55",
      "PCA0131": "220.7541",
      "PCA0132": "152.6912",
      "PCA0133": "253.871",
      "PCA0134": "180.5439",
      "PCA0135": "210.1818",
      "PCA0136": "194.3729",
      "PCA0137": "200.8871",
      "PCA0138": "193.1905",
      "PCA0139": "168.1864",
      "PCA0140": "210.4655",
      "PCA0141": "194",
      "PCA0142": "208.6613",
      "PCA0143": "204.9672",
      "PCA0144": "191.8361",
      "PCA0145": "188.4516",
      "PCA0146": "217.2459",
      "PCA0147": "248.4918",
      "PCA0148": "229.3692",
      "PCA0149": "223.7419",
      "PCA0150": "301.5846",
      "PCA0151": "282.629",
      "PCA0152": "293.1",
      "PCA0153": "209.3016",
      "PCA0154": "218.6615",
      "PCA0155": "323.1875",
      "PCA0156": "285.8361",
      "PCA0157": "209.9167",
      "PCA0158": "276.0656",
      "PCA0159": "355.1406",
      "PCA0160": "262.7419",
      "PCA0161": "218.6032",
      "PCA0162": "302.9322",
      "PCA0163": "298.2903",
      "PCA0164": "278.0794",
      "PCA0165": "234.5873",
      "PCA0166": "292.1111",
      "PCA0167": "314.8594",
      "PCA0168": "286.6",
      "PCA0169": "296.3846",
      "PCA0170": "253.7903",
      "PCA0171": "365.2031",
      "PCA0172": "244.5345",
      "PCA0173": "205.4333",
      "PCA0174": "265.5323",
      "PCA0175": "349.125",
      "PCA0176": "334.8413",
      "PCA0177": "290.1905",
      "PCA0178": "235.7143",
      "PCA0179": "241.6923",
      "PCA0180": "247.8281",
      "PCA0181": "236.5781",
      "PCA0182": "167.629",
      "PCA0183": "266.254",
      "PCA0184": "289.7846",
      "PCA0185": "313.4194",
      "PCA0186": "304.0667",
      "PCA0187": "245.9672",
      "PCA0188": "209.6",
      "PCA0189": "226.3231",
      "PCA0190": "271.8548",
      "PCA0191": "302.2063",
      "PCA0192": "241.7797",
      "PCA0193": "210.9677",
      "PCA0194": "202.6667",
      "PCA0195": "275.1017",
      "PCA0196": "258.5714",
      "PCA0197": "255.9516",
      "PCA0198": "265.1429",
      "PCA0199": "327",
      "PCA0200": "256.9194",
      "PCA0201": "309.3934",
      "PCA0202": "286.9153",
      "PCA0203": "321.7302",
      "PCA0204": "188.9833",
      "PCA0205": "315.7302",
      "PCA0206": "211.8889",
      "PCA0207": "233.5873",
      "PCA0208": "228.0156",
      "PCA0209": "215.8281",
      "PCA0210": "166.5692",
      "PCA0211": "231.65",
      "PCA0212": "281.8095",
      "PCA0213": "191.6615",
      "PCA0214": "246.4531",
      "PCA0215": "191.7414",
      "PCA0216": "125.9048",
      "PCA0217": "193.5806",
      "PCA0218": "179.2903",
      "Vcap": "241.7742",
      "feature_id": "4"
    },
    {
      "CWR22Rv1": "184.5538",
      "DU145": "280.2222",
      "LAPC3-1": "268.7069",
      "LAPC3-2": "201.8033",
      "LAPC4-1": "292.3906",
      "LAPC4-2": "231.5484",
      "LAPC9": "278.9219",
      "LNCaP": "297.377",
      "LNCaP104S": "291.4098",
      "LNM971": "236.6774",
      "LuCAP35": "268.5",
      "PC3": "255",
      "PCA0002": "295.0308",
      "PCA0003": "279.3281",
      "PCA0004": "225.7391",
      "PCA0005": "264.4032",
      "PCA0006": "259.0923",
      "PCA0007": "243.2344",
      "PCA0008": "252.8095",
      "PCA0009": "244.8387",
      "PCA0010": "223.4655",
      "PCA0011": "231.0606",
      "PCA0012": "257.3934",
      "PCA0013": "348.5692",
      "PCA0014": "198.6154",
      "PCA0015": "203.4762",
      "PCA0016": "291.6462",
      "PCA0017": "369.0923",
      "PCA0018": "249.6984",
      "PCA0019": "276.2188",
      "PCA0020": "282.6774",
      "PCA0021": "248.9365",
      "PCA0022": "261.0156",
      "PCA0023": "350.1719",
      "PCA0024": "312.6508",
      "PCA0025": "355.5161",
      "PCA0026": "278.4167",
      "PCA0027": "305.7031",
      "PCA0028": "216.3125",
      "PCA0029": "301.3846",
      "PCA0030": "275.5",
      "PCA0031": "346.0469",
      "PCA0032": "252.8308",
      "PCA0033": "267.6406",
      "PCA0034": "209.3077",
      "PCA0035": "275.4098",
      "PCA0036": "276.5397",
      "PCA0037": "246.5507",
      "PCA0038": "290.1077",
      "PCA0039": "308",
      "PCA0040": "309.6",
      "PCA0041": "272.4355",
      "PCA0042": "254.4531",
      "PCA0043": "264.5556",
      "PCA0044": "274.1475",
      "PCA0045": "274.9194",
      "PCA0046": "251.3651",
      "PCA0047": "252.4375",
      "PCA0048": "283.7031",
      "PCA0049": "261.8871",
      "PCA0050": "219.4603",
      "PCA0051": "212.7213",
      "PCA0052": "307.5",
      "PCA0053": "258.619",
      "PCA0054": "264.1692",
      "PCA0055": "202.9077",
      "PCA0056": "239.875",
      "PCA0057": "234.127",
      "PCA0058": "292.0952",
      "PCA0059": "257",
      "PCA0060": "323.7344",
      "PCA0061": "270.1639",
      "PCA0062": "249.6515",
      "PCA0063": "262.4032",
      "PCA0064": "215.9385",
      "PCA0065": "262",
      "PCA0066": "262.2742",
      "PCA0067": "231.0968",
      "PCA0068": "293.9375",
      "PCA0069": "272.2",
      "PCA0070": "284.7541",
      "PCA0071": "237.9688",
      "PCA0072": "293.9692",
      "PCA0073": "224.3443",
      "PCA0074": "307.75",
      "PCA0075": "242.4167",
      "PCA0076": "303.8095",
      "PCA0077": "285.4918",
      "PCA0078": "207.8065",
      "PCA0079": "311.4032",
      "PCA0080": "300.9474",
      "PCA0081": "280.5714",
      "PCA0082": "322.3898",
      "PCA0083": "248.5714",
      "PCA0084": "271.2154",
      "PCA0085": "281.129",
      "PCA0086": "242.6349",
      "PCA0087": "214.9524",
      "PCA0088": "220.15",
      "PCA0089": "252.8333",
      "PCA0090": "226.7018",
      "PCA0091": "261.459",
      "PCA0092": "233.2424",
      "PCA0093": "251.3065",
      "PCA0094": "260.45",
      "PCA0095": "286.3387",
      "PCA0096": "214.1094",
      "PCA0097": "249.6462",
      "PCA0098": "271.7119",
      "PCA0099": "244.3231",
      "PCA0100": "239.4754",
      "PCA0101": "255.0702",
      "PCA0102": "239.2903",
      "PCA0103": "284.3871",
      "PCA0104": "235.127",
      "PCA0105": "265.4754",
      "PCA0106": "256.4286",
      "PCA0107": "233.6",
      "PCA0108": "204.9032",
      "PCA0109": "276.5082",
      "PCA0110": "201.0656",
      "PCA0111": "254.6508",
      "PCA0112": "265.9841",
      "PCA0113": "265.0645",
      "PCA0114": "245.3167",
      "PCA0115": "184.3333",
      "PCA0116": "249.6613",
      "PCA0117": "173.7937",
      "PCA0118": "179.375",
      "PCA0119": "208.7969",
      "PCA0120": "162.8033",
      "PCA0121": "169.3276",
      "PCA0122": "172.7937",
      "PCA0123": "188.082",
      "PCA0124": "191.1552",
      "PCA0125": "183.4407",
      "PCA0126": "162.918",
      "PCA0127": "232.6333",
      "PCA0128": "198.6615",
      "PCA0129": "185.9231",
      "PCA0130": "164",
      "PCA0131": "227.5968",
      "PCA0132": "167.8438",
      "PCA0133": "275.1231",
      "PCA0134": "186.4839",
      "PCA0135": "219.8276",
      "PCA0136": "188.871",
      "PCA0137": "199.4194",
      "PCA0138": "181.541",
      "PCA0139": "146",
      "PCA0140": "181",
      "PCA0141": "201.9833",
      "PCA0142": "208.5079",
      "PCA0143": "212.6349",
      "PCA0144": "194.2787",
      "PCA0145": "183.0476",
      "PCA0146": "225.8841",
      "PCA0147": "236.1587",
      "PCA0148": "236.5763",
      "PCA0149": "226.5156",
      "PCA0150": "278.2",
      "PCA0151": "223.5082",
      "PCA0152": "281.3492",
      "PCA0153": "181.3788",
      "PCA0154": "188.6406",
      "PCA0155": "311.1774",
      "PCA0156": "243.4308",
      "PCA0157": "198.7097",
      "PCA0158": "205.5484",
      "PCA0159": "338.377",
      "PCA0160": "212.7333",
      "PCA0161": "183.6667",
      "PCA0162": "254.9333",
      "PCA0163": "279.7121",
      "PCA0164": "217.875",
      "PCA0165": "212.8485",
      "PCA0166": "239.619",
      "PCA0167": "302.6393",
      "PCA0168": "261.1692",
      "PCA0169": "315.25",
      "PCA0170": "237.9692",
      "PCA0171": "357.6061",
      "PCA0172": "253.6",
      "PCA0173": "177.7273",
      "PCA0174": "249.0806",
      "PCA0175": "316.9394",
      "PCA0176": "245.6393",
      "PCA0177": "304.0313",
      "PCA0178": "248.8125",
      "PCA0179": "242.2923",
      "PCA0180": "233.9219",
      "PCA0181": "263.6615",
      "PCA0182": "155.8387",
      "PCA0183": "346.8",
      "PCA0184": "320.5156",
      "PCA0185": "367.1061",
      "PCA0186": "275.0615",
      "PCA0187": "291.9531",
      "PCA0188": "231.5441",
      "PCA0189": "230.7",
      "PCA0190": "216.0476",
      "PCA0191": "256.9667",
      "PCA0192": "254.4923",
      "PCA0193": "227.2903",
      "PCA0194": "185.377",
      "PCA0195": "234.0984",
      "PCA0196": "222.9167",
      "PCA0197": "230.4154",
      "PCA0198": "249.127",
      "PCA0199": "312.9692",
      "PCA0200": "277.7077",
      "PCA0201": "297.6462",
      "PCA0202": "267.3492",
      "PCA0203": "340.1094",
      "PCA0204": "153.2903",
      "PCA0205": "307.5156",
      "PCA0206": "189.8548",
      "PCA0207": "258.9194",
      "PCA0208": "235.9365",
      "PCA0209": "185.3651",
      "PCA0210": "150.4",
      "PCA0211": "245.4333",
      "PCA0212": "258.4848",
      "PCA0213": "249.0794",
      "PCA0214": "226.0938",
      "PCA0215": "140.5152",
      "PCA0216": "224.3175",
      "PCA0217": "201.0154",
      "PCA0218": "159.6875",
      "Vcap": "216.873",
      "feature_id": "5"
    }
  ],
  "totalNumberOfResults": 5
}

Get the locations for a Genetic Dataset Layer

This returns all the locations metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/7/locations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:16 GMT
ETag: 1836555935
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "etag": "1836555935",
  "id": "7",
  "locations": [
    {
      "md5sum": "9152f0691d90c3dd298ab635ce40f74f",
      "path": "mskcc_prostate_cancer.cnv.zip",
      "type": "awss3"
    },
    {
      "md5sum": null,
      "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
      "type": "sage"
    }
  ],
  "uri": "/repo/v1/dataset/0/layer/7/locations"
}

Get the awsS3Location for a Genetic Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/7/awsS3Location'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:16 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "md5sum": "9152f0691d90c3dd298ab635ce40f74f",
  "path": "https://data01.sagebase.org.s3.amazonaws.com/mskcc_prostate_cancer.cnv.zip?Expires=1303245436&AWSAccessKeyId=AKIAI3BTGJG752CCJUVA&Signature=QWCJU%2FSMgx%2B33zlHyaXg7U0RnSM%3D",
  "type": "awss3"
}

Get the sageLocation for a Genetic Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/7/sageLocation'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:16 GMT
Server: Apache-Coyote/1.1
Content-Length: 93
Connection: keep-alive

{
  "md5sum": null,
  "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
  "type": "sage"
}

Get a Expression Dataset Layer

This returns the metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/8'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:16 GMT
ETag: 690264258
Server: Apache-Coyote/1.1
Content-Length: 608
Connection: keep-alive

{
  "annotations": "/repo/v1/dataset/0/layer/8/annotations",
  "creationDate": 1302568162836,
  "description": null,
  "etag": "690264258",
  "id": "8",
  "locations": [
    "/repo/v1/dataset/0/layer/8/sageLocation",
    "/repo/v1/dataset/0/layer/8/awsS3Location",
    "/repo/v1/dataset/0/layer/8/locations"
  ],
  "name": "miRNA expression",
  "numSamples": 142,
  "platform": "Agilent microRNA V2 arrays",
  "preview": "/repo/v1/dataset/0/layer/8/preview",
  "processingFacility": null,
  "publicationDate": null,
  "qcBy": "Solly Sieberts",
  "qcDate": null,
  "releaseNotes": null,
  "status": "curated",
  "tissueType": null,
  "type": "E",
  "uri": "/repo/v1/dataset/0/layer/8",
  "version": "1.0.0"
}

Get Annotations for a Expression Dataset Layer

This returns the annotations for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/8/annotations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:16 GMT
ETag: 923521
Server: Apache-Coyote/1.1
Content-Length: 181
Connection: keep-alive

{
  "creationDate": null,
  "dateAnnotations": {},
  "doubleAnnotations": {},
  "etag": "923521",
  "id": "8",
  "longAnnotations": {},
  "stringAnnotations": {},
  "uri": "/repo/v1/dataset/0/layer/8/annotations"
}

Get preview data for a Expression Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/8/preview'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:16 GMT
ETag: -810017117
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "etag": "-810017117",
  "id": "8",
  "preview": "feature_id\tPCA0001\tPCA0003\tPCA0005\tPCA0007\tPCA0009\tPCA0012\tPCA0017\tPCA0023\tPCA0024\tPCA0027\tPCA0029\tPCA0033\tPCA0040\tPCA0050\tPCA0054\tPCA0056\tPCA0057\tPCA0062\tPCA0063\tPCA0064\tPCA0065\tPCA0066\tPCA0074\tPCA0075\tPCA0077\tPCA0080\tPCA0081\tPCA0082\tPCA0086\tPCA0087\tPCA0089\tPCA0090\tPCA0092\tPCA0093\tPCA0094\tPCA0095\tPCA0096\tPCA0097\tPCA0099\tPCA0101\tPCA0103\tPCA0104\tPCA0105\tPCA0107\tPCA0108\tPCA0109\tPCA0110\tPCA0111\tPCA0112\tPCA0113\tPCA0114\tPCA0115\tPCA0117\tPCA0118\tPCA0119\tPCA0120\tPCA0122\tPCA0124\tPCA0125\tPCA0126\tPCA0127\tPCA0128\tPCA0129\tPCA0130\tPCA0132\tPCA0134\tPCA0135\tPCA0136\tPCA0141\tPCA0144\tPCA0145\tPCA0146\tPCA0147\tPCA0149\tPCA0151\tPCA0155\tPCA0156\tPCA0157\tPCA0158\tPCA0159\tPCA0160\tPCA0161\tPCA0162\tPCA0163\tPCA0164\tPCA0165\tPCA0167\tPCA0168\tPCA0169\tPCA0170\tPCA0171\tPCA0172\tPCA0173\tPCA0174\tPCA0175\tPCA0178\tPCA0179\tPCA0180\tPCA0181\tPCA0184\tPCA0187\tPCA0189\tPCA0190\tPCA0194\tPCA0199\tPCA0200\tPCA0201\tPCA0203\tPCA0206\tPCA0207\tPCA0208\tPCA0211\tPCA0213\tVcap\tPAN0151\tPAN0157\tPAN0164\tPAN0113\tPAN0107\tPAN0109\tPAN0110\tPAN0112\tPAN0114\tPAN0115\tPAN0122\tPAN0125\tPAN0117\tPAN0120\tPAN0127\tPAN0128\tPAN0129\tPAN0134\tPAN0135\tPAN0136\tPAN0144\tPAN0147\tPAN0162\tPAN0167\tPAN0169\tPAN0171\tPAN0172\tPAN0174\n1\t2990.017\t3225.754\t3691.383\t2428.903\t2447.766\t2158.419\t2426.172\t2685.885\t2540.448\t4462.905\t3504.644\t4572.879\t3893.71\t2643.391\t4426.644\t7672.571\t5029.365\t1760.492\t4032.742\t7636.937\t4173.273\t7124.65\t2039.656\t2484.422\t3107.908\t3796.703\t3063.258\t2498.594\t5740.215\t7434.929\t6195.847\t2460.825\t3170.618\t5254.233\t6592.313\t7070.516\t4445.333\t4233.721\t7866.306\t6927.111\t4913.793\t5495.066\t5883.794\t4339.393\t4642.71\t4149.921\t3347.065\t3538.866\t3416.23\t2769.556\t3411.125\t3447.983\t3213.724\t3134.153\t2674.483\t4396.938\t3173.127\t3220.164\t4446.333\t5456.233\t4610.339\t2828.475\t4883.317\t2078.242\t3386.873\t1506.581\t2367.097\t3052.415\t2242.281\t3739.516\t3795.286\t3045.714\t4192.887\t3323.274\t3495.712\t4641.922\t3296.273\t7722.288\t5004.446\t2624.862\t2078.984\t7296.15\t3097.415\t2365.484\t5935.327\t4574.781\t3666.197\t2763.781\t2871.125\t3474.476\t3309.367\t4926.844\t3561.031\t5725.778\t3477.968\t3445.803\t2806.219\t4428.469\t3650.871\t4374.429\t2786.085\t2968.609\t4053.984\t6159.234\t4224.938\t2226.656\t3110.938\t2386.578\t3080.742\t1907.446\t5531.435\t3762.484\t2992.806\t2995.1\t1725.697\t1895.766\t3024.2\t4104.985\t4000.03\t4839.523\t3731.508\t3805.682\t2989.531\t4455.729\t4548.587\t5006.615\t2772.406\t3399.6\t4853.897\t2799.791\t4095.29\t5059.579\t4772.7\t4492.098\t2437.377\t3598.118\t4834.629\t3357.5\t3685.453\t3399.731\t3934.619\t4650.254\n2\t62.82813\t59.06154\t61.8125\t60.79661\t65.14063\t62.37097\t58.4697\t60.25\t62.92188\t52.10606\t51.29231\t60.30769\t55.58462\t65.90323\t66.67692\t64.63492\t60.90625\t68.63934\t68.03175\t70.35\t68.75\t62.38462\t63.63077\t64.50769\t64.7541\t55.32258\t61.4375\t72.0625\t56\t53.73016\t57.51563\t66.27419\t57.09836\t53.26984\t57.14063\t54.82813\t59.90164\t67.30303\t52.98485\t55.36923\t55.61905\t52.93443\t55.01563\t59.9375\t52.82258\t52.5\t54.46154\t55.61905\t54.20313\t52.44615\t57.07937\t60.9661\t52.01563\t56.90625\t55.38462\t58.61538\t54.30159\t52.15152\t55.28125\t53.07937\t54.26154\t57.14286\t53.92188\t54.03077\t62.35385\t64.7377\t62.28788\t63.92308\t57.37879\t61.98438\t63.70313\t62.73438\t64.9375\t63.97015\t64.90476\t74.52381\t68.01613\t63.18182\t61.58462\t59.92188\t66.66154\t65.14516\t88.17241\t64.3871\t61.22414\t62.29231\t61.44444\t65.34921\t58.72881\t66.05085\t62.04688\t62.10606\t59.71212\t60.71667\t59.2\t59.28571\t63.95313\t67.3125\t62.33898\t64.01587\t58.5873\t61.27273\t56.8\t56.40323\t69.67188\t60.04688\t64.28125\t66.33871\t60.56923\t65.4918\t53.63934\t54.43548\t64.36508\t58.36923\t68.93443\t68.38806\t74.8125\t56.38095\t55.67188\t56.23077\t63.63462\t54.35484\t59.33333\t54.91935\t54.31148\t53.10606\t62.73077\t54.35385\t56.2459\t52.88333\t56.58462\t64.06897\t64.90625\t59.06061\t59.4375\t63.47826\t49.85938\t55.44444\t53.61667\t52.53333\t54.21875\t53.80645\n3\t552.0923\t656.8333\t464.8154\t497.2063\t706.5313\t336.1746\t268.2742\t140.4127\t248.625\t600.4063\t351.8462\t554.2462\t469.8254\t496.1077\t131.7846\t313\t174.7727\t203.2\t326.9385\t247.254\t276.8923\t282.9219\t428.9846\t327.2537\t543.5714\t284.9844\t246.2031\t488.5846\t543.0794\t365.7231\t342.4839\t561.375\t302.0938\t177.3065\t302.2857\t659.8154\t273.5714\t314.3651\t375.2258\t616.3934\t400.2188\t400.8333\t471.2623\t323.2031\t249.0806\t285.0615\t348.2462\t462.0758\t229.5781\t330.2857\t285.8438\t197.8889\t231.9538\t301.0317\t172.9394\t273.873\t307.5079\t324.9206\t346.4091\t213.0455\t310.375\t215.3968\t369.4921\t168\t380.5932\t143.9667\t78.4918\t183.0909\t603.25\t92.98485\t227.3846\t212.2381\t251.5385\t207.3231\t113.3906\t238.1935\t167.4154\t215.4286\t338.2969\t358.1077\t331.7536\t377.3846\t206.4848\t192.7846\t246.5781\t341.9344\t215.9375\t174.4769\t200.5\t543.6667\t222.8594\t238.9375\t212.1111\t206.2903\t209.1385\t513.0909\t116.5397\t288.6615\t189.1231\t212.3636\t95.98485\t110.6406\t75.90323\t129.5938\t633.6349\t78.71212\t179.4677\t469.9219\t242.9844\t93.96923\t103.7846\t203.803\t85.57377\t61.04762\t333.7344\t432.8615\t1038.825\t258.9375\t446.8308\t523.746\t447.7576\t399.5156\t288.403\t726.8571\t156.4127\t696.6866\t386.1818\t508.1231\t539.5323\t383.127\t354.8769\t642.0156\t522.7463\t291.1475\t284.5313\t244.4426\t351.4923\t245.6957\t567.3333\t470.7937\t385.1212\t395.7538\n4\t81.66129\t93.13333\t77.21538\t85.24615\t81.64516\t78\t69.67188\t70.80597\t71.35088\t66.32308\t63.50877\t113.371\t66.82258\t78.42857\t67.69841\t74.75806\t73.74627\t76.32353\t77\t80.10938\t74.04688\t68.38462\t72.61404\t70.27692\t76.1\t68.875\t67.69841\t85.13636\t72.41935\t76.40625\t65.36923\t76.61538\t71.18033\t65.375\t63.89063\t75.66667\t66.72131\t73.4697\t70.40625\t68.55882\t61.72131\t68.92308\t71.03226\t68.91935\t69.67692\t66.38983\t75.0339\t68.18462\t63.4127\t62.62121\t63.25806\t63.87302\t62.35385\t62.95385\t66.5\t61.03333\t64.03125\t70.6\t70.52542\t67.36508\t59.76563\t59.80645\t68.72727\t53.33333\t77.80952\t67.8254\t73.24242\t79.95238\t97.68333\t70.0625\t75.18462\t71.23077\t78.51563\t68.57143\t71.63333\t91.53731\t73.86364\t74.67742\t85.10606\t69.25\t79.32787\t81.7541\t84.71429\t74.70313\t75.67742\t76.42857\t69.04688\t84.11475\t66.40625\t88.56923\t79.21311\t69.01563\t70.46774\t75.32308\t79.10769\t87.48333\t76\t69.88889\t74.89231\t67.92063\t71.53846\t73.96825\t52.9375\t82.75385\t119.1111\t70.63636\t72.79032\t85.49231\t69.84375\t70.09231\t71.30303\t67.12308\t61.69355\t64.01587\t74.34483\t76\t91.58621\t60.65574\t64.89063\t64.15385\t73.1875\t63.28571\t61.42623\t60.87931\t63.34375\t70.61538\t64.46032\t69.95385\t68.16129\t62.90323\t65.06452\t75.55385\t69.74194\t68.34375\t71.9375\t65.85938\t61.42188\t59.40323\t67.18462\t64.88889\t61.68182\t66.98438\n5\t65.24615\t65.40909\t61.55385\t63.64516\t70.79688\t65.15385\t62.96923\t61.7377\t65.77778\t64.06667\t55.5625\t62.20896\t69.9375\t66.8254\t79.65079\t74.48387\t66.64615\t74.76923\t71.22034\t69.23438\t68.80328\t67.4375\t70.98361\t84.03448\t119.0625\t129.623\t74.47619\t87.45455\t69.96667\t69.81967\t57.26563\t69.44615\t63.9375\t58.31148\t143.0984\t116.3443\t60.57143\t62.5\t60.0339\t62.75806\t58.14754\t58.49231\t66.64063\t63.15873\t74\t59.77586\t60.13846\t104.4531\t54.85714\t128.2712\t75.98361\t62.15625\t58.98438\t55.56452\t136.7869\t57.20968\t58.87302\t60.31746\t104.5645\t57.12698\t60.26984\t94.61538\t62.09231\t51.5\t67.0625\t64.8\t69.2381\t72.18182\t105.2131\t75.2459\t88.98361\t103.4219\t66.93939\t67.86364\t65.55738\t67.43548\t61.32143\t63.72414\t75.44444\t66.75\t67.5\t64.2\t77.68852\t61.96923\t60.34848\t69.83582\t61.84615\t70.61538\t66.5625\t82.17308\t67.62903\t63.75385\t110.3443\t59.25397\t926.7091\t71\t96.95313\t67.7\t80.38462\t68.35849\t60.66154\t65.50725\t56.86765\t80.5873\t996.25\t59.9375\t74.06349\t65.95385\t64.48214\t64.30508\t164.8281\t69.3125\t106.9833\t66.07813\t76.46154\t71.63077\t142.9697\t57.69231\t68.89394\t103.8594\t63.72308\t59.22727\t59.51515\t68.92424\t57.01538\t63.25397\t105.2712\t115.1452\t61.90476\t73.25806\t75.46667\t77.12308\t72.15385\t63.375\t207.9692\t108.1613\t186.0968\t56.60317\t179.871\t62.3
  "uri": "/repo/v1/dataset/0/layer/8/preview"
}

Get preview data as a map for a Expression Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/8/previewAsMap'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:16 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "PAN0107": "4000.03",
      "PAN0109": "4839.523",
      "PAN0110": "3731.508",
      "PAN0112": "3805.682",
      "PAN0113": "4104.985",
      "PAN0114": "2989.531",
      "PAN0115": "4455.729",
      "PAN0117": "2772.406",
      "PAN0120": "3399.6",
      "PAN0122": "4548.587",
      "PAN0125": "5006.615",
      "PAN0127": "4853.897",
      "PAN0128": "2799.791",
      "PAN0129": "4095.29",
      "PAN0134": "5059.579",
      "PAN0135": "4772.7",
      "PAN0136": "4492.098",
      "PAN0144": "2437.377",
      "PAN0147": "3598.118",
      "PAN0151": "1725.697",
      "PAN0157": "1895.766",
      "PAN0162": "4834.629",
      "PAN0164": "3024.2",
      "PAN0167": "3357.5",
      "PAN0169": "3685.453",
      "PAN0171": "3399.731",
      "PAN0172": "3934.619",
      "PAN0174": "4650.254",
      "PCA0001": "2990.017",
      "PCA0003": "3225.754",
      "PCA0005": "3691.383",
      "PCA0007": "2428.903",
      "PCA0009": "2447.766",
      "PCA0012": "2158.419",
      "PCA0017": "2426.172",
      "PCA0023": "2685.885",
      "PCA0024": "2540.448",
      "PCA0027": "4462.905",
      "PCA0029": "3504.644",
      "PCA0033": "4572.879",
      "PCA0040": "3893.71",
      "PCA0050": "2643.391",
      "PCA0054": "4426.644",
      "PCA0056": "7672.571",
      "PCA0057": "5029.365",
      "PCA0062": "1760.492",
      "PCA0063": "4032.742",
      "PCA0064": "7636.937",
      "PCA0065": "4173.273",
      "PCA0066": "7124.65",
      "PCA0074": "2039.656",
      "PCA0075": "2484.422",
      "PCA0077": "3107.908",
      "PCA0080": "3796.703",
      "PCA0081": "3063.258",
      "PCA0082": "2498.594",
      "PCA0086": "5740.215",
      "PCA0087": "7434.929",
      "PCA0089": "6195.847",
      "PCA0090": "2460.825",
      "PCA0092": "3170.618",
      "PCA0093": "5254.233",
      "PCA0094": "6592.313",
      "PCA0095": "7070.516",
      "PCA0096": "4445.333",
      "PCA0097": "4233.721",
      "PCA0099": "7866.306",
      "PCA0101": "6927.111",
      "PCA0103": "4913.793",
      "PCA0104": "5495.066",
      "PCA0105": "5883.794",
      "PCA0107": "4339.393",
      "PCA0108": "4642.71",
      "PCA0109": "4149.921",
      "PCA0110": "3347.065",
      "PCA0111": "3538.866",
      "PCA0112": "3416.23",
      "PCA0113": "2769.556",
      "PCA0114": "3411.125",
      "PCA0115": "3447.983",
      "PCA0117": "3213.724",
      "PCA0118": "3134.153",
      "PCA0119": "2674.483",
      "PCA0120": "4396.938",
      "PCA0122": "3173.127",
      "PCA0124": "3220.164",
      "PCA0125": "4446.333",
      "PCA0126": "5456.233",
      "PCA0127": "4610.339",
      "PCA0128": "2828.475",
      "PCA0129": "4883.317",
      "PCA0130": "2078.242",
      "PCA0132": "3386.873",
      "PCA0134": "1506.581",
      "PCA0135": "2367.097",
      "PCA0136": "3052.415",
      "PCA0141": "2242.281",
      "PCA0144": "3739.516",
      "PCA0145": "3795.286",
      "PCA0146": "3045.714",
      "PCA0147": "4192.887",
      "PCA0149": "3323.274",
      "PCA0151": "3495.712",
      "PCA0155": "4641.922",
      "PCA0156": "3296.273",
      "PCA0157": "7722.288",
      "PCA0158": "5004.446",
      "PCA0159": "2624.862",
      "PCA0160": "2078.984",
      "PCA0161": "7296.15",
      "PCA0162": "3097.415",
      "PCA0163": "2365.484",
      "PCA0164": "5935.327",
      "PCA0165": "4574.781",
      "PCA0167": "3666.197",
      "PCA0168": "2763.781",
      "PCA0169": "2871.125",
      "PCA0170": "3474.476",
      "PCA0171": "3309.367",
      "PCA0172": "4926.844",
      "PCA0173": "3561.031",
      "PCA0174": "5725.778",
      "PCA0175": "3477.968",
      "PCA0178": "3445.803",
      "PCA0179": "2806.219",
      "PCA0180": "4428.469",
      "PCA0181": "3650.871",
      "PCA0184": "4374.429",
      "PCA0187": "2786.085",
      "PCA0189": "2968.609",
      "PCA0190": "4053.984",
      "PCA0194": "6159.234",
      "PCA0199": "4224.938",
      "PCA0200": "2226.656",
      "PCA0201": "3110.938",
      "PCA0203": "2386.578",
      "PCA0206": "3080.742",
      "PCA0207": "1907.446",
      "PCA0208": "5531.435",
      "PCA0211": "3762.484",
      "PCA0213": "2992.806",
      "Vcap": "2995.1",
      "feature_id": "1"
    },
    {
      "PAN0107": "55.67188",
      "PAN0109": "56.23077",
      "PAN0110": "63.63462",
      "PAN0112": "54.35484",
      "PAN0113": "56.38095",
      "PAN0114": "59.33333",
      "PAN0115": "54.91935",
      "PAN0117": "62.73077",
      "PAN0120": "54.35385",
      "PAN0122": "54.31148",
      "PAN0125": "53.10606",
      "PAN0127": "56.2459",
      "PAN0128": "52.88333",
      "PAN0129": "56.58462",
      "PAN0134": "64.06897",
      "PAN0135": "64.90625",
      "PAN0136": "59.06061",
      "PAN0144": "59.4375",
      "PAN0147": "63.47826",
      "PAN0151": "68.93443",
      "PAN0157": "68.38806",
      "PAN0162": "49.85938",
      "PAN0164": "74.8125",
      "PAN0167": "55.44444",
      "PAN0169": "53.61667",
      "PAN0171": "52.53333",
      "PAN0172": "54.21875",
      "PAN0174": "53.80645",
      "PCA0001": "62.82813",
      "PCA0003": "59.06154",
      "PCA0005": "61.8125",
      "PCA0007": "60.79661",
      "PCA0009": "65.14063",
      "PCA0012": "62.37097",
      "PCA0017": "58.4697",
      "PCA0023": "60.25",
      "PCA0024": "62.92188",
      "PCA0027": "52.10606",
      "PCA0029": "51.29231",
      "PCA0033": "60.30769",
      "PCA0040": "55.58462",
      "PCA0050": "65.90323",
      "PCA0054": "66.67692",
      "PCA0056": "64.63492",
      "PCA0057": "60.90625",
      "PCA0062": "68.63934",
      "PCA0063": "68.03175",
      "PCA0064": "70.35",
      "PCA0065": "68.75",
      "PCA0066": "62.38462",
      "PCA0074": "63.63077",
      "PCA0075": "64.50769",
      "PCA0077": "64.7541",
      "PCA0080": "55.32258",
      "PCA0081": "61.4375",
      "PCA0082": "72.0625",
      "PCA0086": "56",
      "PCA0087": "53.73016",
      "PCA0089": "57.51563",
      "PCA0090": "66.27419",
      "PCA0092": "57.09836",
      "PCA0093": "53.26984",
      "PCA0094": "57.14063",
      "PCA0095": "54.82813",
      "PCA0096": "59.90164",
      "PCA0097": "67.30303",
      "PCA0099": "52.98485",
      "PCA0101": "55.36923",
      "PCA0103": "55.61905",
      "PCA0104": "52.93443",
      "PCA0105": "55.01563",
      "PCA0107": "59.9375",
      "PCA0108": "52.82258",
      "PCA0109": "52.5",
      "PCA0110": "54.46154",
      "PCA0111": "55.61905",
      "PCA0112": "54.20313",
      "PCA0113": "52.44615",
      "PCA0114": "57.07937",
      "PCA0115": "60.9661",
      "PCA0117": "52.01563",
      "PCA0118": "56.90625",
      "PCA0119": "55.38462",
      "PCA0120": "58.61538",
      "PCA0122": "54.30159",
      "PCA0124": "52.15152",
      "PCA0125": "55.28125",
      "PCA0126": "53.07937",
      "PCA0127": "54.26154",
      "PCA0128": "57.14286",
      "PCA0129": "53.92188",
      "PCA0130": "54.03077",
      "PCA0132": "62.35385",
      "PCA0134": "64.7377",
      "PCA0135": "62.28788",
      "PCA0136": "63.92308",
      "PCA0141": "57.37879",
      "PCA0144": "61.98438",
      "PCA0145": "63.70313",
      "PCA0146": "62.73438",
      "PCA0147": "64.9375",
      "PCA0149": "63.97015",
      "PCA0151": "64.90476",
      "PCA0155": "74.52381",
      "PCA0156": "68.01613",
      "PCA0157": "63.18182",
      "PCA0158": "61.58462",
      "PCA0159": "59.92188",
      "PCA0160": "66.66154",
      "PCA0161": "65.14516",
      "PCA0162": "88.17241",
      "PCA0163": "64.3871",
      "PCA0164": "61.22414",
      "PCA0165": "62.29231",
      "PCA0167": "61.44444",
      "PCA0168": "65.34921",
      "PCA0169": "58.72881",
      "PCA0170": "66.05085",
      "PCA0171": "62.04688",
      "PCA0172": "62.10606",
      "PCA0173": "59.71212",
      "PCA0174": "60.71667",
      "PCA0175": "59.2",
      "PCA0178": "59.28571",
      "PCA0179": "63.95313",
      "PCA0180": "67.3125",
      "PCA0181": "62.33898",
      "PCA0184": "64.01587",
      "PCA0187": "58.5873",
      "PCA0189": "61.27273",
      "PCA0190": "56.8",
      "PCA0194": "56.40323",
      "PCA0199": "69.67188",
      "PCA0200": "60.04688",
      "PCA0201": "64.28125",
      "PCA0203": "66.33871",
      "PCA0206": "60.56923",
      "PCA0207": "65.4918",
      "PCA0208": "53.63934",
      "PCA0211": "54.43548",
      "PCA0213": "64.36508",
      "Vcap": "58.36923",
      "feature_id": "2"
    },
    {
      "PAN0107": "446.8308",
      "PAN0109": "523.746",
      "PAN0110": "447.7576",
      "PAN0112": "399.5156",
      "PAN0113": "258.9375",
      "PAN0114": "288.403",
      "PAN0115": "726.8571",
      "PAN0117": "386.1818",
      "PAN0120": "508.1231",
      "PAN0122": "156.4127",
      "PAN0125": "696.6866",
      "PAN0127": "539.5323",
      "PAN0128": "383.127",
      "PAN0129": "354.8769",
      "PAN0134": "642.0156",
      "PAN0135": "522.7463",
      "PAN0136": "291.1475",
      "PAN0144": "284.5313",
      "PAN0147": "244.4426",
      "PAN0151": "333.7344",
      "PAN0157": "432.8615",
      "PAN0162": "351.4923",
      "PAN0164": "1038.825",
      "PAN0167": "245.6957",
      "PAN0169": "567.3333",
      "PAN0171": "470.7937",
      "PAN0172": "385.1212",
      "PAN0174": "395.7538",
      "PCA0001": "552.0923",
      "PCA0003": "656.8333",
      "PCA0005": "464.8154",
      "PCA0007": "497.2063",
      "PCA0009": "706.5313",
      "PCA0012": "336.1746",
      "PCA0017": "268.2742",
      "PCA0023": "140.4127",
      "PCA0024": "248.625",
      "PCA0027": "600.4063",
      "PCA0029": "351.8462",
      "PCA0033": "554.2462",
      "PCA0040": "469.8254",
      "PCA0050": "496.1077",
      "PCA0054": "131.7846",
      "PCA0056": "313",
      "PCA0057": "174.7727",
      "PCA0062": "203.2",
      "PCA0063": "326.9385",
      "PCA0064": "247.254",
      "PCA0065": "276.8923",
      "PCA0066": "282.9219",
      "PCA0074": "428.9846",
      "PCA0075": "327.2537",
      "PCA0077": "543.5714",
      "PCA0080": "284.9844",
      "PCA0081": "246.2031",
      "PCA0082": "488.5846",
      "PCA0086": "543.0794",
      "PCA0087": "365.7231",
      "PCA0089": "342.4839",
      "PCA0090": "561.375",
      "PCA0092": "302.0938",
      "PCA0093": "177.3065",
      "PCA0094": "302.2857",
      "PCA0095": "659.8154",
      "PCA0096": "273.5714",
      "PCA0097": "314.3651",
      "PCA0099": "375.2258",
      "PCA0101": "616.3934",
      "PCA0103": "400.2188",
      "PCA0104": "400.8333",
      "PCA0105": "471.2623",
      "PCA0107": "323.2031",
      "PCA0108": "249.0806",
      "PCA0109": "285.0615",
      "PCA0110": "348.2462",
      "PCA0111": "462.0758",
      "PCA0112": "229.5781",
      "PCA0113": "330.2857",
      "PCA0114": "285.8438",
      "PCA0115": "197.8889",
      "PCA0117": "231.9538",
      "PCA0118": "301.0317",
      "PCA0119": "172.9394",
      "PCA0120": "273.873",
      "PCA0122": "307.5079",
      "PCA0124": "324.9206",
      "PCA0125": "346.4091",
      "PCA0126": "213.0455",
      "PCA0127": "310.375",
      "PCA0128": "215.3968",
      "PCA0129": "369.4921",
      "PCA0130": "168",
      "PCA0132": "380.5932",
      "PCA0134": "143.9667",
      "PCA0135": "78.4918",
      "PCA0136": "183.0909",
      "PCA0141": "603.25",
      "PCA0144": "92.98485",
      "PCA0145": "227.3846",
      "PCA0146": "212.2381",
      "PCA0147": "251.5385",
      "PCA0149": "207.3231",
      "PCA0151": "113.3906",
      "PCA0155": "238.1935",
      "PCA0156": "167.4154",
      "PCA0157": "215.4286",
      "PCA0158": "338.2969",
      "PCA0159": "358.1077",
      "PCA0160": "331.7536",
      "PCA0161": "377.3846",
      "PCA0162": "206.4848",
      "PCA0163": "192.7846",
      "PCA0164": "246.5781",
      "PCA0165": "341.9344",
      "PCA0167": "215.9375",
      "PCA0168": "174.4769",
      "PCA0169": "200.5",
      "PCA0170": "543.6667",
      "PCA0171": "222.8594",
      "PCA0172": "238.9375",
      "PCA0173": "212.1111",
      "PCA0174": "206.2903",
      "PCA0175": "209.1385",
      "PCA0178": "513.0909",
      "PCA0179": "116.5397",
      "PCA0180": "288.6615",
      "PCA0181": "189.1231",
      "PCA0184": "212.3636",
      "PCA0187": "95.98485",
      "PCA0189": "110.6406",
      "PCA0190": "75.90323",
      "PCA0194": "129.5938",
      "PCA0199": "633.6349",
      "PCA0200": "78.71212",
      "PCA0201": "179.4677",
      "PCA0203": "469.9219",
      "PCA0206": "242.9844",
      "PCA0207": "93.96923",
      "PCA0208": "103.7846",
      "PCA0211": "203.803",
      "PCA0213": "85.57377",
      "Vcap": "61.04762",
      "feature_id": "3"
    },
    {
      "PAN0107": "64.89063",
      "PAN0109": "64.15385",
      "PAN0110": "73.1875",
      "PAN0112": "63.28571",
      "PAN0113": "60.65574",
      "PAN0114": "61.42623",
      "PAN0115": "60.87931",
      "PAN0117": "64.46032",
      "PAN0120": "69.95385",
      "PAN0122": "63.34375",
      "PAN0125": "70.61538",
      "PAN0127": "68.16129",
      "PAN0128": "62.90323",
      "PAN0129": "65.06452",
      "PAN0134": "75.55385",
      "PAN0135": "69.74194",
      "PAN0136": "68.34375",
      "PAN0144": "71.9375",
      "PAN0147": "65.85938",
      "PAN0151": "74.34483",
      "PAN0157": "76",
      "PAN0162": "61.42188",
      "PAN0164": "91.58621",
      "PAN0167": "59.40323",
      "PAN0169": "67.18462",
      "PAN0171": "64.88889",
      "PAN0172": "61.68182",
      "PAN0174": "66.98438",
      "PCA0001": "81.66129",
      "PCA0003": "93.13333",
      "PCA0005": "77.21538",
      "PCA0007": "85.24615",
      "PCA0009": "81.64516",
      "PCA0012": "78",
      "PCA0017": "69.67188",
      "PCA0023": "70.80597",
      "PCA0024": "71.35088",
      "PCA0027": "66.32308",
      "PCA0029": "63.50877",
      "PCA0033": "113.371",
      "PCA0040": "66.82258",
      "PCA0050": "78.42857",
      "PCA0054": "67.69841",
      "PCA0056": "74.75806",
      "PCA0057": "73.74627",
      "PCA0062": "76.32353",
      "PCA0063": "77",
      "PCA0064": "80.10938",
      "PCA0065": "74.04688",
      "PCA0066": "68.38462",
      "PCA0074": "72.61404",
      "PCA0075": "70.27692",
      "PCA0077": "76.1",
      "PCA0080": "68.875",
      "PCA0081": "67.69841",
      "PCA0082": "85.13636",
      "PCA0086": "72.41935",
      "PCA0087": "76.40625",
      "PCA0089": "65.36923",
      "PCA0090": "76.61538",
      "PCA0092": "71.18033",
      "PCA0093": "65.375",
      "PCA0094": "63.89063",
      "PCA0095": "75.66667",
      "PCA0096": "66.72131",
      "PCA0097": "73.4697",
      "PCA0099": "70.40625",
      "PCA0101": "68.55882",
      "PCA0103": "61.72131",
      "PCA0104": "68.92308",
      "PCA0105": "71.03226",
      "PCA0107": "68.91935",
      "PCA0108": "69.67692",
      "PCA0109": "66.38983",
      "PCA0110": "75.0339",
      "PCA0111": "68.18462",
      "PCA0112": "63.4127",
      "PCA0113": "62.62121",
      "PCA0114": "63.25806",
      "PCA0115": "63.87302",
      "PCA0117": "62.35385",
      "PCA0118": "62.95385",
      "PCA0119": "66.5",
      "PCA0120": "61.03333",
      "PCA0122": "64.03125",
      "PCA0124": "70.6",
      "PCA0125": "70.52542",
      "PCA0126": "67.36508",
      "PCA0127": "59.76563",
      "PCA0128": "59.80645",
      "PCA0129": "68.72727",
      "PCA0130": "53.33333",
      "PCA0132": "77.80952",
      "PCA0134": "67.8254",
      "PCA0135": "73.24242",
      "PCA0136": "79.95238",
      "PCA0141": "97.68333",
      "PCA0144": "70.0625",
      "PCA0145": "75.18462",
      "PCA0146": "71.23077",
      "PCA0147": "78.51563",
      "PCA0149": "68.57143",
      "PCA0151": "71.63333",
      "PCA0155": "91.53731",
      "PCA0156": "73.86364",
      "PCA0157": "74.67742",
      "PCA0158": "85.10606",
      "PCA0159": "69.25",
      "PCA0160": "79.32787",
      "PCA0161": "81.7541",
      "PCA0162": "84.71429",
      "PCA0163": "74.70313",
      "PCA0164": "75.67742",
      "PCA0165": "76.42857",
      "PCA0167": "69.04688",
      "PCA0168": "84.11475",
      "PCA0169": "66.40625",
      "PCA0170": "88.56923",
      "PCA0171": "79.21311",
      "PCA0172": "69.01563",
      "PCA0173": "70.46774",
      "PCA0174": "75.32308",
      "PCA0175": "79.10769",
      "PCA0178": "87.48333",
      "PCA0179": "76",
      "PCA0180": "69.88889",
      "PCA0181": "74.89231",
      "PCA0184": "67.92063",
      "PCA0187": "71.53846",
      "PCA0189": "73.96825",
      "PCA0190": "52.9375",
      "PCA0194": "82.75385",
      "PCA0199": "119.1111",
      "PCA0200": "70.63636",
      "PCA0201": "72.79032",
      "PCA0203": "85.49231",
      "PCA0206": "69.84375",
      "PCA0207": "70.09231",
      "PCA0208": "71.30303",
      "PCA0211": "67.12308",
      "PCA0213": "61.69355",
      "Vcap": "64.01587",
      "feature_id": "4"
    },
    {
      "PAN0107": "68.89394",
      "PAN0109": "103.8594",
      "PAN0110": "63.72308",
      "PAN0112": "59.22727",
      "PAN0113": "57.69231",
      "PAN0114": "59.51515",
      "PAN0115": "68.92424",
      "PAN0117": "105.2712",
      "PAN0120": "115.1452",
      "PAN0122": "57.01538",
      "PAN0125": "63.25397",
      "PAN0127": "61.90476",
      "PAN0128": "73.25806",
      "PAN0129": "75.46667",
      "PAN0134": "77.12308",
      "PAN0135": "72.15385",
      "PAN0136": "63.375",
      "PAN0144": "207.9692",
      "PAN0147": "108.1613",
      "PAN0151": "76.46154",
      "PAN0157": "71.63077",
      "PAN0162": "186.0968",
      "PAN0164": "142.9697",
      "PAN0167": "56.60317",
      "PAN0169": "179.871",
      "PAN0171": "62.32813",
      "PAN0172": "56.01613",
      "PAN0174": "56.45455",
      "PCA0001": "65.24615",
      "PCA0003": "65.40909",
      "PCA0005": "61.55385",
      "PCA0007": "63.64516",
      "PCA0009": "70.79688",
      "PCA0012": "65.15385",
      "PCA0017": "62.96923",
      "PCA0023": "61.7377",
      "PCA0024": "65.77778",
      "PCA0027": "64.06667",
      "PCA0029": "55.5625",
      "PCA0033": "62.20896",
      "PCA0040": "69.9375",
      "PCA0050": "66.8254",
      "PCA0054": "79.65079",
      "PCA0056": "74.48387",
      "PCA0057": "66.64615",
      "PCA0062": "74.76923",
      "PCA0063": "71.22034",
      "PCA0064": "69.23438",
      "PCA0065": "68.80328",
      "PCA0066": "67.4375",
      "PCA0074": "70.98361",
      "PCA0075": "84.03448",
      "PCA0077": "119.0625",
      "PCA0080": "129.623",
      "PCA0081": "74.47619",
      "PCA0082": "87.45455",
      "PCA0086": "69.96667",
      "PCA0087": "69.81967",
      "PCA0089": "57.26563",
      "PCA0090": "69.44615",
      "PCA0092": "63.9375",
      "PCA0093": "58.31148",
      "PCA0094": "143.0984",
      "PCA0095": "116.3443",
      "PCA0096": "60.57143",
      "PCA0097": "62.5",
      "PCA0099": "60.0339",
      "PCA0101": "62.75806",
      "PCA0103": "58.14754",
      "PCA0104": "58.49231",
      "PCA0105": "66.64063",
      "PCA0107": "63.15873",
      "PCA0108": "74",
      "PCA0109": "59.77586",
      "PCA0110": "60.13846",
      "PCA0111": "104.4531",
      "PCA0112": "54.85714",
      "PCA0113": "128.2712",
      "PCA0114": "75.98361",
      "PCA0115": "62.15625",
      "PCA0117": "58.98438",
      "PCA0118": "55.56452",
      "PCA0119": "136.7869",
      "PCA0120": "57.20968",
      "PCA0122": "58.87302",
      "PCA0124": "60.31746",
      "PCA0125": "104.5645",
      "PCA0126": "57.12698",
      "PCA0127": "60.26984",
      "PCA0128": "94.61538",
      "PCA0129": "62.09231",
      "PCA0130": "51.5",
      "PCA0132": "67.0625",
      "PCA0134": "64.8",
      "PCA0135": "69.2381",
      "PCA0136": "72.18182",
      "PCA0141": "105.2131",
      "PCA0144": "75.2459",
      "PCA0145": "88.98361",
      "PCA0146": "103.4219",
      "PCA0147": "66.93939",
      "PCA0149": "67.86364",
      "PCA0151": "65.55738",
      "PCA0155": "67.43548",
      "PCA0156": "61.32143",
      "PCA0157": "63.72414",
      "PCA0158": "75.44444",
      "PCA0159": "66.75",
      "PCA0160": "67.5",
      "PCA0161": "64.2",
      "PCA0162": "77.68852",
      "PCA0163": "61.96923",
      "PCA0164": "60.34848",
      "PCA0165": "69.83582",
      "PCA0167": "61.84615",
      "PCA0168": "70.61538",
      "PCA0169": "66.5625",
      "PCA0170": "82.17308",
      "PCA0171": "67.62903",
      "PCA0172": "63.75385",
      "PCA0173": "110.3443",
      "PCA0174": "59.25397",
      "PCA0175": "926.7091",
      "PCA0178": "71",
      "PCA0179": "96.95313",
      "PCA0180": "67.7",
      "PCA0181": "80.38462",
      "PCA0184": "68.35849",
      "PCA0187": "60.66154",
      "PCA0189": "65.50725",
      "PCA0190": "56.86765",
      "PCA0194": "80.5873",
      "PCA0199": "996.25",
      "PCA0200": "59.9375",
      "PCA0201": "74.06349",
      "PCA0203": "65.95385",
      "PCA0206": "64.48214",
      "PCA0207": "64.30508",
      "PCA0208": "164.8281",
      "PCA0211": "69.3125",
      "PCA0213": "106.9833",
      "Vcap": "66.07813",
      "feature_id": "5"
    }
  ],
  "totalNumberOfResults": 5
}

Get the locations for a Expression Dataset Layer

This returns all the locations metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/8/locations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:16 GMT
ETag: -586807186
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "etag": "-586807186",
  "id": "8",
  "locations": [
    {
      "md5sum": null,
      "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
      "type": "sage"
    },
    {
      "md5sum": "9c5b5c11304d34357f4bee6a110c1122",
      "path": "mskcc_prostate_cancer.mirna.zip",
      "type": "awss3"
    }
  ],
  "uri": "/repo/v1/dataset/0/layer/8/locations"
}

Get the sageLocation for a Expression Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/8/sageLocation'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
Server: Apache-Coyote/1.1
Content-Length: 93
Connection: keep-alive

{
  "md5sum": null,
  "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
  "type": "sage"
}

Get the awsS3Location for a Expression Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/8/awsS3Location'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
Server: Apache-Coyote/1.1
Content-Length: 242
Connection: keep-alive

{
  "md5sum": "9c5b5c11304d34357f4bee6a110c1122",
  "path": "https://data01.sagebase.org.s3.amazonaws.com/mskcc_prostate_cancer.mirna.zip?Expires=1303245437&AWSAccessKeyId=AKIAI3BTGJG752CCJUVA&Signature=wE7qZjZxGjFymK9ytMF5udetTjc%3D",
  "type": "awss3"
}

Get a Clinical Dataset Layer

This returns the metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/5'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
ETag: -2139733931
Server: Apache-Coyote/1.1
Content-Length: 588
Connection: keep-alive

{
  "annotations": "/repo/v1/dataset/0/layer/5/annotations",
  "creationDate": 1302568160441,
  "description": null,
  "etag": "-2139733931",
  "id": "5",
  "locations": [
    "/repo/v1/dataset/0/layer/5/locations",
    "/repo/v1/dataset/0/layer/5/awsS3Location",
    "/repo/v1/dataset/0/layer/5/sageLocation"
  ],
  "name": "Curated phenotypes",
  "numSamples": 261,
  "platform": "NA",
  "preview": "/repo/v1/dataset/0/layer/5/preview",
  "processingFacility": null,
  "publicationDate": null,
  "qcBy": "Solly Sieberts",
  "qcDate": null,
  "releaseNotes": null,
  "status": "curated",
  "tissueType": null,
  "type": "C",
  "uri": "/repo/v1/dataset/0/layer/5",
  "version": "1.0.0"
}

Get Annotations for a Clinical Dataset Layer

This returns the annotations for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/5/annotations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
ETag: 923521
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "creationDate": null,
  "dateAnnotations": {},
  "doubleAnnotations": {},
  "etag": "923521",
  "id": "5",
  "longAnnotations": {},
  "stringAnnotations": {},
  "uri": "/repo/v1/dataset/0/layer/5/annotations"
}

Get preview data for a Clinical Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/5/preview'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
ETag: 1782170291
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "etag": "1782170291",
  "id": "5",
  "preview": "phenotype_id\tsample_type\tmetastatic_site\tethnicity\tpredxbxpsa\tage\tclinical_primary_gleason\tclinical_secondary_gleason\tclinical_gleason_score\tpre_treatment_psa\tclinical_tnm_stage_t\tneoadjradtx\tchemotx\thormtx\tradtxtype\trp_type\tsms\textra_capsular_extension\tseminal_vesicle_invasion\ttnm_stage_n\tnumber_nodes_removed\tnumber_nodes_positive\tpathologic_tnm_stage_t\tpathologic_primary_gleason\tpathologic_secondary_gleason\tpathologic_gleason_score\tbcr_freetime\tbcr_event\tmetsevent\tsurvtime\tevent\tnomogram_pfp_postrp\tnomogram_nomopred_extra_capsular_extension\tnomogram_nomopred_lni\tnomogram_nomopred_ocd\tnomogram_nomopred_seminal_vesicle_invasion\tcopy_number_cluster\texpression_array_tissue_source\r\nPCA0004\tPRIMARY\tNA\tWhite Non Hispanic\t27.5\t68.93\t3\t2\t5\t11.8\tT2B\tNA\tNA\tNA\tNA\tRP\tNegative\tESTABLISHED\tNegative\tNormal_N0\t13\t0\tT3A\t3\t4\t7\t152.55\tNO\tNO\t152.55\tNO\tNA\t37.937846\t3.593974\t55.082939\tNA\t1\tNA\r\nPCA0006\tPRIMARY\tNA\tWhite Non Hispanic\t15.7\t56.64\t3\t3\t6\t8.2\tT2B\tNA\tNA\tNeoadjuvant HORM\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t4\t0\tT2C\t3\t3\t6\t160.96\tNO\tNO\t160.96\tNO\tNA\tNA\tNA\tNA\tNA\t4\tNA\r\nPCA0016\tPRIMARY\tNA\tWhite Non Hispanic\t12\t67.36\t3\t3\t6\t12\tT2B\tNA\tNA\tNeoadjuvant HORM\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t2\t0\tT2C\t4\t4\t8\t74.22\tNO\tNO\t74.22\tNO\t99\tNA\tNA\tNA\t97.11015465\t2\tNA\r\nPCA0019\tPRIMARY\tNA\tWhite Non Hispanic\t6.6\t68.12\t3\t4\t7\t6.6\tT1C\tNA\tNA\tNA\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t1\t0\tT2C\t3\t3\t6\t110.33\tBCR_Algorithm\tNO\t123.67\tNO\tNA\tNA\tNA\tNA\t79.85545652\t2\tNA\r\nPCA0023\tPRIMARY\tNA\tBlack Non Hispanic\t4.3\t60.57\t4\t3\t7\t3.88\tT1C\tNA\tNA\tPostHORM\tNA\tRP\tPositive\tNONE\tNegative\tNormal_N0\t2\t0\tT2C\t4\t5\t9\t10.61\tBCR_Algorithm\tNO\t72.84\tDEATH FROM OTHER CANCER\t79.85546\t19.190208\t2.138938\t77.240045\t99\t4\tNA\r\n",
  "uri": "/repo/v1/dataset/0/layer/5/preview"
}

Get preview data as a map for a Clinical Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/5/previewAsMap'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "age": "68.93",
      "bcr_event": "NO",
      "bcr_freetime": "152.55",
      "chemotx": "NA",
      "clinical_gleason_score": "5",
      "clinical_primary_gleason": "3",
      "clinical_secondary_gleason": "2",
      "clinical_tnm_stage_t": "T2B",
      "copy_number_cluster": "1",
      "ethnicity": "White Non Hispanic",
      "event": "NO",
      "expression_array_tissue_source\r": "NA\r",
      "extra_capsular_extension": "ESTABLISHED",
      "hormtx": "NA",
      "metastatic_site": "NA",
      "metsevent": "NO",
      "neoadjradtx": "NA",
      "nomogram_nomopred_extra_capsular_extension": "37.937846",
      "nomogram_nomopred_lni": "3.593974",
      "nomogram_nomopred_ocd": "55.082939",
      "nomogram_nomopred_seminal_vesicle_invasion": "NA",
      "nomogram_pfp_postrp": "NA",
      "number_nodes_positive": "0",
      "number_nodes_removed": "13",
      "pathologic_gleason_score": "7",
      "pathologic_primary_gleason": "3",
      "pathologic_secondary_gleason": "4",
      "pathologic_tnm_stage_t": "T3A",
      "phenotype_id": "PCA0004",
      "pre_treatment_psa": "11.8",
      "predxbxpsa": "27.5",
      "radtxtype": "NA",
      "rp_type": "RP",
      "sample_type": "PRIMARY",
      "seminal_vesicle_invasion": "Negative",
      "sms": "Negative",
      "survtime": "152.55",
      "tnm_stage_n": "Normal_N0"
    },
    {
      "age": "56.64",
      "bcr_event": "NO",
      "bcr_freetime": "160.96",
      "chemotx": "NA",
      "clinical_gleason_score": "6",
      "clinical_primary_gleason": "3",
      "clinical_secondary_gleason": "3",
      "clinical_tnm_stage_t": "T2B",
      "copy_number_cluster": "4",
      "ethnicity": "White Non Hispanic",
      "event": "NO",
      "expression_array_tissue_source\r": "NA\r",
      "extra_capsular_extension": "NONE",
      "hormtx": "Neoadjuvant HORM",
      "metastatic_site": "NA",
      "metsevent": "NO",
      "neoadjradtx": "NA",
      "nomogram_nomopred_extra_capsular_extension": "NA",
      "nomogram_nomopred_lni": "NA",
      "nomogram_nomopred_ocd": "NA",
      "nomogram_nomopred_seminal_vesicle_invasion": "NA",
      "nomogram_pfp_postrp": "NA",
      "number_nodes_positive": "0",
      "number_nodes_removed": "4",
      "pathologic_gleason_score": "6",
      "pathologic_primary_gleason": "3",
      "pathologic_secondary_gleason": "3",
      "pathologic_tnm_stage_t": "T2C",
      "phenotype_id": "PCA0006",
      "pre_treatment_psa": "8.2",
      "predxbxpsa": "15.7",
      "radtxtype": "NA",
      "rp_type": "RP",
      "sample_type": "PRIMARY",
      "seminal_vesicle_invasion": "Negative",
      "sms": "Negative",
      "survtime": "160.96",
      "tnm_stage_n": "Normal_N0"
    },
    {
      "age": "67.36",
      "bcr_event": "NO",
      "bcr_freetime": "74.22",
      "chemotx": "NA",
      "clinical_gleason_score": "6",
      "clinical_primary_gleason": "3",
      "clinical_secondary_gleason": "3",
      "clinical_tnm_stage_t": "T2B",
      "copy_number_cluster": "2",
      "ethnicity": "White Non Hispanic",
      "event": "NO",
      "expression_array_tissue_source\r": "NA\r",
      "extra_capsular_extension": "NONE",
      "hormtx": "Neoadjuvant HORM",
      "metastatic_site": "NA",
      "metsevent": "NO",
      "neoadjradtx": "NA",
      "nomogram_nomopred_extra_capsular_extension": "NA",
      "nomogram_nomopred_lni": "NA",
      "nomogram_nomopred_ocd": "NA",
      "nomogram_nomopred_seminal_vesicle_invasion": "97.11015465",
      "nomogram_pfp_postrp": "99",
      "number_nodes_positive": "0",
      "number_nodes_removed": "2",
      "pathologic_gleason_score": "8",
      "pathologic_primary_gleason": "4",
      "pathologic_secondary_gleason": "4",
      "pathologic_tnm_stage_t": "T2C",
      "phenotype_id": "PCA0016",
      "pre_treatment_psa": "12",
      "predxbxpsa": "12",
      "radtxtype": "NA",
      "rp_type": "RP",
      "sample_type": "PRIMARY",
      "seminal_vesicle_invasion": "Negative",
      "sms": "Negative",
      "survtime": "74.22",
      "tnm_stage_n": "Normal_N0"
    },
    {
      "age": "68.12",
      "bcr_event": "BCR_Algorithm",
      "bcr_freetime": "110.33",
      "chemotx": "NA",
      "clinical_gleason_score": "7",
      "clinical_primary_gleason": "3",
      "clinical_secondary_gleason": "4",
      "clinical_tnm_stage_t": "T1C",
      "copy_number_cluster": "2",
      "ethnicity": "White Non Hispanic",
      "event": "NO",
      "expression_array_tissue_source\r": "NA\r",
      "extra_capsular_extension": "NONE",
      "hormtx": "NA",
      "metastatic_site": "NA",
      "metsevent": "NO",
      "neoadjradtx": "NA",
      "nomogram_nomopred_extra_capsular_extension": "NA",
      "nomogram_nomopred_lni": "NA",
      "nomogram_nomopred_ocd": "NA",
      "nomogram_nomopred_seminal_vesicle_invasion": "79.85545652",
      "nomogram_pfp_postrp": "NA",
      "number_nodes_positive": "0",
      "number_nodes_removed": "1",
      "pathologic_gleason_score": "6",
      "pathologic_primary_gleason": "3",
      "pathologic_secondary_gleason": "3",
      "pathologic_tnm_stage_t": "T2C",
      "phenotype_id": "PCA0019",
      "pre_treatment_psa": "6.6",
      "predxbxpsa": "6.6",
      "radtxtype": "NA",
      "rp_type": "RP",
      "sample_type": "PRIMARY",
      "seminal_vesicle_invasion": "Negative",
      "sms": "Negative",
      "survtime": "123.67",
      "tnm_stage_n": "Normal_N0"
    },
    {
      "age": "60.57",
      "bcr_event": "BCR_Algorithm",
      "bcr_freetime": "10.61",
      "chemotx": "NA",
      "clinical_gleason_score": "7",
      "clinical_primary_gleason": "4",
      "clinical_secondary_gleason": "3",
      "clinical_tnm_stage_t": "T1C",
      "copy_number_cluster": "4",
      "ethnicity": "Black Non Hispanic",
      "event": "DEATH FROM OTHER CANCER",
      "expression_array_tissue_source\r": "NA\r",
      "extra_capsular_extension": "NONE",
      "hormtx": "PostHORM",
      "metastatic_site": "NA",
      "metsevent": "NO",
      "neoadjradtx": "NA",
      "nomogram_nomopred_extra_capsular_extension": "19.190208",
      "nomogram_nomopred_lni": "2.138938",
      "nomogram_nomopred_ocd": "77.240045",
      "nomogram_nomopred_seminal_vesicle_invasion": "99",
      "nomogram_pfp_postrp": "79.85546",
      "number_nodes_positive": "0",
      "number_nodes_removed": "2",
      "pathologic_gleason_score": "9",
      "pathologic_primary_gleason": "4",
      "pathologic_secondary_gleason": "5",
      "pathologic_tnm_stage_t": "T2C",
      "phenotype_id": "PCA0023",
      "pre_treatment_psa": "3.88",
      "predxbxpsa": "4.3",
      "radtxtype": "NA",
      "rp_type": "RP",
      "sample_type": "PRIMARY",
      "seminal_vesicle_invasion": "Negative",
      "sms": "Positive",
      "survtime": "72.84",
      "tnm_stage_n": "Normal_N0"
    }
  ],
  "totalNumberOfResults": 5
}

Get the locations for a Clinical Dataset Layer

This returns all the locations metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/5/locations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
ETag: -1726518685
Server: Apache-Coyote/1.1
Content-Length: 290
Connection: keep-alive

{
  "etag": "-1726518685",
  "id": "5",
  "locations": [
    {
      "md5sum": null,
      "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
      "type": "sage"
    },
    {
      "md5sum": "b513a23fc54b7b0d65312e1a900af5a6",
      "path": "mskcc_prostate_cancer.phenotype.zip",
      "type": "awss3"
    }
  ],
  "uri": "/repo/v1/dataset/0/layer/5/locations"
}

Get the awsS3Location for a Clinical Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/5/awsS3Location'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
Server: Apache-Coyote/1.1
Content-Length: 250
Connection: keep-alive

{
  "md5sum": "b513a23fc54b7b0d65312e1a900af5a6",
  "path": "https://data01.sagebase.org.s3.amazonaws.com/mskcc_prostate_cancer.phenotype.zip?Expires=1303245438&AWSAccessKeyId=AKIAI3BTGJG752CCJUVA&Signature=63%2FOdSJbVTBfjRH37lT6DBC%2BfUE%3D",
  "type": "awss3"
}

Get the sageLocation for a Clinical Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/5/sageLocation'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "md5sum": null,
  "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
  "type": "sage"
}

Get a Genetic Dataset Layer

This returns the metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/6'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
ETag: 33552891
Server: Apache-Coyote/1.1
Content-Length: 589
Connection: keep-alive

{
  "annotations": "/repo/v1/dataset/0/layer/6/annotations",
  "creationDate": 1302568161120,
  "description": null,
  "etag": "33552891",
  "id": "6",
  "locations": [
    "/repo/v1/dataset/0/layer/6/locations",
    "/repo/v1/dataset/0/layer/6/awsS3Location",
    "/repo/v1/dataset/0/layer/6/sageLocation"
  ],
  "name": "sequencing",
  "numSamples": 50,
  "platform": "iPLEX Sequenom ",
  "preview": "/repo/v1/dataset/0/layer/6/preview",
  "processingFacility": null,
  "publicationDate": null,
  "qcBy": "Solly Sieberts",
  "qcDate": null,
  "releaseNotes": null,
  "status": "curated",
  "tissueType": null,
  "type": "G",
  "uri": "/repo/v1/dataset/0/layer/6",
  "version": "1.0.0"
}

Get Annotations for a Genetic Dataset Layer

This returns the annotations for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/6/annotations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:17 GMT
ETag: 923521
Server: Apache-Coyote/1.1
Content-Length: 181
Connection: keep-alive

{
  "creationDate": null,
  "dateAnnotations": {},
  "doubleAnnotations": {},
  "etag": "923521",
  "id": "6",
  "longAnnotations": {},
  "stringAnnotations": {},
  "uri": "/repo/v1/dataset/0/layer/6/annotations"
}

Get preview data for a Genetic Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/6/preview'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:18 GMT
ETag: -306095595
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "etag": "-306095595",
  "id": "6",
  "preview": "marker_id\tDU145\tLAPC4-1\tLAPC9\tLNCaP\tLNM971\tPC3\tPCA0002\tPCA0004\tPCA0005\tPCA0015\tPCA0024\tPCA0027\tPCA0037\tPCA0044\tPCA0056\tPCA0068\tPCA0083\tPCA0087\tPCA0092\tPCA0094\tPCA0099\tPCA0100\tPCA0112\tPCA0115\tPCA0118\tPCA0119\tPCA0122\tPCA0123\tPCA0125\tPCA0126\tPCA0127\tPCA0128\tPCA0129\tPCA0130\tPCA0132\tPCA0136\tPCA0159\tPCA0162\tPCA0173\tPCA0188\tPCA0194\tPCA0197\tPCA0199\tPCA0209\tPCA0212\tPCA0213\tPCA0215\tPCA0216\tPCA0218\tVcap\n25\tNA\tH897R\tNA\tNA\tN789S\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tG725S\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\n27\tNA\tNA\tNA\tR135Q\tNA\tNA\tS1098N\tNA\tNA\tNA\tNA\tS1098N\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\n208\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\te10+2\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\n238\tNA\tNA\tNA\tNA\tNA\tF1174L\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tP36S\n324\tNA\tNA\tNA\tR2714C\tR2714C\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tD1748N\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tNA\tE1577*\tNA\n",
  "uri": "/repo/v1/dataset/0/layer/6/preview"
}

Get preview data as a map for a Genetic Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/6/previewAsMap'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:18 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "DU145": "NA",
      "LAPC4-1": "H897R",
      "LAPC9": "NA",
      "LNCaP": "NA",
      "LNM971": "N789S",
      "PC3": "NA",
      "PCA0002": "NA",
      "PCA0004": "NA",
      "PCA0005": "NA",
      "PCA0015": "NA",
      "PCA0024": "NA",
      "PCA0027": "NA",
      "PCA0037": "NA",
      "PCA0044": "NA",
      "PCA0056": "NA",
      "PCA0068": "NA",
      "PCA0083": "NA",
      "PCA0087": "NA",
      "PCA0092": "NA",
      "PCA0094": "NA",
      "PCA0099": "NA",
      "PCA0100": "NA",
      "PCA0112": "G725S",
      "PCA0115": "NA",
      "PCA0118": "NA",
      "PCA0119": "NA",
      "PCA0122": "NA",
      "PCA0123": "NA",
      "PCA0125": "NA",
      "PCA0126": "NA",
      "PCA0127": "NA",
      "PCA0128": "NA",
      "PCA0129": "NA",
      "PCA0130": "NA",
      "PCA0132": "NA",
      "PCA0136": "NA",
      "PCA0159": "NA",
      "PCA0162": "NA",
      "PCA0173": "NA",
      "PCA0188": "NA",
      "PCA0194": "NA",
      "PCA0197": "NA",
      "PCA0199": "NA",
      "PCA0209": "NA",
      "PCA0212": "NA",
      "PCA0213": "NA",
      "PCA0215": "NA",
      "PCA0216": "NA",
      "PCA0218": "NA",
      "Vcap": "NA",
      "marker_id": "25"
    },
    {
      "DU145": "NA",
      "LAPC4-1": "NA",
      "LAPC9": "NA",
      "LNCaP": "R135Q",
      "LNM971": "NA",
      "PC3": "NA",
      "PCA0002": "S1098N",
      "PCA0004": "NA",
      "PCA0005": "NA",
      "PCA0015": "NA",
      "PCA0024": "NA",
      "PCA0027": "S1098N",
      "PCA0037": "NA",
      "PCA0044": "NA",
      "PCA0056": "NA",
      "PCA0068": "NA",
      "PCA0083": "NA",
      "PCA0087": "NA",
      "PCA0092": "NA",
      "PCA0094": "NA",
      "PCA0099": "NA",
      "PCA0100": "NA",
      "PCA0112": "NA",
      "PCA0115": "NA",
      "PCA0118": "NA",
      "PCA0119": "NA",
      "PCA0122": "NA",
      "PCA0123": "NA",
      "PCA0125": "NA",
      "PCA0126": "NA",
      "PCA0127": "NA",
      "PCA0128": "NA",
      "PCA0129": "NA",
      "PCA0130": "NA",
      "PCA0132": "NA",
      "PCA0136": "NA",
      "PCA0159": "NA",
      "PCA0162": "NA",
      "PCA0173": "NA",
      "PCA0188": "NA",
      "PCA0194": "NA",
      "PCA0197": "NA",
      "PCA0199": "NA",
      "PCA0209": "NA",
      "PCA0212": "NA",
      "PCA0213": "NA",
      "PCA0215": "NA",
      "PCA0216": "NA",
      "PCA0218": "NA",
      "Vcap": "NA",
      "marker_id": "27"
    },
    {
      "DU145": "NA",
      "LAPC4-1": "NA",
      "LAPC9": "NA",
      "LNCaP": "NA",
      "LNM971": "NA",
      "PC3": "NA",
      "PCA0002": "NA",
      "PCA0004": "NA",
      "PCA0005": "NA",
      "PCA0015": "NA",
      "PCA0024": "NA",
      "PCA0027": "NA",
      "PCA0037": "NA",
      "PCA0044": "NA",
      "PCA0056": "NA",
      "PCA0068": "NA",
      "PCA0083": "NA",
      "PCA0087": "NA",
      "PCA0092": "NA",
      "PCA0094": "NA",
      "PCA0099": "NA",
      "PCA0100": "NA",
      "PCA0112": "e10+2",
      "PCA0115": "NA",
      "PCA0118": "NA",
      "PCA0119": "NA",
      "PCA0122": "NA",
      "PCA0123": "NA",
      "PCA0125": "NA",
      "PCA0126": "NA",
      "PCA0127": "NA",
      "PCA0128": "NA",
      "PCA0129": "NA",
      "PCA0130": "NA",
      "PCA0132": "NA",
      "PCA0136": "NA",
      "PCA0159": "NA",
      "PCA0162": "NA",
      "PCA0173": "NA",
      "PCA0188": "NA",
      "PCA0194": "NA",
      "PCA0197": "NA",
      "PCA0199": "NA",
      "PCA0209": "NA",
      "PCA0212": "NA",
      "PCA0213": "NA",
      "PCA0215": "NA",
      "PCA0216": "NA",
      "PCA0218": "NA",
      "Vcap": "NA",
      "marker_id": "208"
    },
    {
      "DU145": "NA",
      "LAPC4-1": "NA",
      "LAPC9": "NA",
      "LNCaP": "NA",
      "LNM971": "NA",
      "PC3": "F1174L",
      "PCA0002": "NA",
      "PCA0004": "NA",
      "PCA0005": "NA",
      "PCA0015": "NA",
      "PCA0024": "NA",
      "PCA0027": "NA",
      "PCA0037": "NA",
      "PCA0044": "NA",
      "PCA0056": "NA",
      "PCA0068": "NA",
      "PCA0083": "NA",
      "PCA0087": "NA",
      "PCA0092": "NA",
      "PCA0094": "NA",
      "PCA0099": "NA",
      "PCA0100": "NA",
      "PCA0112": "NA",
      "PCA0115": "NA",
      "PCA0118": "NA",
      "PCA0119": "NA",
      "PCA0122": "NA",
      "PCA0123": "NA",
      "PCA0125": "NA",
      "PCA0126": "NA",
      "PCA0127": "NA",
      "PCA0128": "NA",
      "PCA0129": "NA",
      "PCA0130": "NA",
      "PCA0132": "NA",
      "PCA0136": "NA",
      "PCA0159": "NA",
      "PCA0162": "NA",
      "PCA0173": "NA",
      "PCA0188": "NA",
      "PCA0194": "NA",
      "PCA0197": "NA",
      "PCA0199": "NA",
      "PCA0209": "NA",
      "PCA0212": "NA",
      "PCA0213": "NA",
      "PCA0215": "NA",
      "PCA0216": "NA",
      "PCA0218": "NA",
      "Vcap": "P36S",
      "marker_id": "238"
    },
    {
      "DU145": "NA",
      "LAPC4-1": "NA",
      "LAPC9": "NA",
      "LNCaP": "R2714C",
      "LNM971": "R2714C",
      "PC3": "NA",
      "PCA0002": "NA",
      "PCA0004": "NA",
      "PCA0005": "NA",
      "PCA0015": "NA",
      "PCA0024": "NA",
      "PCA0027": "NA",
      "PCA0037": "NA",
      "PCA0044": "NA",
      "PCA0056": "NA",
      "PCA0068": "NA",
      "PCA0083": "NA",
      "PCA0087": "NA",
      "PCA0092": "NA",
      "PCA0094": "NA",
      "PCA0099": "NA",
      "PCA0100": "NA",
      "PCA0112": "NA",
      "PCA0115": "NA",
      "PCA0118": "NA",
      "PCA0119": "NA",
      "PCA0122": "NA",
      "PCA0123": "NA",
      "PCA0125": "NA",
      "PCA0126": "NA",
      "PCA0127": "NA",
      "PCA0128": "NA",
      "PCA0129": "NA",
      "PCA0130": "D1748N",
      "PCA0132": "NA",
      "PCA0136": "NA",
      "PCA0159": "NA",
      "PCA0162": "NA",
      "PCA0173": "NA",
      "PCA0188": "NA",
      "PCA0194": "NA",
      "PCA0197": "NA",
      "PCA0199": "NA",
      "PCA0209": "NA",
      "PCA0212": "NA",
      "PCA0213": "NA",
      "PCA0215": "NA",
      "PCA0216": "NA",
      "PCA0218": "E1577*",
      "Vcap": "NA",
      "marker_id": "324"
    }
  ],
  "totalNumberOfResults": 5
}

Get the locations for a Genetic Dataset Layer

This returns all the locations metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/6/locations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:18 GMT
ETag: 1163306348
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "etag": "1163306348",
  "id": "6",
  "locations": [
    {
      "md5sum": null,
      "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
      "type": "sage"
    },
    {
      "md5sum": null,
      "path": "mskcc_prostate_cancer.sequence.zip",
      "type": "awss3"
    }
  ],
  "uri": "/repo/v1/dataset/0/layer/6/locations"
}

Get the awsS3Location for a Genetic Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/6/awsS3Location'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:18 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "md5sum": null,
  "path": "https://data01.sagebase.org.s3.amazonaws.com/mskcc_prostate_cancer.sequence.zip?Expires=1303245438&AWSAccessKeyId=AKIAI3BTGJG752CCJUVA&Signature=kiYo43rjGrhgeqW6H59NM3z1aKU%3D",
  "type": "awss3"
}

Get the sageLocation for a Genetic Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/6/sageLocation'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:18 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "md5sum": null,
  "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
  "type": "sage"
}

Get a Expression Dataset Layer

This returns the metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/9'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:18 GMT
ETag: -2003554756
Server: Apache-Coyote/1.1
Content-Length: 617
Connection: keep-alive

{
  "annotations": "/repo/v1/dataset/0/layer/9/annotations",
  "creationDate": 1302568163715,
  "description": null,
  "etag": "-2003554756",
  "id": "9",
  "locations": [
    "/repo/v1/dataset/0/layer/9/awsS3Location",
    "/repo/v1/dataset/0/layer/9/locations",
    "/repo/v1/dataset/0/layer/9/sageLocation"
  ],
  "name": "exon expression",
  "numSamples": 184,
  "platform": "Affymetrix Human Exon 1.0 ST array",
  "preview": "/repo/v1/dataset/0/layer/9/preview",
  "processingFacility": null,
  "publicationDate": null,
  "qcBy": "Solly Sieberts",
  "qcDate": null,
  "releaseNotes": null,
  "status": "curated",
  "tissueType": null,
  "type": "E",
  "uri": "/repo/v1/dataset/0/layer/9",
  "version": "1.0.0"
}

Get Annotations for a Expression Dataset Layer

This returns the annotations for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/9/annotations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:18 GMT
ETag: 923521
Server: Apache-Coyote/1.1
Content-Length: 181
Connection: keep-alive

{
  "creationDate": null,
  "dateAnnotations": {},
  "doubleAnnotations": {},
  "etag": "923521",
  "id": "9",
  "longAnnotations": {},
  "stringAnnotations": {},
  "uri": "/repo/v1/dataset/0/layer/9/annotations"
}

Get preview data for a Expression Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/9/preview'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:18 GMT
ETag: -919955460
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "etag": "-919955460",
  "id": "9",
  "preview": "feature_id\tPCA0001\tPCA0002\tPCA0003\tPCA0005\tPCA0007\tPCA0008\tPCA0009\tPCA0010\tPCA0011\tPCA0012\tPCA0013\tPCA0014\tPCA0015\tPCA0017\tPCA0018\tPCA0020\tPCA0021\tPCA0022\tPCA0024\tPCA0025\tPCA0026\tPCA0027\tPCA0028\tPCA0029\tPCA0030\tPCA0031\tPCA0032\tPCA0033\tPCA0034\tPCA0035\tPCA0036\tPCA0037\tPCA0038\tPCA0040\tPCA0050\tPCA0052\tPCA0054\tPCA0056\tPCA0057\tPCA0058\tPCA0062\tPCA0063\tPCA0064\tPCA0065\tPCA0066\tPCA0068\tPCA0073\tPCA0074\tPCA0075\tPCA0077\tPCA0080\tPCA0081\tPCA0082\tPCA0083\tPCA0084\tPCA0086\tPCA0087\tPCA0089\tPCA0090\tPCA0092\tPCA0093\tPCA0094\tPCA0095\tPCA0096\tPCA0097\tPCA0099\tPCA0100\tPCA0101\tPCA0103\tPCA0104\tPCA0105\tPCA0107\tPCA0108\tPCA0109\tPCA0110\tPCA0111\tPCA0112\tPCA0113\tPCA0114\tPCA0115\tPCA0117\tPCA0118\tPCA0119\tPCA0120\tPCA0122\tPCA0123\tPCA0124\tPCA0125\tPCA0126\tPCA0127\tPCA0128\tPCA0129\tPCA0130\tPCA0132\tPCA0133\tPCA0134\tPCA0135\tPCA0136\tPCA0141\tPCA0144\tPCA0145\tPCA0146\tPCA0147\tPCA0149\tPCA0150\tPCA0151\tPCA0155\tPCA0156\tPCA0157\tPCA0158\tPCA0159\tPCA0160\tPCA0161\tPCA0162\tPCA0163\tPCA0164\tPCA0165\tPCA0167\tPCA0168\tPCA0169\tPCA0170\tPCA0171\tPCA0172\tPCA0173\tPCA0174\tPCA0175\tPCA0176\tPCA0178\tPCA0179\tPCA0180\tPCA0181\tPCA0182\tPCA0184\tPCA0187\tPCA0188\tPCA0189\tPCA0190\tPCA0193\tPCA0194\tPCA0199\tPCA0200\tPCA0201\tPCA0206\tPCA0207\tPCA0208\tPCA0209\tPCA0210\tPCA0211\tPCA0213\tPCA0215\tDU145\tLNCaP\tLNCaP104S\tPC3\tVcap\tPAN0095\tPAN0107\tPAN0109\tPAN0110\tPAN0112\tPAN0113\tPAN0114\tPAN0115\tPAN0117\tPAN0120\tPAN0122\tPAN0125\tPAN0127\tPAN0128\tPAN0129\tPAN0134\tPAN0135\tPAN0136\tPAN0144\tPAN0147\tPAN0151\tPAN0157\tPAN0162\tPAN0164\tPAN0167\tPAN0169\tPAN0171\tPAN0172\tPAN0174\n6\t331\t349\t308\t330\t363\t601\t453\t334\t734\t385\t519\t391\t239\t1279\t189\t529\t966\t523\t586\t555\t1110\t873\t201\t343\t403\t3019\t484\t150\t252\t264\t996\t171\t200\t1074\t1440\t243\t583\t574\t617\t187\t536\t457\t544\t489\t692\t127\t372\t706\t424\t591\t784\t271\t543\t618\t174\t463\t519\t1725\t577\t353\t512\t575\t461\t577\t530\t461\t822\t654\t429\t404\t382\t594\t757\t853\t753\t493\t553\t806\t748\t1187\t1004\t685\t1892\t847\t1229\t1007\t853\t618\t530\t932\t1115\t1777\t2036\t235\t1318\t207\t143\t288\t273\t231\t768\t273\t294\t685\t163\t576\t198\t409\t464\t432\t206\t127\t513\t486\t746\t398\t465\t257\t183\t354\t493\t210\t596\t494\t565\t1322\t190\t1176\t1268\t1101\t1119\t234\t715\t782\t132\t777\t626\t249\t1046\t840\t825\t903\t568\t813\t4710\t68\t165\t313\t898\t184\t608\t918\t145\t1012\t818\t1094\t872\t826\t763\t1049\t868\t775\t586\t920\t1064\t702\t966\t785\t738\t1348\t1238\t351\t238\t220\t239\t204\t179\t296\t371\t285\t229\t154\t181\t388\n7\t232\t183\t209\t253\t114\t140\t287\t229\t170\t179\t224\t190\t241\t605\t205\t266\t405\t181\t350\t168\t373\t256\t219\t268\t212\t528\t276\t100\t195\t273\t235\t157\t62\t349\t488\t128\t289\t273\t368\t116\t187\t318\t435\t317\t417\t125\t180\t211\t107\t220\t285\t128\t286\t347\t101\t179\t212\t845\t297\t188\t233\t241\t162\t186\t252\t241\t457\t248\t189\t326\t189\t346\t324\t232\t220\t286\t195\t302\t316\t636\t247\t330\t360\t262\t304\t300\t329\t216\t217\t345\t216\t383\t363\t171\t322\t256\t124\t142\t263\t152\t490\t129\t132\t441\t78\t216\t110\t233\t226\t145\t184\t103\t232\t298\t418\t272\t197\t261\t147\t126\t167\t147\t314\t255\t319\t383\t154\t374\t395\t361\t333\t150\t279\t290\t209\t470\t286\t296\t318\t305\t308\t347\t259\t242\t1728\t48\t83\t75\t271\t121\t241\t545\t186\t463\t606\t723\t328\t258\t299\t265\t86\t245\t313\t202\t311\t144\t106\t340\t329\t308\t324\t290\t176\t138\t162\t152\t103\t243\t239\t235\t145\t125\t146\t222\n9\t1293\t785\t1152\t2045\t1173\t401\t1400\t1105\t752\t1325\t604\t971\t694\t1197\t453\t907\t1369\t839\t1775\t1196\t2772\t3238\t541\t2095\t662\t2309\t651\t1544\t670\t593\t1635\t855\t385\t2172\t2399\t738\t1496\t1555\t1954\t527\t1522\t1192\t1544\t1708\t1588\t592\t585\t812\t709\t1032\t1198\t536\t1560\t1569\t288\t1252\t1749\t3578\t1319\t1678\t1282\t731\t1355\t1490\t931\t2245\t1643\t1658\t1307\t1787\t1346\t1941\t2501\t2552\t1922\t1357\t1081\t2092\t1895\t3795\t2200\t2740\t3757\t2254\t2817\t2844\t3171\t2931\t2165\t2310\t2785\t3335\t5936\t1226\t1373\t1192\t1038\t1678\t1340\t1090\t2006\t1125\t1305\t1311\t208\t1043\t902\t1620\t807\t1249\t1008\t896\t1401\t871\t1575\t879\t936\t1145\t1081\t1567\t953\t1012\t1319\t1395\t1518\t2264\t428\t2441\t2035\t1988\t1542\t496\t1040\t1309\t438\t1711\t1819\t566\t1737\t666\t1694\t2021\t1202\t2154\t5235\t202\t305\t975\t1187\t466\t974\t1732\t548\t1771\t1508\t1301\t1071\t1612\t1239\t1380\t978\t773\t742\t767\t799\t605\t615\t987\t1148\t1170\t1493\t845\t767\t594\t539\t924\t608\t724\t804\t1002\t735\t545\t823\t1032\n10\t180\t80\t179\t227\t154\t110\t255\t141\t96\t164\t173\t108\t123\t270\t119\t120\t216\t96\t182\t204\t344\t381\t118\t196\t140\t270\t142\t183\t143\t140\t261\t124\t69\t292\t241\t89\t138\t260\t318\t64\t167\t194\t239\t161\t209\t81\t175\t111\t81\t155\t191\t145\t204\t304\t51\t127\t156\t353\t186\t172\t197\t187\t128\t120\t176\t198\t247\t218\t202\t277\t136\t192\t235\t212\t183\t208\t150\t337\t240\t379\t197\t230\t203\t181\t180\t218\t245\t246\t122\t241\t218\t323\t211\t190\t213\t123\t80\t124\t103\t69\t313\t130\t175\t235\t67\t153\t136\t191\t177\t168\t80\t143\t183\t110\t141\t107\t166\t131\t103\t168\t166\t123\t166\t207\t154\t250\t84\t314\t241\t147\t172\t110\t205\t232\t76\t271\t294\t106\t211\t103\t178\t123\t248\t152\t322\t55\t82\t125\t132\t80\t157\t147\t80\t269\t244\t267\t150\t195\t147\t142\t127\t86\t83\t172\t112\t144\t168\t140\t157\t245\t276\t174\t145\t165\t108\t113\t122\t181\t88\t188\t98\t79\t162\t147\n11\t562\t614\t627\t726\t633\t378\t842\t463\t813\t534\t572\t671\t432\t1144\t416\t959\t1444\t683\t1562\t1008\t1982\t1810\t387\t685\t349\t2145\t818\t650\t436\t540\t1387\t367\t317\t1941\t2276\t651\t1462\t1559\t1869\t457\t1150\t864\t1105\t1054\t1408\t562\t541\t795\t745\t1069\t1362\t695\t1028\t1404\t213\t802\t1138\t2297\t894\t1038\t999\t810\t935\t1011\t939\t1125\t1361\t1049\t934\t931\t668\t959\t1761\t1393\t1608\t1123\t1024\t1599\t1415\t2386\t1590\t1814\t2778\t1571\t1986\t1771\t1910\t1804\t1525\t1563\t2106\t2477\t2792\t612\t978\t546\t557\t760\t559\t450\t1208\t623\t898\t795\t239\t822\t392\t1067\t651\t958\t616\t499\t1166\t645\t1475\t730\t575\t643\t596\t722\t881\t578\t1053\t957\t998\t2485\t490\t2174\t2979\t2390\t1463\t786\t752\t1049\t324\t1970\t1392\t433\t2027\t1340\t1401\t1679\t980\t1692\t4384\t122\t259\t963\t1323\t320\t1023\t1892\t285\t1569\t1452\t720\t1126\t1307\t1253\t1619\t1202\t746\t891\t804\t1038\t600\t955\t768\t1509\t1148\t1487\t546\t517\t459\t442\t500\t453\t753\t801\t615\t404\t358\t807\t952\n",
  "uri": "/repo/v1/dataset/0/layer/9/preview"
}

Get preview data as a map for a Expression Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/9/previewAsMap'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:18 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "DU145": "608",
      "LNCaP": "918",
      "LNCaP104S": "145",
      "PAN0095": "1094",
      "PAN0107": "872",
      "PAN0109": "826",
      "PAN0110": "763",
      "PAN0112": "1049",
      "PAN0113": "868",
      "PAN0114": "775",
      "PAN0115": "586",
      "PAN0117": "920",
      "PAN0120": "1064",
      "PAN0122": "702",
      "PAN0125": "966",
      "PAN0127": "785",
      "PAN0128": "738",
      "PAN0129": "1348",
      "PAN0134": "1238",
      "PAN0135": "351",
      "PAN0136": "238",
      "PAN0144": "220",
      "PAN0147": "239",
      "PAN0151": "204",
      "PAN0157": "179",
      "PAN0162": "296",
      "PAN0164": "371",
      "PAN0167": "285",
      "PAN0169": "229",
      "PAN0171": "154",
      "PAN0172": "181",
      "PAN0174": "388",
      "PC3": "1012",
      "PCA0001": "331",
      "PCA0002": "349",
      "PCA0003": "308",
      "PCA0005": "330",
      "PCA0007": "363",
      "PCA0008": "601",
      "PCA0009": "453",
      "PCA0010": "334",
      "PCA0011": "734",
      "PCA0012": "385",
      "PCA0013": "519",
      "PCA0014": "391",
      "PCA0015": "239",
      "PCA0017": "1279",
      "PCA0018": "189",
      "PCA0020": "529",
      "PCA0021": "966",
      "PCA0022": "523",
      "PCA0024": "586",
      "PCA0025": "555",
      "PCA0026": "1110",
      "PCA0027": "873",
      "PCA0028": "201",
      "PCA0029": "343",
      "PCA0030": "403",
      "PCA0031": "3019",
      "PCA0032": "484",
      "PCA0033": "150",
      "PCA0034": "252",
      "PCA0035": "264",
      "PCA0036": "996",
      "PCA0037": "171",
      "PCA0038": "200",
      "PCA0040": "1074",
      "PCA0050": "1440",
      "PCA0052": "243",
      "PCA0054": "583",
      "PCA0056": "574",
      "PCA0057": "617",
      "PCA0058": "187",
      "PCA0062": "536",
      "PCA0063": "457",
      "PCA0064": "544",
      "PCA0065": "489",
      "PCA0066": "692",
      "PCA0068": "127",
      "PCA0073": "372",
      "PCA0074": "706",
      "PCA0075": "424",
      "PCA0077": "591",
      "PCA0080": "784",
      "PCA0081": "271",
      "PCA0082": "543",
      "PCA0083": "618",
      "PCA0084": "174",
      "PCA0086": "463",
      "PCA0087": "519",
      "PCA0089": "1725",
      "PCA0090": "577",
      "PCA0092": "353",
      "PCA0093": "512",
      "PCA0094": "575",
      "PCA0095": "461",
      "PCA0096": "577",
      "PCA0097": "530",
      "PCA0099": "461",
      "PCA0100": "822",
      "PCA0101": "654",
      "PCA0103": "429",
      "PCA0104": "404",
      "PCA0105": "382",
      "PCA0107": "594",
      "PCA0108": "757",
      "PCA0109": "853",
      "PCA0110": "753",
      "PCA0111": "493",
      "PCA0112": "553",
      "PCA0113": "806",
      "PCA0114": "748",
      "PCA0115": "1187",
      "PCA0117": "1004",
      "PCA0118": "685",
      "PCA0119": "1892",
      "PCA0120": "847",
      "PCA0122": "1229",
      "PCA0123": "1007",
      "PCA0124": "853",
      "PCA0125": "618",
      "PCA0126": "530",
      "PCA0127": "932",
      "PCA0128": "1115",
      "PCA0129": "1777",
      "PCA0130": "2036",
      "PCA0132": "235",
      "PCA0133": "1318",
      "PCA0134": "207",
      "PCA0135": "143",
      "PCA0136": "288",
      "PCA0141": "273",
      "PCA0144": "231",
      "PCA0145": "768",
      "PCA0146": "273",
      "PCA0147": "294",
      "PCA0149": "685",
      "PCA0150": "163",
      "PCA0151": "576",
      "PCA0155": "198",
      "PCA0156": "409",
      "PCA0157": "464",
      "PCA0158": "432",
      "PCA0159": "206",
      "PCA0160": "127",
      "PCA0161": "513",
      "PCA0162": "486",
      "PCA0163": "746",
      "PCA0164": "398",
      "PCA0165": "465",
      "PCA0167": "257",
      "PCA0168": "183",
      "PCA0169": "354",
      "PCA0170": "493",
      "PCA0171": "210",
      "PCA0172": "596",
      "PCA0173": "494",
      "PCA0174": "565",
      "PCA0175": "1322",
      "PCA0176": "190",
      "PCA0178": "1176",
      "PCA0179": "1268",
      "PCA0180": "1101",
      "PCA0181": "1119",
      "PCA0182": "234",
      "PCA0184": "715",
      "PCA0187": "782",
      "PCA0188": "132",
      "PCA0189": "777",
      "PCA0190": "626",
      "PCA0193": "249",
      "PCA0194": "1046",
      "PCA0199": "840",
      "PCA0200": "825",
      "PCA0201": "903",
      "PCA0206": "568",
      "PCA0207": "813",
      "PCA0208": "4710",
      "PCA0209": "68",
      "PCA0210": "165",
      "PCA0211": "313",
      "PCA0213": "898",
      "PCA0215": "184",
      "Vcap": "818",
      "feature_id": "6"
    },
    {
      "DU145": "241",
      "LNCaP": "545",
      "LNCaP104S": "186",
      "PAN0095": "723",
      "PAN0107": "328",
      "PAN0109": "258",
      "PAN0110": "299",
      "PAN0112": "265",
      "PAN0113": "86",
      "PAN0114": "245",
      "PAN0115": "313",
      "PAN0117": "202",
      "PAN0120": "311",
      "PAN0122": "144",
      "PAN0125": "106",
      "PAN0127": "340",
      "PAN0128": "329",
      "PAN0129": "308",
      "PAN0134": "324",
      "PAN0135": "290",
      "PAN0136": "176",
      "PAN0144": "138",
      "PAN0147": "162",
      "PAN0151": "152",
      "PAN0157": "103",
      "PAN0162": "243",
      "PAN0164": "239",
      "PAN0167": "235",
      "PAN0169": "145",
      "PAN0171": "125",
      "PAN0172": "146",
      "PAN0174": "222",
      "PC3": "463",
      "PCA0001": "232",
      "PCA0002": "183",
      "PCA0003": "209",
      "PCA0005": "253",
      "PCA0007": "114",
      "PCA0008": "140",
      "PCA0009": "287",
      "PCA0010": "229",
      "PCA0011": "170",
      "PCA0012": "179",
      "PCA0013": "224",
      "PCA0014": "190",
      "PCA0015": "241",
      "PCA0017": "605",
      "PCA0018": "205",
      "PCA0020": "266",
      "PCA0021": "405",
      "PCA0022": "181",
      "PCA0024": "350",
      "PCA0025": "168",
      "PCA0026": "373",
      "PCA0027": "256",
      "PCA0028": "219",
      "PCA0029": "268",
      "PCA0030": "212",
      "PCA0031": "528",
      "PCA0032": "276",
      "PCA0033": "100",
      "PCA0034": "195",
      "PCA0035": "273",
      "PCA0036": "235",
      "PCA0037": "157",
      "PCA0038": "62",
      "PCA0040": "349",
      "PCA0050": "488",
      "PCA0052": "128",
      "PCA0054": "289",
      "PCA0056": "273",
      "PCA0057": "368",
      "PCA0058": "116",
      "PCA0062": "187",
      "PCA0063": "318",
      "PCA0064": "435",
      "PCA0065": "317",
      "PCA0066": "417",
      "PCA0068": "125",
      "PCA0073": "180",
      "PCA0074": "211",
      "PCA0075": "107",
      "PCA0077": "220",
      "PCA0080": "285",
      "PCA0081": "128",
      "PCA0082": "286",
      "PCA0083": "347",
      "PCA0084": "101",
      "PCA0086": "179",
      "PCA0087": "212",
      "PCA0089": "845",
      "PCA0090": "297",
      "PCA0092": "188",
      "PCA0093": "233",
      "PCA0094": "241",
      "PCA0095": "162",
      "PCA0096": "186",
      "PCA0097": "252",
      "PCA0099": "241",
      "PCA0100": "457",
      "PCA0101": "248",
      "PCA0103": "189",
      "PCA0104": "326",
      "PCA0105": "189",
      "PCA0107": "346",
      "PCA0108": "324",
      "PCA0109": "232",
      "PCA0110": "220",
      "PCA0111": "286",
      "PCA0112": "195",
      "PCA0113": "302",
      "PCA0114": "316",
      "PCA0115": "636",
      "PCA0117": "247",
      "PCA0118": "330",
      "PCA0119": "360",
      "PCA0120": "262",
      "PCA0122": "304",
      "PCA0123": "300",
      "PCA0124": "329",
      "PCA0125": "216",
      "PCA0126": "217",
      "PCA0127": "345",
      "PCA0128": "216",
      "PCA0129": "383",
      "PCA0130": "363",
      "PCA0132": "171",
      "PCA0133": "322",
      "PCA0134": "256",
      "PCA0135": "124",
      "PCA0136": "142",
      "PCA0141": "263",
      "PCA0144": "152",
      "PCA0145": "490",
      "PCA0146": "129",
      "PCA0147": "132",
      "PCA0149": "441",
      "PCA0150": "78",
      "PCA0151": "216",
      "PCA0155": "110",
      "PCA0156": "233",
      "PCA0157": "226",
      "PCA0158": "145",
      "PCA0159": "184",
      "PCA0160": "103",
      "PCA0161": "232",
      "PCA0162": "298",
      "PCA0163": "418",
      "PCA0164": "272",
      "PCA0165": "197",
      "PCA0167": "261",
      "PCA0168": "147",
      "PCA0169": "126",
      "PCA0170": "167",
      "PCA0171": "147",
      "PCA0172": "314",
      "PCA0173": "255",
      "PCA0174": "319",
      "PCA0175": "383",
      "PCA0176": "154",
      "PCA0178": "374",
      "PCA0179": "395",
      "PCA0180": "361",
      "PCA0181": "333",
      "PCA0182": "150",
      "PCA0184": "279",
      "PCA0187": "290",
      "PCA0188": "209",
      "PCA0189": "470",
      "PCA0190": "286",
      "PCA0193": "296",
      "PCA0194": "318",
      "PCA0199": "305",
      "PCA0200": "308",
      "PCA0201": "347",
      "PCA0206": "259",
      "PCA0207": "242",
      "PCA0208": "1728",
      "PCA0209": "48",
      "PCA0210": "83",
      "PCA0211": "75",
      "PCA0213": "271",
      "PCA0215": "121",
      "Vcap": "606",
      "feature_id": "7"
    },
    {
      "DU145": "974",
      "LNCaP": "1732",
      "LNCaP104S": "548",
      "PAN0095": "1301",
      "PAN0107": "1071",
      "PAN0109": "1612",
      "PAN0110": "1239",
      "PAN0112": "1380",
      "PAN0113": "978",
      "PAN0114": "773",
      "PAN0115": "742",
      "PAN0117": "767",
      "PAN0120": "799",
      "PAN0122": "605",
      "PAN0125": "615",
      "PAN0127": "987",
      "PAN0128": "1148",
      "PAN0129": "1170",
      "PAN0134": "1493",
      "PAN0135": "845",
      "PAN0136": "767",
      "PAN0144": "594",
      "PAN0147": "539",
      "PAN0151": "924",
      "PAN0157": "608",
      "PAN0162": "724",
      "PAN0164": "804",
      "PAN0167": "1002",
      "PAN0169": "735",
      "PAN0171": "545",
      "PAN0172": "823",
      "PAN0174": "1032",
      "PC3": "1771",
      "PCA0001": "1293",
      "PCA0002": "785",
      "PCA0003": "1152",
      "PCA0005": "2045",
      "PCA0007": "1173",
      "PCA0008": "401",
      "PCA0009": "1400",
      "PCA0010": "1105",
      "PCA0011": "752",
      "PCA0012": "1325",
      "PCA0013": "604",
      "PCA0014": "971",
      "PCA0015": "694",
      "PCA0017": "1197",
      "PCA0018": "453",
      "PCA0020": "907",
      "PCA0021": "1369",
      "PCA0022": "839",
      "PCA0024": "1775",
      "PCA0025": "1196",
      "PCA0026": "2772",
      "PCA0027": "3238",
      "PCA0028": "541",
      "PCA0029": "2095",
      "PCA0030": "662",
      "PCA0031": "2309",
      "PCA0032": "651",
      "PCA0033": "1544",
      "PCA0034": "670",
      "PCA0035": "593",
      "PCA0036": "1635",
      "PCA0037": "855",
      "PCA0038": "385",
      "PCA0040": "2172",
      "PCA0050": "2399",
      "PCA0052": "738",
      "PCA0054": "1496",
      "PCA0056": "1555",
      "PCA0057": "1954",
      "PCA0058": "527",
      "PCA0062": "1522",
      "PCA0063": "1192",
      "PCA0064": "1544",
      "PCA0065": "1708",
      "PCA0066": "1588",
      "PCA0068": "592",
      "PCA0073": "585",
      "PCA0074": "812",
      "PCA0075": "709",
      "PCA0077": "1032",
      "PCA0080": "1198",
      "PCA0081": "536",
      "PCA0082": "1560",
      "PCA0083": "1569",
      "PCA0084": "288",
      "PCA0086": "1252",
      "PCA0087": "1749",
      "PCA0089": "3578",
      "PCA0090": "1319",
      "PCA0092": "1678",
      "PCA0093": "1282",
      "PCA0094": "731",
      "PCA0095": "1355",
      "PCA0096": "1490",
      "PCA0097": "931",
      "PCA0099": "2245",
      "PCA0100": "1643",
      "PCA0101": "1658",
      "PCA0103": "1307",
      "PCA0104": "1787",
      "PCA0105": "1346",
      "PCA0107": "1941",
      "PCA0108": "2501",
      "PCA0109": "2552",
      "PCA0110": "1922",
      "PCA0111": "1357",
      "PCA0112": "1081",
      "PCA0113": "2092",
      "PCA0114": "1895",
      "PCA0115": "3795",
      "PCA0117": "2200",
      "PCA0118": "2740",
      "PCA0119": "3757",
      "PCA0120": "2254",
      "PCA0122": "2817",
      "PCA0123": "2844",
      "PCA0124": "3171",
      "PCA0125": "2931",
      "PCA0126": "2165",
      "PCA0127": "2310",
      "PCA0128": "2785",
      "PCA0129": "3335",
      "PCA0130": "5936",
      "PCA0132": "1226",
      "PCA0133": "1373",
      "PCA0134": "1192",
      "PCA0135": "1038",
      "PCA0136": "1678",
      "PCA0141": "1340",
      "PCA0144": "1090",
      "PCA0145": "2006",
      "PCA0146": "1125",
      "PCA0147": "1305",
      "PCA0149": "1311",
      "PCA0150": "208",
      "PCA0151": "1043",
      "PCA0155": "902",
      "PCA0156": "1620",
      "PCA0157": "807",
      "PCA0158": "1249",
      "PCA0159": "1008",
      "PCA0160": "896",
      "PCA0161": "1401",
      "PCA0162": "871",
      "PCA0163": "1575",
      "PCA0164": "879",
      "PCA0165": "936",
      "PCA0167": "1145",
      "PCA0168": "1081",
      "PCA0169": "1567",
      "PCA0170": "953",
      "PCA0171": "1012",
      "PCA0172": "1319",
      "PCA0173": "1395",
      "PCA0174": "1518",
      "PCA0175": "2264",
      "PCA0176": "428",
      "PCA0178": "2441",
      "PCA0179": "2035",
      "PCA0180": "1988",
      "PCA0181": "1542",
      "PCA0182": "496",
      "PCA0184": "1040",
      "PCA0187": "1309",
      "PCA0188": "438",
      "PCA0189": "1711",
      "PCA0190": "1819",
      "PCA0193": "566",
      "PCA0194": "1737",
      "PCA0199": "666",
      "PCA0200": "1694",
      "PCA0201": "2021",
      "PCA0206": "1202",
      "PCA0207": "2154",
      "PCA0208": "5235",
      "PCA0209": "202",
      "PCA0210": "305",
      "PCA0211": "975",
      "PCA0213": "1187",
      "PCA0215": "466",
      "Vcap": "1508",
      "feature_id": "9"
    },
    {
      "DU145": "157",
      "LNCaP": "147",
      "LNCaP104S": "80",
      "PAN0095": "267",
      "PAN0107": "150",
      "PAN0109": "195",
      "PAN0110": "147",
      "PAN0112": "142",
      "PAN0113": "127",
      "PAN0114": "86",
      "PAN0115": "83",
      "PAN0117": "172",
      "PAN0120": "112",
      "PAN0122": "144",
      "PAN0125": "168",
      "PAN0127": "140",
      "PAN0128": "157",
      "PAN0129": "245",
      "PAN0134": "276",
      "PAN0135": "174",
      "PAN0136": "145",
      "PAN0144": "165",
      "PAN0147": "108",
      "PAN0151": "113",
      "PAN0157": "122",
      "PAN0162": "181",
      "PAN0164": "88",
      "PAN0167": "188",
      "PAN0169": "98",
      "PAN0171": "79",
      "PAN0172": "162",
      "PAN0174": "147",
      "PC3": "269",
      "PCA0001": "180",
      "PCA0002": "80",
      "PCA0003": "179",
      "PCA0005": "227",
      "PCA0007": "154",
      "PCA0008": "110",
      "PCA0009": "255",
      "PCA0010": "141",
      "PCA0011": "96",
      "PCA0012": "164",
      "PCA0013": "173",
      "PCA0014": "108",
      "PCA0015": "123",
      "PCA0017": "270",
      "PCA0018": "119",
      "PCA0020": "120",
      "PCA0021": "216",
      "PCA0022": "96",
      "PCA0024": "182",
      "PCA0025": "204",
      "PCA0026": "344",
      "PCA0027": "381",
      "PCA0028": "118",
      "PCA0029": "196",
      "PCA0030": "140",
      "PCA0031": "270",
      "PCA0032": "142",
      "PCA0033": "183",
      "PCA0034": "143",
      "PCA0035": "140",
      "PCA0036": "261",
      "PCA0037": "124",
      "PCA0038": "69",
      "PCA0040": "292",
      "PCA0050": "241",
      "PCA0052": "89",
      "PCA0054": "138",
      "PCA0056": "260",
      "PCA0057": "318",
      "PCA0058": "64",
      "PCA0062": "167",
      "PCA0063": "194",
      "PCA0064": "239",
      "PCA0065": "161",
      "PCA0066": "209",
      "PCA0068": "81",
      "PCA0073": "175",
      "PCA0074": "111",
      "PCA0075": "81",
      "PCA0077": "155",
      "PCA0080": "191",
      "PCA0081": "145",
      "PCA0082": "204",
      "PCA0083": "304",
      "PCA0084": "51",
      "PCA0086": "127",
      "PCA0087": "156",
      "PCA0089": "353",
      "PCA0090": "186",
      "PCA0092": "172",
      "PCA0093": "197",
      "PCA0094": "187",
      "PCA0095": "128",
      "PCA0096": "120",
      "PCA0097": "176",
      "PCA0099": "198",
      "PCA0100": "247",
      "PCA0101": "218",
      "PCA0103": "202",
      "PCA0104": "277",
      "PCA0105": "136",
      "PCA0107": "192",
      "PCA0108": "235",
      "PCA0109": "212",
      "PCA0110": "183",
      "PCA0111": "208",
      "PCA0112": "150",
      "PCA0113": "337",
      "PCA0114": "240",
      "PCA0115": "379",
      "PCA0117": "197",
      "PCA0118": "230",
      "PCA0119": "203",
      "PCA0120": "181",
      "PCA0122": "180",
      "PCA0123": "218",
      "PCA0124": "245",
      "PCA0125": "246",
      "PCA0126": "122",
      "PCA0127": "241",
      "PCA0128": "218",
      "PCA0129": "323",
      "PCA0130": "211",
      "PCA0132": "190",
      "PCA0133": "213",
      "PCA0134": "123",
      "PCA0135": "80",
      "PCA0136": "124",
      "PCA0141": "103",
      "PCA0144": "69",
      "PCA0145": "313",
      "PCA0146": "130",
      "PCA0147": "175",
      "PCA0149": "235",
      "PCA0150": "67",
      "PCA0151": "153",
      "PCA0155": "136",
      "PCA0156": "191",
      "PCA0157": "177",
      "PCA0158": "168",
      "PCA0159": "80",
      "PCA0160": "143",
      "PCA0161": "183",
      "PCA0162": "110",
      "PCA0163": "141",
      "PCA0164": "107",
      "PCA0165": "166",
      "PCA0167": "131",
      "PCA0168": "103",
      "PCA0169": "168",
      "PCA0170": "166",
      "PCA0171": "123",
      "PCA0172": "166",
      "PCA0173": "207",
      "PCA0174": "154",
      "PCA0175": "250",
      "PCA0176": "84",
      "PCA0178": "314",
      "PCA0179": "241",
      "PCA0180": "147",
      "PCA0181": "172",
      "PCA0182": "110",
      "PCA0184": "205",
      "PCA0187": "232",
      "PCA0188": "76",
      "PCA0189": "271",
      "PCA0190": "294",
      "PCA0193": "106",
      "PCA0194": "211",
      "PCA0199": "103",
      "PCA0200": "178",
      "PCA0201": "123",
      "PCA0206": "248",
      "PCA0207": "152",
      "PCA0208": "322",
      "PCA0209": "55",
      "PCA0210": "82",
      "PCA0211": "125",
      "PCA0213": "132",
      "PCA0215": "80",
      "Vcap": "244",
      "feature_id": "10"
    },
    {
      "DU145": "1023",
      "LNCaP": "1892",
      "LNCaP104S": "285",
      "PAN0095": "720",
      "PAN0107": "1126",
      "PAN0109": "1307",
      "PAN0110": "1253",
      "PAN0112": "1619",
      "PAN0113": "1202",
      "PAN0114": "746",
      "PAN0115": "891",
      "PAN0117": "804",
      "PAN0120": "1038",
      "PAN0122": "600",
      "PAN0125": "955",
      "PAN0127": "768",
      "PAN0128": "1509",
      "PAN0129": "1148",
      "PAN0134": "1487",
      "PAN0135": "546",
      "PAN0136": "517",
      "PAN0144": "459",
      "PAN0147": "442",
      "PAN0151": "500",
      "PAN0157": "453",
      "PAN0162": "753",
      "PAN0164": "801",
      "PAN0167": "615",
      "PAN0169": "404",
      "PAN0171": "358",
      "PAN0172": "807",
      "PAN0174": "952",
      "PC3": "1569",
      "PCA0001": "562",
      "PCA0002": "614",
      "PCA0003": "627",
      "PCA0005": "726",
      "PCA0007": "633",
      "PCA0008": "378",
      "PCA0009": "842",
      "PCA0010": "463",
      "PCA0011": "813",
      "PCA0012": "534",
      "PCA0013": "572",
      "PCA0014": "671",
      "PCA0015": "432",
      "PCA0017": "1144",
      "PCA0018": "416",
      "PCA0020": "959",
      "PCA0021": "1444",
      "PCA0022": "683",
      "PCA0024": "1562",
      "PCA0025": "1008",
      "PCA0026": "1982",
      "PCA0027": "1810",
      "PCA0028": "387",
      "PCA0029": "685",
      "PCA0030": "349",
      "PCA0031": "2145",
      "PCA0032": "818",
      "PCA0033": "650",
      "PCA0034": "436",
      "PCA0035": "540",
      "PCA0036": "1387",
      "PCA0037": "367",
      "PCA0038": "317",
      "PCA0040": "1941",
      "PCA0050": "2276",
      "PCA0052": "651",
      "PCA0054": "1462",
      "PCA0056": "1559",
      "PCA0057": "1869",
      "PCA0058": "457",
      "PCA0062": "1150",
      "PCA0063": "864",
      "PCA0064": "1105",
      "PCA0065": "1054",
      "PCA0066": "1408",
      "PCA0068": "562",
      "PCA0073": "541",
      "PCA0074": "795",
      "PCA0075": "745",
      "PCA0077": "1069",
      "PCA0080": "1362",
      "PCA0081": "695",
      "PCA0082": "1028",
      "PCA0083": "1404",
      "PCA0084": "213",
      "PCA0086": "802",
      "PCA0087": "1138",
      "PCA0089": "2297",
      "PCA0090": "894",
      "PCA0092": "1038",
      "PCA0093": "999",
      "PCA0094": "810",
      "PCA0095": "935",
      "PCA0096": "1011",
      "PCA0097": "939",
      "PCA0099": "1125",
      "PCA0100": "1361",
      "PCA0101": "1049",
      "PCA0103": "934",
      "PCA0104": "931",
      "PCA0105": "668",
      "PCA0107": "959",
      "PCA0108": "1761",
      "PCA0109": "1393",
      "PCA0110": "1608",
      "PCA0111": "1123",
      "PCA0112": "1024",
      "PCA0113": "1599",
      "PCA0114": "1415",
      "PCA0115": "2386",
      "PCA0117": "1590",
      "PCA0118": "1814",
      "PCA0119": "2778",
      "PCA0120": "1571",
      "PCA0122": "1986",
      "PCA0123": "1771",
      "PCA0124": "1910",
      "PCA0125": "1804",
      "PCA0126": "1525",
      "PCA0127": "1563",
      "PCA0128": "2106",
      "PCA0129": "2477",
      "PCA0130": "2792",
      "PCA0132": "612",
      "PCA0133": "978",
      "PCA0134": "546",
      "PCA0135": "557",
      "PCA0136": "760",
      "PCA0141": "559",
      "PCA0144": "450",
      "PCA0145": "1208",
      "PCA0146": "623",
      "PCA0147": "898",
      "PCA0149": "795",
      "PCA0150": "239",
      "PCA0151": "822",
      "PCA0155": "392",
      "PCA0156": "1067",
      "PCA0157": "651",
      "PCA0158": "958",
      "PCA0159": "616",
      "PCA0160": "499",
      "PCA0161": "1166",
      "PCA0162": "645",
      "PCA0163": "1475",
      "PCA0164": "730",
      "PCA0165": "575",
      "PCA0167": "643",
      "PCA0168": "596",
      "PCA0169": "722",
      "PCA0170": "881",
      "PCA0171": "578",
      "PCA0172": "1053",
      "PCA0173": "957",
      "PCA0174": "998",
      "PCA0175": "2485",
      "PCA0176": "490",
      "PCA0178": "2174",
      "PCA0179": "2979",
      "PCA0180": "2390",
      "PCA0181": "1463",
      "PCA0182": "786",
      "PCA0184": "752",
      "PCA0187": "1049",
      "PCA0188": "324",
      "PCA0189": "1970",
      "PCA0190": "1392",
      "PCA0193": "433",
      "PCA0194": "2027",
      "PCA0199": "1340",
      "PCA0200": "1401",
      "PCA0201": "1679",
      "PCA0206": "980",
      "PCA0207": "1692",
      "PCA0208": "4384",
      "PCA0209": "122",
      "PCA0210": "259",
      "PCA0211": "963",
      "PCA0213": "1323",
      "PCA0215": "320",
      "Vcap": "1452",
      "feature_id": "11"
    }
  ],
  "totalNumberOfResults": 5
}

Get the locations for a Expression Dataset Layer

This returns all the locations metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/9/locations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:18 GMT
ETag: 1132879545
Server: Apache-Coyote/1.1
Content-Length: 290
Connection: keep-alive

{
  "etag": "1132879545",
  "id": "9",
  "locations": [
    {
      "md5sum": null,
      "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
      "type": "sage"
    },
    {
      "md5sum": "af90614764043f580f65e26601faafb1",
      "path": "mskcc_prostate_cancer.expression.zip",
      "type": "awss3"
    }
  ],
  "uri": "/repo/v1/dataset/0/layer/9/locations"
}

Get the awsS3Location for a Expression Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/9/awsS3Location'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "md5sum": "af90614764043f580f65e26601faafb1",
  "path": "https://data01.sagebase.org.s3.amazonaws.com/mskcc_prostate_cancer.expression.zip?Expires=1303245439&AWSAccessKeyId=AKIAI3BTGJG752CCJUVA&Signature=XjJjsLZXEBt%2FLUUVuk31bW35L%2Bk%3D",
  "type": "awss3"
}

Get the sageLocation for a Expression Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/9/sageLocation'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "md5sum": null,
  "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
  "type": "sage"
}

Get a Clinical Dataset Layer

This returns the metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
ETag: 713166922
Server: Apache-Coyote/1.1
Content-Length: 587
Connection: keep-alive

{
  "annotations": "/repo/v1/dataset/0/layer/10/annotations",
  "creationDate": 1302568164559,
  "description": null,
  "etag": "713166922",
  "id": "10",
  "locations": [
    "/repo/v1/dataset/0/layer/10/locations",
    "/repo/v1/dataset/0/layer/10/sageLocation",
    "/repo/v1/dataset/0/layer/10/awsS3Location"
  ],
  "name": "QCed phenotypes",
  "numSamples": 261,
  "platform": "NA",
  "preview": "/repo/v1/dataset/0/layer/10/preview",
  "processingFacility": null,
  "publicationDate": null,
  "qcBy": "Solly Sieberts",
  "qcDate": null,
  "releaseNotes": null,
  "status": "QCed",
  "tissueType": null,
  "type": "C",
  "uri": "/repo/v1/dataset/0/layer/10",
  "version": "1.0.0"
}

Get Annotations for a Clinical Dataset Layer

This returns the annotations for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/annotations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
ETag: 923521
Server: Apache-Coyote/1.1
Content-Length: 183
Connection: keep-alive

{
  "creationDate": null,
  "dateAnnotations": {},
  "doubleAnnotations": {},
  "etag": "923521",
  "id": "10",
  "longAnnotations": {},
  "stringAnnotations": {},
  "uri": "/repo/v1/dataset/0/layer/10/annotations"
}

Get preview data for a Clinical Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/preview'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
ETag: 1782170291
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "etag": "1782170291",
  "id": "10",
  "preview": "phenotype_id\tsample_type\tmetastatic_site\tethnicity\tpredxbxpsa\tage\tclinical_primary_gleason\tclinical_secondary_gleason\tclinical_gleason_score\tpre_treatment_psa\tclinical_tnm_stage_t\tneoadjradtx\tchemotx\thormtx\tradtxtype\trp_type\tsms\textra_capsular_extension\tseminal_vesicle_invasion\ttnm_stage_n\tnumber_nodes_removed\tnumber_nodes_positive\tpathologic_tnm_stage_t\tpathologic_primary_gleason\tpathologic_secondary_gleason\tpathologic_gleason_score\tbcr_freetime\tbcr_event\tmetsevent\tsurvtime\tevent\tnomogram_pfp_postrp\tnomogram_nomopred_extra_capsular_extension\tnomogram_nomopred_lni\tnomogram_nomopred_ocd\tnomogram_nomopred_seminal_vesicle_invasion\tcopy_number_cluster\texpression_array_tissue_source\r\nPCA0004\tPRIMARY\tNA\tWhite Non Hispanic\t27.5\t68.93\t3\t2\t5\t11.8\tT2B\tNA\tNA\tNA\tNA\tRP\tNegative\tESTABLISHED\tNegative\tNormal_N0\t13\t0\tT3A\t3\t4\t7\t152.55\tNO\tNO\t152.55\tNO\tNA\t37.937846\t3.593974\t55.082939\tNA\t1\tNA\r\nPCA0006\tPRIMARY\tNA\tWhite Non Hispanic\t15.7\t56.64\t3\t3\t6\t8.2\tT2B\tNA\tNA\tNeoadjuvant HORM\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t4\t0\tT2C\t3\t3\t6\t160.96\tNO\tNO\t160.96\tNO\tNA\tNA\tNA\tNA\tNA\t4\tNA\r\nPCA0016\tPRIMARY\tNA\tWhite Non Hispanic\t12\t67.36\t3\t3\t6\t12\tT2B\tNA\tNA\tNeoadjuvant HORM\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t2\t0\tT2C\t4\t4\t8\t74.22\tNO\tNO\t74.22\tNO\t99\tNA\tNA\tNA\t97.11015465\t2\tNA\r\nPCA0019\tPRIMARY\tNA\tWhite Non Hispanic\t6.6\t68.12\t3\t4\t7\t6.6\tT1C\tNA\tNA\tNA\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t1\t0\tT2C\t3\t3\t6\t110.33\tBCR_Algorithm\tNO\t123.67\tNO\tNA\tNA\tNA\tNA\t79.85545652\t2\tNA\r\nPCA0023\tPRIMARY\tNA\tBlack Non Hispanic\t4.3\t60.57\t4\t3\t7\t3.88\tT1C\tNA\tNA\tPostHORM\tNA\tRP\tPositive\tNONE\tNegative\tNormal_N0\t2\t0\tT2C\t4\t5\t9\t10.61\tBCR_Algorithm\tNO\t72.84\tDEATH FROM OTHER CANCER\t79.85546\t19.190208\t2.138938\t77.240045\t99\t4\tNA\r\n",
  "uri": "/repo/v1/dataset/0/layer/10/preview"
}

Get preview data as a map for a Clinical Dataset Layer

This returns the preview data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/previewAsMap'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "results": [
    {
      "age": "68.93",
      "bcr_event": "NO",
      "bcr_freetime": "152.55",
      "chemotx": "NA",
      "clinical_gleason_score": "5",
      "clinical_primary_gleason": "3",
      "clinical_secondary_gleason": "2",
      "clinical_tnm_stage_t": "T2B",
      "copy_number_cluster": "1",
      "ethnicity": "White Non Hispanic",
      "event": "NO",
      "expression_array_tissue_source\r": "NA\r",
      "extra_capsular_extension": "ESTABLISHED",
      "hormtx": "NA",
      "metastatic_site": "NA",
      "metsevent": "NO",
      "neoadjradtx": "NA",
      "nomogram_nomopred_extra_capsular_extension": "37.937846",
      "nomogram_nomopred_lni": "3.593974",
      "nomogram_nomopred_ocd": "55.082939",
      "nomogram_nomopred_seminal_vesicle_invasion": "NA",
      "nomogram_pfp_postrp": "NA",
      "number_nodes_positive": "0",
      "number_nodes_removed": "13",
      "pathologic_gleason_score": "7",
      "pathologic_primary_gleason": "3",
      "pathologic_secondary_gleason": "4",
      "pathologic_tnm_stage_t": "T3A",
      "phenotype_id": "PCA0004",
      "pre_treatment_psa": "11.8",
      "predxbxpsa": "27.5",
      "radtxtype": "NA",
      "rp_type": "RP",
      "sample_type": "PRIMARY",
      "seminal_vesicle_invasion": "Negative",
      "sms": "Negative",
      "survtime": "152.55",
      "tnm_stage_n": "Normal_N0"
    },
    {
      "age": "56.64",
      "bcr_event": "NO",
      "bcr_freetime": "160.96",
      "chemotx": "NA",
      "clinical_gleason_score": "6",
      "clinical_primary_gleason": "3",
      "clinical_secondary_gleason": "3",
      "clinical_tnm_stage_t": "T2B",
      "copy_number_cluster": "4",
      "ethnicity": "White Non Hispanic",
      "event": "NO",
      "expression_array_tissue_source\r": "NA\r",
      "extra_capsular_extension": "NONE",
      "hormtx": "Neoadjuvant HORM",
      "metastatic_site": "NA",
      "metsevent": "NO",
      "neoadjradtx": "NA",
      "nomogram_nomopred_extra_capsular_extension": "NA",
      "nomogram_nomopred_lni": "NA",
      "nomogram_nomopred_ocd": "NA",
      "nomogram_nomopred_seminal_vesicle_invasion": "NA",
      "nomogram_pfp_postrp": "NA",
      "number_nodes_positive": "0",
      "number_nodes_removed": "4",
      "pathologic_gleason_score": "6",
      "pathologic_primary_gleason": "3",
      "pathologic_secondary_gleason": "3",
      "pathologic_tnm_stage_t": "T2C",
      "phenotype_id": "PCA0006",
      "pre_treatment_psa": "8.2",
      "predxbxpsa": "15.7",
      "radtxtype": "NA",
      "rp_type": "RP",
      "sample_type": "PRIMARY",
      "seminal_vesicle_invasion": "Negative",
      "sms": "Negative",
      "survtime": "160.96",
      "tnm_stage_n": "Normal_N0"
    },
    {
      "age": "67.36",
      "bcr_event": "NO",
      "bcr_freetime": "74.22",
      "chemotx": "NA",
      "clinical_gleason_score": "6",
      "clinical_primary_gleason": "3",
      "clinical_secondary_gleason": "3",
      "clinical_tnm_stage_t": "T2B",
      "copy_number_cluster": "2",
      "ethnicity": "White Non Hispanic",
      "event": "NO",
      "expression_array_tissue_source\r": "NA\r",
      "extra_capsular_extension": "NONE",
      "hormtx": "Neoadjuvant HORM",
      "metastatic_site": "NA",
      "metsevent": "NO",
      "neoadjradtx": "NA",
      "nomogram_nomopred_extra_capsular_extension": "NA",
      "nomogram_nomopred_lni": "NA",
      "nomogram_nomopred_ocd": "NA",
      "nomogram_nomopred_seminal_vesicle_invasion": "97.11015465",
      "nomogram_pfp_postrp": "99",
      "number_nodes_positive": "0",
      "number_nodes_removed": "2",
      "pathologic_gleason_score": "8",
      "pathologic_primary_gleason": "4",
      "pathologic_secondary_gleason": "4",
      "pathologic_tnm_stage_t": "T2C",
      "phenotype_id": "PCA0016",
      "pre_treatment_psa": "12",
      "predxbxpsa": "12",
      "radtxtype": "NA",
      "rp_type": "RP",
      "sample_type": "PRIMARY",
      "seminal_vesicle_invasion": "Negative",
      "sms": "Negative",
      "survtime": "74.22",
      "tnm_stage_n": "Normal_N0"
    },
    {
      "age": "68.12",
      "bcr_event": "BCR_Algorithm",
      "bcr_freetime": "110.33",
      "chemotx": "NA",
      "clinical_gleason_score": "7",
      "clinical_primary_gleason": "3",
      "clinical_secondary_gleason": "4",
      "clinical_tnm_stage_t": "T1C",
      "copy_number_cluster": "2",
      "ethnicity": "White Non Hispanic",
      "event": "NO",
      "expression_array_tissue_source\r": "NA\r",
      "extra_capsular_extension": "NONE",
      "hormtx": "NA",
      "metastatic_site": "NA",
      "metsevent": "NO",
      "neoadjradtx": "NA",
      "nomogram_nomopred_extra_capsular_extension": "NA",
      "nomogram_nomopred_lni": "NA",
      "nomogram_nomopred_ocd": "NA",
      "nomogram_nomopred_seminal_vesicle_invasion": "79.85545652",
      "nomogram_pfp_postrp": "NA",
      "number_nodes_positive": "0",
      "number_nodes_removed": "1",
      "pathologic_gleason_score": "6",
      "pathologic_primary_gleason": "3",
      "pathologic_secondary_gleason": "3",
      "pathologic_tnm_stage_t": "T2C",
      "phenotype_id": "PCA0019",
      "pre_treatment_psa": "6.6",
      "predxbxpsa": "6.6",
      "radtxtype": "NA",
      "rp_type": "RP",
      "sample_type": "PRIMARY",
      "seminal_vesicle_invasion": "Negative",
      "sms": "Negative",
      "survtime": "123.67",
      "tnm_stage_n": "Normal_N0"
    },
    {
      "age": "60.57",
      "bcr_event": "BCR_Algorithm",
      "bcr_freetime": "10.61",
      "chemotx": "NA",
      "clinical_gleason_score": "7",
      "clinical_primary_gleason": "4",
      "clinical_secondary_gleason": "3",
      "clinical_tnm_stage_t": "T1C",
      "copy_number_cluster": "4",
      "ethnicity": "Black Non Hispanic",
      "event": "DEATH FROM OTHER CANCER",
      "expression_array_tissue_source\r": "NA\r",
      "extra_capsular_extension": "NONE",
      "hormtx": "PostHORM",
      "metastatic_site": "NA",
      "metsevent": "NO",
      "neoadjradtx": "NA",
      "nomogram_nomopred_extra_capsular_extension": "19.190208",
      "nomogram_nomopred_lni": "2.138938",
      "nomogram_nomopred_ocd": "77.240045",
      "nomogram_nomopred_seminal_vesicle_invasion": "99",
      "nomogram_pfp_postrp": "79.85546",
      "number_nodes_positive": "0",
      "number_nodes_removed": "2",
      "pathologic_gleason_score": "9",
      "pathologic_primary_gleason": "4",
      "pathologic_secondary_gleason": "5",
      "pathologic_tnm_stage_t": "T2C",
      "phenotype_id": "PCA0023",
      "pre_treatment_psa": "3.88",
      "predxbxpsa": "4.3",
      "radtxtype": "NA",
      "rp_type": "RP",
      "sample_type": "PRIMARY",
      "seminal_vesicle_invasion": "Negative",
      "sms": "Positive",
      "survtime": "72.84",
      "tnm_stage_n": "Normal_N0"
    }
  ],
  "totalNumberOfResults": 5
}

Get the locations for a Clinical Dataset Layer

This returns all the locations metadata for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/locations'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
ETag: -1726518685
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "etag": "-1726518685",
  "id": "10",
  "locations": [
    {
      "md5sum": null,
      "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
      "type": "sage"
    },
    {
      "md5sum": "b513a23fc54b7b0d65312e1a900af5a6",
      "path": "mskcc_prostate_cancer.phenotype.zip",
      "type": "awss3"
    }
  ],
  "uri": "/repo/v1/dataset/0/layer/10/locations"
}

Get the sageLocation for a Clinical Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/sageLocation'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "md5sum": null,
  "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
  "type": "sage"
}

Get the awsS3Location for a Clinical Dataset Layer

This returns the location data for a dataset layer.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/awsS3Location'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "md5sum": "b513a23fc54b7b0d65312e1a900af5a6",
  "path": "https://data01.sagebase.org.s3.amazonaws.com/mskcc_prostate_cancer.phenotype.zip?Expires=1303245440&AWSAccessKeyId=AKIAI3BTGJG752CCJUVA&Signature=fOn91ZKsNztz70T1PJ4bKErTYns%3D",
  "type": "awss3"
}

Schemas

Datasets List Schema

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
Server: Apache-Coyote/1.1
Content-Length: 231
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "paging": {
      "optional": true,
      "type": "object"
    },
    "results": {
      "items": {
        "optional": true,
        "type": "any"
      },
      "optional": true,
      "type": "array"
    },
    "totalNumberOfResults": {
      "optional": true,
      "type": "integer"
    }
  },
  "type": "object"
}

Dataset Schema

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
Server: Apache-Coyote/1.1
Content-Length: 735
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "annotations": {
      "optional": true,
      "type": "string"
    },
    "creationDate": {
      "optional": true,
      "type": "number"
    },
    "creator": {
      "optional": true,
      "type": "string"
    },
    "description": {
      "optional": true,
      "type": "string"
    },
    "etag": {
      "optional": true,
      "type": "string"
    },
    "hasClinicalData": {
      "optional": true,
      "type": "boolean"
    },
    "hasExpressionData": {
      "optional": true,
      "type": "boolean"
    },
    "hasGeneticData": {
      "optional": true,
      "type": "boolean"
    },
    "id": {
      "optional": true,
      "type": "string"
    },
    "layer": {
      "optional": true,
      "type": "string"
    },
    "name": {
      "optional": true,
      "type": "string"
    },
    "releaseDate": {
      "optional": true,
      "type": "number"
    },
    "status": {
      "optional": true,
      "type": "string"
    },
    "uri": {
      "optional": true,
      "type": "string"
    },
    "version": {
      "optional": true,
      "type": "string"
    }
  },
  "type": "object"
}

Dataset Annotations Schema

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/annotations/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:19 GMT
Server: Apache-Coyote/1.1
Content-Length: 429
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "creationDate": {
      "optional": true,
      "type": "number"
    },
    "dateAnnotations": {
      "optional": true,
      "type": "object"
    },
    "doubleAnnotations": {
      "optional": true,
      "type": "object"
    },
    "etag": {
      "optional": true,
      "type": "string"
    },
    "id": {
      "optional": true,
      "type": "string"
    },
    "longAnnotations": {
      "optional": true,
      "type": "object"
    },
    "stringAnnotations": {
      "optional": true,
      "type": "object"
    },
    "uri": {
      "optional": true,
      "type": "string"
    }
  },
  "type": "object"
}

Dataset Layers List Schema

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:20 GMT
Server: Apache-Coyote/1.1
Content-Length: 231
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "paging": {
      "optional": true,
      "type": "object"
    },
    "results": {
      "items": {
        "optional": true,
        "type": "any"
      },
      "optional": true,
      "type": "array"
    },
    "totalNumberOfResults": {
      "optional": true,
      "type": "integer"
    }
  },
  "type": "object"
}

Layer Schema

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:20 GMT
Server: Apache-Coyote/1.1
Content-Length: 992
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "annotations": {
      "optional": true,
      "type": "string"
    },
    "creationDate": {
      "optional": true,
      "type": "number"
    },
    "description": {
      "optional": true,
      "type": "string"
    },
    "etag": {
      "optional": true,
      "type": "string"
    },
    "id": {
      "optional": true,
      "type": "string"
    },
    "locations": {
      "items": {
        "optional": true,
        "type": "string"
      },
      "optional": true,
      "type": "array"
    },
    "name": {
      "optional": true,
      "type": "string"
    },
    "numSamples": {
      "optional": true,
      "type": "number"
    },
    "platform": {
      "optional": true,
      "type": "string"
    },
    "preview": {
      "optional": true,
      "type": "string"
    },
    "processingFacility": {
      "optional": true,
      "type": "string"
    },
    "publicationDate": {
      "optional": true,
      "type": "number"
    },
    "qcBy": {
      "optional": true,
      "type": "string"
    },
    "qcDate": {
      "optional": true,
      "type": "number"
    },
    "releaseNotes": {
      "optional": true,
      "type": "string"
    },
    "status": {
      "optional": true,
      "type": "string"
    },
    "tissueType": {
      "optional": true,
      "type": "string"
    },
    "type": {
      "optional": true,
      "type": "string"
    },
    "uri": {
      "optional": true,
      "type": "string"
    },
    "version": {
      "optional": true,
      "type": "string"
    }
  },
  "type": "object"
}

Layer Preview Schema

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/preview/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:20 GMT
Server: Apache-Coyote/1.1
Content-Length: 212
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "etag": {
      "optional": true,
      "type": "string"
    },
    "id": {
      "optional": true,
      "type": "string"
    },
    "preview": {
      "optional": true,
      "type": "string"
    },
    "uri": {
      "optional": true,
      "type": "string"
    }
  },
  "type": "object"
}

Layer Preview as Map Schema

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/previewAsMap/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:20 GMT
Server: Apache-Coyote/1.1
Content-Length: 191
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "results": {
      "items": {
        "optional": true,
        "type": "object"
      },
      "optional": true,
      "type": "array"
    },
    "totalNumberOfResults": {
      "optional": true,
      "type": "integer"
    }
  },
  "type": "object"
}

Layer Locations Schema

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/locations/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:20 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "etag": {
      "optional": true,
      "type": "string"
    },
    "id": {
      "optional": true,
      "type": "string"
    },
    "locations": {
      "items": {
        "optional": true,
        "properties": {
          "md5sum": {
            "optional": true,
            "type": "string"
          },
          "path": {
            "optional": true,
            "type": "string"
          },
          "type": {
            "optional": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "optional": true,
      "type": "array"
    },
    "uri": {
      "optional": true,
      "type": "string"
    }
  },
  "type": "object"
}

Get the sageLocation for a Dataset Layer

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/sageLocation/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:20 GMT
Server: Apache-Coyote/1.1
Content-Length: 173
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "md5sum": {
      "optional": true,
      "type": "string"
    },
    "path": {
      "optional": true,
      "type": "string"
    },
    "type": {
      "optional": true,
      "type": "string"
    }
  },
  "type": "object"
}

Get the awsS3Location for a Dataset Layer

The JsonSchema is an emerging standard similar to DTDs for XML.

Request

curl -i  -H Accept:application/json 'http://repositoryservice.sagebase.org/repo/v1/dataset/0/layer/10/awsS3Location/schema'

Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 18 Apr 2011 20:37:20 GMT
Server: Apache-Coyote/1.1
transfer-encoding:chunked
Connection: keep-alive

{
  "optional": true,
  "properties": {
    "md5sum": {
      "optional": true,
      "type": "string"
    },
    "path": {
      "optional": true,
      "type": "string"
    },
    "type": {
      "optional": true,
      "type": "string"
    }
  },
  "type": "object"
}

Create/Update/Delete Examples

You can create entities, update entities, read entities, and delete entities. More advanced querying is implemented as a separate API. Partial updates (e.g., just updating two fields in a dataset) are not supported. In a nutshell, when you update something like a dataset, you GET the dataset first, modify the properties you want to change, and then send the entire object back to the service so that this revised entity overwrites the previously stored entity. Conflicting updates are detected and rejected through the use of the ETag header.

Create a Dataset

Note that the request is a POST and the content type of the data we are sending to the service is json

Request

curl -i  -H Accept:application/json -H Content-Type:application/json -d '{
  "creator": "Charles Sawyers",
  "description": "Genetic and epigenetic alterations have been identified that ...",
  "name": "MSKCC Prostate Cancer",
  "releaseDate": "2008-09-14",
  "status": "Pending",
  "version": "1.0.0"
}' http://localhost:8080/repo/v1/dataset

Response

HTTP/1.1 201 Created
Server: Apache-Coyote/1.1
ETag: 1094600521
Location: /repo/v1/dataset/2
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 18 Apr 2011 20:37:23 GMT

{
  "annotations": "/repo/v1/dataset/2/annotations",
  "creationDate": 1303159043902,
  "creator": "Charles Sawyers",
  "description": "Genetic and epigenetic alterations have been identified that ...",
  "etag": "1094600521",
  "hasClinicalData": false,
  "hasExpressionData": false,
  "hasGeneticData": false,
  "id": "2",
  "layer": "/repo/v1/dataset/2/layer",
  "name": "MSKCC Prostate Cancer",
  "releaseDate": 1221350400000,
  "status": "Pending",
  "uri": "/repo/v1/dataset/2",
  "version": "1.0.0"
}

Update a Dataset

In this example status field was changed but all others remain the same. Note that the request is a PUT. Also note that the change in the URI to include the id of the dataset we wish to update and the ETag header using the value previously returned.

Request

curl -i  -H ETag:1094600521 -H Accept:application/json -H Content-Type:application/json -X PUT -d '{
  "annotations": "/repo/v1/dataset/2/annotations",
  "creationDate": 1303159043902,
  "creator": "Charles Sawyers",
  "description": "Genetic and epigenetic alterations have been identified that ...",
  "etag": "1094600521",
  "hasClinicalData": false,
  "hasExpressionData": false,
  "hasGeneticData": false,
  "id": "2",
  "layer": "/repo/v1/dataset/2/layer",
  "name": "MSKCC Prostate Cancer",
  "releaseDate": 1221350400000,
  "status": "Current",
  "uri": "/repo/v1/dataset/2",
  "version": "1.0.0"
}' http://localhost:8080/repo/v1/dataset/2

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: 1355386791
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 18 Apr 2011 20:37:23 GMT

{
  "annotations": "/repo/v1/dataset/2/annotations",
  "creationDate": 1303159043902,
  "creator": "Charles Sawyers",
  "description": "Genetic and epigenetic alterations have been identified that ...",
  "etag": "1355386791",
  "hasClinicalData": false,
  "hasExpressionData": false,
  "hasGeneticData": false,
  "id": "2",
  "layer": "/repo/v1/dataset/2/layer",
  "name": "MSKCC Prostate Cancer",
  "releaseDate": 1221350400000,
  "status": "Current",
  "uri": "/repo/v1/dataset/2",
  "version": "1.0.0"
}

Add Annotations to a Dataset

Get the annotations

First get the empty annotations container for your newly created dataset.

Request

curl -i  -H Accept:application/json 'http://localhost:8080/repo/v1/dataset/2/annotations'

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: 923521
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 18 Apr 2011 20:37:23 GMT

{
  "creationDate": null,
  "dateAnnotations": {},
  "doubleAnnotations": {},
  "etag": "923521",
  "id": "2",
  "longAnnotations": {},
  "stringAnnotations": {},
  "uri": "/repo/v1/dataset/2/annotations"
}

Put the annotations

Then you add/modify the annotations of interest and do a PUT. Note that annotation values must always be arrays even if the array is only of length one.

Request

curl -i  -H ETag:923521 -H Accept:application/json -H Content-Type:application/json -X PUT -d '{
  "creationDate": null,
  "dateAnnotations": {"last_modified_date": ["2009-03-06"]},
  "doubleAnnotations": {},
  "etag": "923521",
  "id": "2",
  "longAnnotations": {
    "Number_of_Samples": [218],
    "number_of_downloads": [32],
    "number_of_followers": [7],
    "pubmed_id": [2.0579941E7]
  },
  "stringAnnotations": {
    "Disease": ["Cancer"],
    "Institution": ["Memorial Sloan Kettering Cancer Center"],
    "Internal_Name": ["Prostate cancer-MSKCC"],
    "Posting_Restriction": ["unspecified"],
    "Species": ["Human"],
    "Tissue_Tumor": ["Prostate"],
    "Type": ["GCD"],
    "citation": ["Integrative genomic profiling of human prostate cancer. Taylor BS, Schultz N, Hieronymus H, Gopalan A, Xiao Y, Carver BS, Arora VK, Kaushik P, Cerami E, Reva B, Antipin Y, Mitsiades N, Landers T, Dolgalev I, Major JE, Wilson M, Socci ND, Lash AE, Heguy A, Eastham JA, Scher HI, Reuter VE, Scardino PT, Sander C, Sawyers CL, Gerald WL. Cancer Cell. 2010 Jul 13;18(1):11-22.  "]
  },
  "uri": "/repo/v1/dataset/2/annotations"
}' http://localhost:8080/repo/v1/dataset/2/annotations

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: 726433861
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 18 Apr 2011 20:37:23 GMT

{
  "creationDate": null,
  "dateAnnotations": {"last_modified_date": [1236297600000]},
  "doubleAnnotations": {},
  "etag": "726433861",
  "id": "2",
  "longAnnotations": {
    "Number_of_Samples": [218],
    "number_of_downloads": [32],
    "number_of_followers": [7],
    "pubmed_id": [20579941]
  },
  "stringAnnotations": {
    "Disease": ["Cancer"],
    "Institution": ["Memorial Sloan Kettering Cancer Center"],
    "Internal_Name": ["Prostate cancer-MSKCC"],
    "Posting_Restriction": ["unspecified"],
    "Species": ["Human"],
    "Tissue_Tumor": ["Prostate"],
    "Type": ["GCD"],
    "citation": ["Integrative genomic profiling of human prostate cancer. Taylor BS, Schultz N, Hieronymus H, Gopalan A, Xiao Y, Carver BS, Arora VK, Kaushik P, Cerami E, Reva B, Antipin Y, Mitsiades N, Landers T, Dolgalev I, Major JE, Wilson M, Socci ND, Lash AE, Heguy A, Eastham JA, Scher HI, Reuter VE, Scardino PT, Sander C, Sawyers CL, Gerald WL. Cancer Cell. 2010 Jul 13;18(1):11-22.  "]
  },
  "uri": "/repo/v1/dataset/2/annotations"
}

Add a Layer to a Dataset

Note that the dataset id in the uri denotes to which dataset this layer belongs

Request

curl -i  -H Accept:application/json -H Content-Type:application/json -d '{
  "name": "phenotypes",
  "numSamples": "261",
  "platform": "",
  "status": "curated",
  "type": "C",
  "version": "1.0.0"
}' http://localhost:8080/repo/v1/dataset/2/layer

Response

HTTP/1.1 201 Created
Server: Apache-Coyote/1.1
ETag: 432328419
Location: /repo/v1/dataset/2/layer/2
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 18 Apr 2011 20:37:23 GMT

{
  "annotations": "/repo/v1/dataset/2/layer/2/annotations",
  "creationDate": 1303159044311,
  "description": null,
  "etag": "432328419",
  "id": "2",
  "locations": ["/repo/v1/dataset/2/layer/2/locations"],
  "name": "phenotypes",
  "numSamples": 261,
  "platform": "",
  "preview": "/repo/v1/dataset/2/layer/2/preview",
  "processingFacility": null,
  "publicationDate": null,
  "qcBy": null,
  "qcDate": null,
  "releaseNotes": null,
  "status": "curated",
  "tissueType": null,
  "type": "C",
  "uri": "/repo/v1/dataset/2/layer/2",
  "version": "1.0.0"
}

Add Locations to a Layer

Get the locations

First get the empty locations for your newly created layer

Request

curl -i  -H Accept:application/json 'http://localhost:8080/repo/v1/dataset/2/layer/2/locations'

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: 31
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 18 Apr 2011 20:37:23 GMT

{
  "etag": "31",
  "id": "2",
  "locations": [],
  "uri": "/repo/v1/dataset/2/layer/2/locations"
}

Put the locations

Then you add/modify the locations of interest and do a PUT.

Request

curl -i  -H ETag:31 -H Accept:application/json -H Content-Type:application/json -X PUT -d '{
  "etag": "31",
  "id": "2",
  "locations": [
    {
      "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
      "type": "sage"
    },
    {
      "md5sum": "b513a23fc54b7b0d65312e1a900af5a6",
      "path": "mskcc_prostate_cancer.phenotype.zip",
      "type": "awss3"
    }
  ],
  "uri": "/repo/v1/dataset/2/layer/2/locations"
}' http://localhost:8080/repo/v1/dataset/2/layer/2/locations

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: -740262656
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 18 Apr 2011 20:37:23 GMT

{
  "etag": "-740262656",
  "id": "2",
  "locations": [
    {
      "md5sum": null,
      "path": "/Shares/external-data/DAT_011__sawyers_prostate_cancer",
      "type": "sage"
    },
    {
      "md5sum": "b513a23fc54b7b0d65312e1a900af5a6",
      "path": "mskcc_prostate_cancer.phenotype.zip",
      "type": "awss3"
    }
  ],
  "uri": "/repo/v1/dataset/2/layer/2/locations"
}

Add Preview to a Layer

Get the preview

First get the empty preview for your newly created layer

Request

curl -i  -H Accept:application/json 'http://localhost:8080/repo/v1/dataset/2/layer/2/preview'

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: 31
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 18 Apr 2011 20:37:23 GMT

{
  "etag": "31",
  "id": "2",
  "preview": null,
  "uri": "/repo/v1/dataset/2/layer/2/preview"
}

Put the preview

Then you add/modify the preview and do a PUT.

Request

curl -i  -H ETag:31 -H Accept:application/json -H Content-Type:application/json -X PUT -d '{
  "etag": "31",
  "id": "2",
  "preview": "phenotype_id\tsample_type\tmetastatic_site\tethnicity\tpredxbxpsa\tage\tclinical_primary_gleason\tclinical_secondary_gleason\tclinical_gleason_score\tpre_treatment_psa\tclinical_tnm_stage_t\tneoadjradtx\tchemotx\thormtx\tradtxtype\trp_type\tsms\textra_capsular_extension\tseminal_vesicle_invasion\ttnm_stage_n\tnumber_nodes_removed\tnumber_nodes_positive\tpathologic_tnm_stage_t\tpathologic_primary_gleason\tpathologic_secondary_gleason\tpathologic_gleason_score\tbcr_freetime\tbcr_event\tmetsevent\tsurvtime\tevent\tnomogram_pfp_postrp\tnomogram_nomopred_extra_capsular_extension\tnomogram_nomopred_lni\tnomogram_nomopred_ocd\tnomogram_nomopred_seminal_vesicle_invasion\tcopy_number_cluster\texpression_array_tissue_source\r\nPCA0004\tPRIMARY\tNA\tWhite Non Hispanic\t27.5\t68.93\t3\t2\t5\t11.8\tT2B\tNA\tNA\tNA\tNA\tRP\tNegative\tESTABLISHED\tNegative\tNormal_N0\t13\t0\tT3A\t3\t4\t7\t152.55\tNO\tNO\t152.55\tNO\tNA\t37.937846\t3.593974\t55.082939\tNA\t1\tNA\r\nPCA0006\tPRIMARY\tNA\tWhite Non Hispanic\t15.7\t56.64\t3\t3\t6\t8.2\tT2B\tNA\tNA\tNeoadjuvant HORM\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t4\t0\tT2C\t3\t3\t6\t160.96\tNO\tNO\t160.96\tNO\tNA\tNA\tNA\tNA\tNA\t4\tNA\r\nPCA0016\tPRIMARY\tNA\tWhite Non Hispanic\t12\t67.36\t3\t3\t6\t12\tT2B\tNA\tNA\tNeoadjuvant HORM\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t2\t0\tT2C\t4\t4\t8\t74.22\tNO\tNO\t74.22\tNO\t99\tNA\tNA\tNA\t97.11015465\t2\tNA\r\nPCA0019\tPRIMARY\tNA\tWhite Non Hispanic\t6.6\t68.12\t3\t4\t7\t6.6\tT1C\tNA\tNA\tNA\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t1\t0\tT2C\t3\t3\t6\t110.33\tBCR_Algorithm\tNO\t123.67\tNO\tNA\tNA\tNA\tNA\t79.85545652\t2\tNA\r\nPCA0023\tPRIMARY\tNA\tBlack Non Hispanic\t4.3\t60.57\t4\t3\t7\t3.88\tT1C\tNA\tNA\tPostHORM\tNA\tRP\tPositive\tNONE\tNegative\tNormal_N0\t2\t0\tT2C\t4\t5\t9\t10.61\tBCR_Algorithm\tNO\t72.84\tDEATH FROM OTHER CANCER\t79.85546\t19.190208\t2.138938\t77.240045\t99\t4\tNA\r\n",
  "uri": "/repo/v1/dataset/2/layer/2/preview"
}' http://localhost:8080/repo/v1/dataset/2/layer/2/preview

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: 1782170291
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 18 Apr 2011 20:37:23 GMT

{
  "etag": "1782170291",
  "id": "2",
  "preview": "phenotype_id\tsample_type\tmetastatic_site\tethnicity\tpredxbxpsa\tage\tclinical_primary_gleason\tclinical_secondary_gleason\tclinical_gleason_score\tpre_treatment_psa\tclinical_tnm_stage_t\tneoadjradtx\tchemotx\thormtx\tradtxtype\trp_type\tsms\textra_capsular_extension\tseminal_vesicle_invasion\ttnm_stage_n\tnumber_nodes_removed\tnumber_nodes_positive\tpathologic_tnm_stage_t\tpathologic_primary_gleason\tpathologic_secondary_gleason\tpathologic_gleason_score\tbcr_freetime\tbcr_event\tmetsevent\tsurvtime\tevent\tnomogram_pfp_postrp\tnomogram_nomopred_extra_capsular_extension\tnomogram_nomopred_lni\tnomogram_nomopred_ocd\tnomogram_nomopred_seminal_vesicle_invasion\tcopy_number_cluster\texpression_array_tissue_source\r\nPCA0004\tPRIMARY\tNA\tWhite Non Hispanic\t27.5\t68.93\t3\t2\t5\t11.8\tT2B\tNA\tNA\tNA\tNA\tRP\tNegative\tESTABLISHED\tNegative\tNormal_N0\t13\t0\tT3A\t3\t4\t7\t152.55\tNO\tNO\t152.55\tNO\tNA\t37.937846\t3.593974\t55.082939\tNA\t1\tNA\r\nPCA0006\tPRIMARY\tNA\tWhite Non Hispanic\t15.7\t56.64\t3\t3\t6\t8.2\tT2B\tNA\tNA\tNeoadjuvant HORM\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t4\t0\tT2C\t3\t3\t6\t160.96\tNO\tNO\t160.96\tNO\tNA\tNA\tNA\tNA\tNA\t4\tNA\r\nPCA0016\tPRIMARY\tNA\tWhite Non Hispanic\t12\t67.36\t3\t3\t6\t12\tT2B\tNA\tNA\tNeoadjuvant HORM\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t2\t0\tT2C\t4\t4\t8\t74.22\tNO\tNO\t74.22\tNO\t99\tNA\tNA\tNA\t97.11015465\t2\tNA\r\nPCA0019\tPRIMARY\tNA\tWhite Non Hispanic\t6.6\t68.12\t3\t4\t7\t6.6\tT1C\tNA\tNA\tNA\tNA\tRP\tNegative\tNONE\tNegative\tNormal_N0\t1\t0\tT2C\t3\t3\t6\t110.33\tBCR_Algorithm\tNO\t123.67\tNO\tNA\tNA\tNA\tNA\t79.85545652\t2\tNA\r\nPCA0023\tPRIMARY\tNA\tBlack Non Hispanic\t4.3\t60.57\t4\t3\t7\t3.88\tT1C\tNA\tNA\tPostHORM\tNA\tRP\tPositive\tNONE\tNegative\tNormal_N0\t2\t0\tT2C\t4\t5\t9\t10.61\tBCR_Algorithm\tNO\t72.84\tDEATH FROM OTHER CANCER\t79.85546\t19.190208\t2.138938\t77.240045\t99\t4\tNA\r\n",
  "uri": "/repo/v1/dataset/2/layer/2/preview"
}

Delete a Dataset

Note that the request is a DELETE and no content is returned. Also note that this will delete all of the datasets layers, etc.

Request

curl -i  -H Accept:application/json -X DELETE http://localhost:8080/repo/v1/dataset/2

Response

HTTP/1.1 204 No Content
Server: Apache-Coyote/1.1
Date: Mon, 18 Apr 2011 20:37:23 GMT

  • No labels