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

{
    "data": {
        "type": "samples",
        "id": "SRS070530",
        "attributes": {
            "longitude": null,
            "biosample": "SAMN00022458",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "sex",
                    "value": "male",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Human Gut Microbiome in Crohn's Disease",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "not available",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "not available",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "not available",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human microbiome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "human-associated habitat ENVO:00009003",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "faeces ENVO:00002003",
                    "unit": null
                },
                {
                    "key": "disease status",
                    "value": "Healthy",
                    "unit": null
                },
                {
                    "key": "host common name",
                    "value": "Homo sapiens",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "phenotype",
                    "value": "Healthy",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "not available",
                    "unit": null
                },
                {
                    "key": "alternative identifiers",
                    "value": "Subject ID:18B",
                    "unit": null
                },
                {
                    "key": "alt id - dbgap sample id",
                    "value": "274567",
                    "unit": null
                },
                {
                    "key": "alt id - dbgap subject id",
                    "value": "276401",
                    "unit": null
                },
                {
                    "key": "alt id - submitted sample id",
                    "value": "100000079",
                    "unit": null
                },
                {
                    "key": "alt id - submitted subject id",
                    "value": "18B",
                    "unit": null
                },
                {
                    "key": "original repository",
                    "value": "HMP_GutCrohnsFnc",
                    "unit": null
                },
                {
                    "key": "gastrointestinal tract disorder",
                    "value": "Healthy",
                    "unit": null
                },
                {
                    "key": "alt id - dbgap study id",
                    "value": "phs000257",
                    "unit": null
                },
                {
                    "key": "GOLD sample classification",
                    "value": "Host-associated > Human > Digestive system > Large intestine > Fecal",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "646099",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "accession": "SRS070530",
            "analysis-completed": "2011-06-13",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": null,
            "environment-biome": "human microbiome",
            "environment-feature": "human-associated habitat",
            "environment-material": "faeces",
            "sample-name": "Subject18B sample 100000079",
            "sample-alias": "sample 100000079 from male subject 18B",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2015-08-13T15:30:55"
        },
        "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/SRS070530/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000277",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000277?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS070530/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS070530?format=api"
        }
    }
}