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

{
    "data": {
        "type": "samples",
        "id": "ERS737879",
        "attributes": {
            "latitude": -15.8012,
            "longitude": 35.0218,
            "sample-metadata": [
                {
                    "key": "sex",
                    "value": null,
                    "unit": null
                },
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Malawi nasopharyngeal microbiome",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2003",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "pyrosequencing",
                    "unit": null
                },
                {
                    "key": "HIV status",
                    "value": "hivneg",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "1131769",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS human associated (ERC000014)",
                    "unit": null
                },
                {
                    "key": "barcode sequence",
                    "value": "ACTCGCACAGGA",
                    "unit": null
                }
            ],
            "biosample": "SAMEA3401739",
            "accession": "ERS737879",
            "analysis-completed": "2015-05-21",
            "collection-date": null,
            "geo-loc-name": "Malawi",
            "sample-desc": "adult",
            "environment-biome": "head",
            "environment-feature": "nasal",
            "environment-material": "mucosal",
            "sample-name": "mlab",
            "sample-alias": "M2.2429",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2015-08-13T15:31:02"
        },
        "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/ERS737879/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000480",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000480?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS737879/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS737879?format=api"
        }
    }
}