GET /metagenomics/api/v1/samples/ERS472956?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "data": {
        "type": "samples",
        "id": "ERS472956",
        "attributes": {
            "longitude": 0.0,
            "biosample": "SAMEA2579838",
            "latitude": 0.0,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Southampton Asthma metagenome",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "23/NOV/2010",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Pyrosequencing",
                    "unit": null
                },
                {
                    "key": "body product",
                    "value": "Sputum",
                    "unit": null
                },
                {
                    "key": "disease status",
                    "value": "control non-asthmatic patient",
                    "unit": null
                },
                {
                    "key": "lung/pulmonary disorder",
                    "value": "Asthma",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "433733",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS human associated (ERC000014)",
                    "unit": null
                }
            ],
            "accession": "ERS472956",
            "analysis-completed": "2014-06-09",
            "collection-date": null,
            "geo-loc-name": "United Kingdom",
            "sample-desc": "Sputum sample",
            "environment-biome": "host associated biome",
            "environment-feature": "host associated habitat",
            "environment-material": "lung",
            "sample-name": "S125b",
            "sample-alias": "metagenomics pulmonary sample",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2015-10-09T16:10:59"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS472956/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000393",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000393?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS472956/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS472956?format=api"
        }
    }
}