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

{
    "data": {
        "type": "samples",
        "id": "ERS574940",
        "attributes": {
            "biosample": "SAMEA3107702",
            "longitude": -0.375,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Changes imposed by Clostridium difficile infection on the human gut microbiome",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-gut",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Pyrosequencing",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "408170",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS human gut (ERC000015)",
                    "unit": null
                }
            ],
            "latitude": 39.4667,
            "accession": "ERS574940",
            "analysis-completed": "2015-07-24",
            "collection-date": null,
            "geo-loc-name": "Spain",
            "sample-desc": "16S rRNA",
            "environment-biome": "Human-associated biome",
            "environment-feature": "Human-associated habitat ENVO:00009003",
            "environment-material": "Feces ENVO:00002003",
            "sample-name": "16S rRNA",
            "sample-alias": "HCC12",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2015-08-13T15:31:11"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS574940/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000500",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000500?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS574940/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS574940?format=api"
        }
    }
}