Reports

GWAS Central reports provide summaries of data in the system. The default is to display these in HTML format (ie. as web-pages). But these report URLs also operate as web-services, through which information can be obtained in other formats using a ‘format’ parameter.
Furthermore, different formats can also be accessed using content-type negotiation (see also our search web-services).

Formats and content-types

All resources support the following formats specified in the URL: xml, text, json and yaml

Marker, phenotype and result resources also support the following RDF-based format(s) in the URL: rdfxml, turtle

Content-type negotiation (ie. using an HTTP header ‘Content-type’ value) can also be used to specify the file-format. The following content-types are recognised:

Content-type Format returned
text/json JSON
text/xml XML
text/plain text
text/yaml YAML
application/rdf+xml* RDF
text/turtle* Turtle

* only recognised by marker, phenotype and result resources

 

Current reports

Phenotype report

http://purl.org/gwas/phen/[identifier]

Examples

http://purl.org/gwas/phen/HGVPM150?format=rdfxml

Study report

http://purl.org/gwas/st/[identifier]

Examples

http://purl.org/gwas/st/HGVST315?format=json

Marker report

http://purl.org/gwas/mkr/[identifier]
http://purl.org/gwas/mkr/[datasource]:[accession]

Examples
Using GWAS Central identifier:

http://purl.org/gwas/mkr/HGVM510?format=xml

Using dbSNP accession number:

http://purl.org/gwas/mkr/dbSNP:rs699?format=xml

Result report

http://purl.org/gwas/mkr/[identifier]/results/[dataset_identifier]
http://purl.org/gwas/mkr/[datasource]:[accession]/results/[dataset_identifier]

Examples
Using GWAS Central identifier:

http://purl.org/gwas/mkr/HGVM3306/results/HGVRS100?format=turtle

Using dbSNP accession number:

http://purl.org/gwas/mkr/dbSNP:rs909253/results/HGVRS100?format=turtle