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

{
    "data": {
        "type": "samples",
        "id": "SRS16942153",
        "attributes": {
            "longitude": -122.4194,
            "biosample": "SAMN33577875",
            "latitude": 37.7749,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-122.4194",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:San Francisco",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "multicellular organism [UBERON:0000468]",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "=IF(N339=OWCon, Vehicle,IF(N339=OW,Mouth,IF(N339=BALCon,Vehicle,IF(N339=BAL,Lung,IF(N339=IS,Throat)))))",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "=IF(N339=OWCon, Saline,IF(N339=OW,Saliva,IF(N339=BALCon,Saliva,IF(N339=BAL,LungWash,IF(N339=IS,Sputum)))))",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIMARKS.survey;MIGS/MIMS/MIMARKS.human-oral",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "37.7749",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "=IF(N339=OWCon, Vehicle,IF(N339=OW,Homo sapiens,IF(N339=OWCon,Vehicle,IF(N339=BAL,Home sapiens,IF(N339=IS,Homo sapiens)))))",
                    "unit": null
                }
            ],
            "accession": "SRS16942153",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Keywords: GSC:MIxS MIMARKS:6.0",
            "environment-biome": "multicellular organism [UBERON:0000468]",
            "environment-feature": "=IF(N339=OWCon, Vehicle,IF(N339=OW,Mouth,IF(N339=BALCon,Vehicle,IF(N339=BAL,Lung,IF(N339=IS,Throat)))))",
            "environment-material": "=IF(N339=OWCon, Saline,IF(N339=OW,Saliva,IF(N339=BALCon,Saliva,IF(N339=BAL,LungWash,IF(N339=IS,Sputum)))))",
            "sample-name": "0111.SF012.V1.OWCon",
            "sample-alias": "0111.SF012.V1.OWCon",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2023-09-25T22:27:12"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Respiratory system:Pulmonary system:Lung"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Respiratory%20system:Pulmonary%20system:Lung?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS16942153/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006522",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006522?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS16942153/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS16942153?format=api"
        }
    }
}