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

{
    "data": {
        "type": "samples",
        "id": "ERS632919",
        "attributes": {
            "latitude": 57.0495,
            "longitude": 9.8648,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Danish EBPR WWTP metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "9.864788",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Denmark",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2010-12-12",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "wastewater treatment plant",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "wastewater treatment plant",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "activated sludge",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "wastewater/sludge",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "57.04951",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "527639",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000023",
                    "unit": null
                },
                {
                    "key": "wastewater/sludge environmental package",
                    "value": "wastewater/sludge",
                    "unit": null
                }
            ],
            "biosample": "SAMEA3180047",
            "accession": "ERS632919",
            "analysis-completed": "2017-02-28",
            "collection-date": "2010-12-12",
            "geo-loc-name": "Denmark",
            "sample-desc": "Aalborg West Q2 2010 B",
            "environment-biome": "wastewater treatment plant",
            "environment-feature": "wastewater treatment plant",
            "environment-material": "activated sludge",
            "sample-name": "AAW-5-2010-B",
            "sample-alias": "AAW-5-2010-B",
            "host-tax-id": null,
            "species": null,
            "last-update": "2021-10-08T08:45:33"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater:Nutrient removal:Biological phosphorus removal:Activated sludge"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Nutrient%20removal:Biological%20phosphorus%20removal:Activated%20sludge?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS632919/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001542",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001542?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005802",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005802?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS632919/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS632919?format=api"
        }
    }
}