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

{
    "data": {
        "type": "samples",
        "id": "ERS1265112",
        "attributes": {
            "longitude": null,
            "biosample": "SAMEA4353663",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "total carbon",
                    "value": "5.266",
                    "unit": null
                },
                {
                    "key": "total nitrogen",
                    "value": "0.142",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-89.282008",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "1409.38",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:Gulf of Mexico,Gulf of Mexico",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine benthic biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "marine sediment",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "contaminated sediment",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0",
                    "unit": null
                },
                {
                    "key": "ammonium",
                    "value": "222",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "27.651172",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "412755",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ENA default sample checklist (ERC000011)",
                    "unit": null
                },
                {
                    "key": "anonymized name",
                    "value": "SE.20101010.GY.D053S.BC.241",
                    "unit": null
                },
                {
                    "key": "common name",
                    "value": "marine sediment metagenome",
                    "unit": null
                },
                {
                    "key": "env_material",
                    "value": "contaminated sediment",
                    "unit": null
                },
                {
                    "key": "sample_type",
                    "value": "petroleum contaminated sediment",
                    "unit": null
                },
                {
                    "key": "title",
                    "value": "Metagenomics reveals sediment microbial community response to Deepwater Horizon oil spill",
                    "unit": null
                },
                {
                    "key": "assigned_from_geo",
                    "value": "TRUE",
                    "unit": null
                }
            ],
            "accession": "ERS1265112",
            "analysis-completed": "2017-02-21",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "sediment",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "1197.SE.20101010.GY.D053S.BC.241.a",
            "sample-alias": "qiita_sid_1197:1197.SE.20101010.GY.D053S.BC.241.a",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-02-21T15:24:35"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Oil-contaminated sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Oil-contaminated%20sediment?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1265112/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001524",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001524?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1265112/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1265112?format=api"
        }
    }
}