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

{
    "data": {
        "type": "samples",
        "id": "ERS794865",
        "attributes": {
            "latitude": 42.338,
            "longitude": -71.108,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Interactions between gut microbiota, host genetics and diet in the development of metabolic syndrome",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "410661",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS host associated (ERC000013)",
                    "unit": null
                },
                {
                    "key": "host diet",
                    "value": "HFD",
                    "unit": null
                }
            ],
            "biosample": "SAMEA3487716",
            "accession": "ERS794865",
            "analysis-completed": "2016-09-27",
            "collection-date": null,
            "geo-loc-name": "USA",
            "sample-desc": "mouse gut bacterial 16S V4",
            "environment-biome": "animal-associated habitat",
            "environment-feature": "mammalia-associated habitat",
            "environment-material": "feces",
            "sample-name": "mouse gut metagenome",
            "sample-alias": "129.Jax.HFD.wk8.156",
            "host-tax-id": 10090,
            "species": "Mus musculus",
            "last-update": "2016-09-27T09:43:24"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Large intestine:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Large%20intestine:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS794865/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001231",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001231?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS794865/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS794865?format=api"
        }
    }
}