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

{
    "data": {
        "type": "samples",
        "id": "ERS238570",
        "attributes": {
            "latitude": 52.6229,
            "longitude": 1.2181,
            "sample-metadata": [
                {
                    "key": "total organic carbon",
                    "value": "0.23",
                    "unit": "g/kg"
                },
                {
                    "key": "collection date",
                    "value": "2013-03",
                    "unit": null
                },
                {
                    "key": "nucleic acid extraction",
                    "value": "Powersoil RNA isolation",
                    "unit": null
                },
                {
                    "key": "nucleic acid amplification",
                    "value": "Whole transcriptome amplification (Rubicon Genomics)",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.01",
                    "unit": "m"
                },
                {
                    "key": "magnesium",
                    "value": "60",
                    "unit": "mg/kg"
                },
                {
                    "key": "nitrate",
                    "value": "149",
                    "unit": "mg/kg"
                },
                {
                    "key": "pH",
                    "value": "7.49",
                    "unit": null
                },
                {
                    "key": "phosphate",
                    "value": "171",
                    "unit": "mg/kg"
                },
                {
                    "key": "potassium",
                    "value": "184",
                    "unit": "mg/kg"
                },
                {
                    "key": "geographic location (elevation)",
                    "value": "132",
                    "unit": "m"
                },
                {
                    "key": "current land use",
                    "value": "Experimental farm plot",
                    "unit": null
                },
                {
                    "key": "current vegetation",
                    "value": "fallow field",
                    "unit": null
                },
                {
                    "key": "sample weight for DNA extraction",
                    "value": "1",
                    "unit": "g"
                },
                {
                    "key": "storage conditions (fresh/frozen/other)",
                    "value": "fresh",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "456 GS FLX Titanium",
                    "unit": null
                }
            ],
            "biosample": "SAMEA1879446",
            "accession": "ERS238570",
            "analysis-completed": "2013-05-14",
            "collection-date": "2009-03-01",
            "geo-loc-name": "United Kingdom; Norwich",
            "sample-desc": "Analysis of community structure in the rhizosphere of crop plants",
            "environment-biome": "terrestrial biome",
            "environment-feature": "rhizosphere",
            "environment-material": "soil",
            "sample-name": "Wheat rhizosphere sample B53",
            "sample-alias": "B53",
            "host-tax-id": null,
            "species": null,
            "last-update": "2015-10-09T16:31:17"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Agricultural"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Agricultural?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS238570/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000317",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000317?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS238570/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS238570?format=api"
        }
    }
}