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

{
    "data": {
        "type": "samples",
        "id": "ERS161385",
        "attributes": {
            "biosample": "SAMEA2128245",
            "longitude": -0.3744,
            "latitude": 39.4767,
            "sample-metadata": [
                {
                    "key": "sample storage temperature",
                    "value": "-70",
                    "unit": "°C"
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-0.374444444",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Spain; Valencia",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "July 2011",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "terrestrial biome ENVO:00000446",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "human-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "amount or size of sample collected",
                    "value": "10.29",
                    "unit": "g"
                },
                {
                    "key": "pcr primers",
                    "value": null,
                    "unit": null
                },
                {
                    "key": "adapters",
                    "value": null,
                    "unit": null
                },
                {
                    "key": "disease status",
                    "value": "id: DOID:8778 Crohn's disease",
                    "unit": null
                },
                {
                    "key": "host common name",
                    "value": "Homo sapiens",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "phenotype",
                    "value": "Crohns disease",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "39.47666667",
                    "unit": null
                },
                {
                    "key": "alt id - submitted sample id",
                    "value": "C7.v",
                    "unit": null
                },
                {
                    "key": "body habitat",
                    "value": "gut",
                    "unit": null
                },
                {
                    "key": "storage conditions (fresh/frozen/other)",
                    "value": "Frozen",
                    "unit": null
                },
                {
                    "key": "GOLD sample classification",
                    "value": "Host-associated > Human > Digestive system > Large intestine > Fecal",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "408170",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "accession": "ERS161385",
            "analysis-completed": "2013-07-25",
            "collection-date": "2011-07-01",
            "geo-loc-name": "Spain; Valencia",
            "sample-desc": "Fecal sample from Crohn's patient 7",
            "environment-biome": "terrestrial biome ENVO:00000446",
            "environment-feature": "human-associated habitat",
            "environment-material": "feces",
            "sample-name": "Fecal sample from Crohn's patient 7",
            "sample-alias": " C7.v",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2015-08-13T15:30:55"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS161385/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000307",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000307?format=api"
                        }
                    }
                ]
            },
            "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"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS161385/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS161385?format=api"
        }
    }
}