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

{
    "data": {
        "type": "samples",
        "id": "ERS915087",
        "attributes": {
            "biosample": "SAMEA3607938",
            "longitude": null,
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "sex",
                    "value": "female",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-122.5",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "03/28/2013",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "ENVO:dense settlement biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "ENVO:human-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "ENVO:feces",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0",
                    "unit": null
                },
                {
                    "key": "body product",
                    "value": "UBERON:feces",
                    "unit": null
                },
                {
                    "key": "body site",
                    "value": "UBERON:feces",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "55.0",
                    "unit": null
                },
                {
                    "key": "host common name",
                    "value": "human",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "47.6",
                    "unit": null
                },
                {
                    "key": "body habitat",
                    "value": "UBERON:feces",
                    "unit": null
                },
                {
                    "key": "dominant hand",
                    "value": "I am left handed",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "408170",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ENA default sample checklist (ERC000011)",
                    "unit": null
                },
                {
                    "key": "collection time",
                    "value": "09:00",
                    "unit": null
                },
                {
                    "key": "anonymized name",
                    "value": "000002893",
                    "unit": null
                },
                {
                    "key": "common name",
                    "value": "human gut metagenome",
                    "unit": null
                }
            ],
            "accession": "ERS915087",
            "analysis-completed": "2016-01-15",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "American Gut Project Stool sample",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "10317.000002893",
            "sample-alias": "qiita_sid_10317:10317.000002893",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2016-01-15T15:50:16"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS915087/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000596",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000596?format=api"
                        }
                    }
                ]
            },
            "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"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS915087/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS915087?format=api"
        }
    }
}