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

{
    "data": {
        "type": "samples",
        "id": "ERS506656",
        "attributes": {
            "longitude": 1.1833,
            "biosample": "SAMEA2649806",
            "latitude": 52.6333,
            "sample-metadata": [
                {
                    "key": "total organic carbon",
                    "value": "26.2",
                    "unit": "g/kg"
                },
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Rhizosphere metatranscriptomics",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-07",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "soil",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.01",
                    "unit": "m"
                },
                {
                    "key": "magnesium",
                    "value": "63.55",
                    "unit": "mg/kg"
                },
                {
                    "key": "nitrate",
                    "value": "28.69",
                    "unit": "mg/kg"
                },
                {
                    "key": "pH",
                    "value": "7.53",
                    "unit": null
                },
                {
                    "key": "phosphate",
                    "value": "136.8",
                    "unit": "mg/kg"
                },
                {
                    "key": "potassium",
                    "value": "167.4",
                    "unit": "mg/kg"
                },
                {
                    "key": "geographic location (elevation)",
                    "value": "14",
                    "unit": "m"
                },
                {
                    "key": "current land use",
                    "value": "None",
                    "unit": null
                },
                {
                    "key": "current vegetation",
                    "value": "Grass",
                    "unit": null
                },
                {
                    "key": "sample weight for DNA extraction",
                    "value": "5",
                    "unit": "g"
                },
                {
                    "key": "storage conditions (fresh/frozen/other)",
                    "value": "fresh; aired for 2 days, then sieved",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "939928",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS soil (ERC000022)",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea)",
                    "value": "United Kingdom",
                    "unit": null
                },
                {
                    "key": "geographic location (region and locality)",
                    "value": "Norfolk, Bawburgh Farm",
                    "unit": null
                }
            ],
            "accession": "ERS506656",
            "analysis-completed": "2014-07-18",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Analysis of microbial community function in the rhizosphere of crop plants grown for 4 weeks",
            "environment-biome": "Terrestrial biome",
            "environment-feature": "Rhizosphere",
            "environment-material": "Soil",
            "sample-name": "LIB2382_oat",
            "sample-alias": "Rhizosphere metatranscriptomics, sample LIB2382 (oat)",
            "host-tax-id": null,
            "species": null,
            "last-update": "2015-08-13T15:31:00"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants:Rhizosphere:Soil"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Rhizosphere:Soil?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS506656/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000399",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000399?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS506656/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS506656?format=api"
        }
    }
}