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

{
    "data": {
        "type": "samples",
        "id": "ERS743445",
        "attributes": {
            "longitude": 30.6565,
            "biosample": "SAMEA3444313",
            "latitude": -0.617,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "AIDS Gastrointestinal Virome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "30.6565",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Uganda",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Host associated",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Gastrointestinal tract",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Stool",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-0.617",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000013",
                    "unit": null
                }
            ],
            "accession": "ERS743445",
            "analysis-completed": null,
            "collection-date": "2011-01-01",
            "geo-loc-name": null,
            "sample-desc": "Analysis of gastrointestinal viruses in an AIDS patient cohort in Uganda.",
            "environment-biome": "Host associated",
            "environment-feature": "Gastrointestinal tract",
            "environment-material": "Stool",
            "sample-name": "MBA4025",
            "sample-alias": "MBA4025",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2020-05-22T01:21:14"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS743445/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005411",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005411?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005412",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005412?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS743445/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS743445?format=api"
        }
    }
}