---
agentTools:
  projectIndex: https://docs.cancergenomicscloud.org/llms.txt
---

# Metadata schema

These are subdivided into three categories (File, Sample, and General). The recommended practice is to enter as much metadata as possible when you first upload files to the Platform. For instance, for raw sequencing files, you should enter Platform (sequencing platform) and Sample ID. Of these fields, there are seven metadata fields that we highly suggest you set for your data. While your tasks may run correctly without them, these metadata fields will help optimize your analyses.

Please keep in mind the fields have to be specified exactly as listed in the tables below under the Name column. This means that if the field is not listed exactly as in the table, the Platform will interpret it is a custom metadata field (see below).

## File

In the following table, you will find the name, description, and values of metadata fields for **File**. The second column, **API key**, allows you to access the specified metadata field through the API. Learn more about [accessing metadata via the API](files).

[block:parameters]
{
  "data": {
    "h-0": "Name",
    "h-1": "API key",
    "h-2": "Description",
    "h-3": "Values",
    "0-0": "**Library ID**",
    "0-1": "**library_id**",
    "0-2": "This is an identifier for the sequencing library preparation.",
    "0-3": "This takes a string.",
    "1-0": "**Platform**",
    "1-1": "**platform**",
    "1-2": "This is the version (manufacturer, model, etc.) of the technology that was used sequencing or assaying.",
    "1-3": "This takes a string.  \nSuggested values:  \n  _ Affymetrix SNP Array 6.0  \n  _ Illumina HiSeq  \n  _ Illumina Human Methylation 450  \n  _ Illumina GA  \n  _ MDA_RPPA_Core  \n  _ BCR Record  \n  _ Hospital Record  \n  _ llumina Human Methylation 27  \n  _ ABI capillary sequencer  \n  _ AgilentG4502A_07_3  \n  _ HG-CGH-244A  \n  _ HG-CGH-415K_G4124A  \n  _ CGH-1x1M_G4447A  \n  _ Illumina MiSeq  \n  _ HT_HG-U133A  \n  _ Illumina Human 1M Duo  \n  _ H-miRNA_8x15Kv2  \n  _ Illumina HumanHap550  \n  _ H-miRNA_8x15K  \n  _ AgilentG4502A_07_2  \n  _ HuEx-1_0-st-v2  \n  _ ABI SOLiD  \n  _ Complete Genomics  \n  _ HG-U133_Plus_2  \n  _ Illumina DNA Methylation OMA003 CPI  \n  _ Illumina DNA Methylation OMA002 CPI  \n  _ AgilentG4502A_07_1  \n  _ Ion Torrent PGM  \n  _ Affymetrix U133 Plus 2  \n  _ LS 454  \n  _ HiSeq X Ten  \n  _ Mixed platforms  \n  _ Illumina  \n  _ Helicos  \n  _ PacBio  \n  _ Not available",
    "2-0": "**Platform unit ID**",
    "2-1": "**platform_unit_id**",
    "2-2": "This is an identifier for lanes (Illumina), or for slides (SOLiD) in the case that a library was split and ran over multiple lanes on the flow cell or slides. The platform unit ID refers to the lane ID or the slide ID.",
    "2-3": "This takes a string.",
    "3-0": "**Paired end**",
    "3-1": "**paired_end**",
    "3-2": "For paired-end sequencing, this value determines the end of the fragment sequenced.",
    "3-3": "This takes a value of '1' or '2'. Please keep in mind that the data type of these values is **string**.  \n**Note: **For single-end sequencing, the field should be left as '-'.",
    "4-0": "**File segment number**",
    "4-1": "**file_segment_number**",
    "4-2": "If the sequencing reads for a single library, sample and lane are divided into multiple (smaller) files, the File segment number is used to enumerate these. Otherwise, this field can be left blank.",
    "4-3": "This takes an integer.",
    "5-0": "**Quality scale**",
    "5-1": "**quality_scale**",
    "5-2": "For raw reads, this value denotes the sequencing technology and quality format. For BAM and SAM files, this value should always be ‘Sanger’.",
    "5-3": "Choose from one of the following options:  \n  _ sanger  \n  _ llumina13  \n  _ illumina15  \n  _ illumina18  \n  \n- solexa  \n  Or, enter no value.",
    "6-0": "**Experimental strategy**",
    "6-1": "**experimental_strategy**",
    "6-2": "This is the method or protocol used to perform the laboratory analysis.",
    "6-3": "This takes a string.  \nSuggested values:  \n  _ DNA-Seq  \n  _ WXS  \n  _ WGS  \n  _ Amplicon  \n  _ Bisulfite-Seq  \n  _ VALIDATION  \n  _ RNA-Seq  \n  _ miRNA-Seq  \n  _ Total RNA-Seq  \n  _ Genotyping Array  \n  _ Exon Array  \n  _ CGH Array  \n  _ Methylation Array  \n  _ Gene Expression Array  \n  _ miRNA Array  \n  _ Protein Expression Array  \n  _ MSI- Mono- Dinucleotide Array  \n  _ Not available",
    "7-0": "**Reference genome**",
    "7-1": "**reference_genome**",
    "7-2": "The reference assembly (such as HG19 or GRCh37) to which the nucleotide sequence of a case can be aligned.",
    "7-3": "This takes a string.  \n  \nSuggested values:  \n  \n  _ NCBI36_BCCAGSC_variant  \n  _ NCBI36_BCM_variant  \n  _ NCBI36_WUGSC_variant  \n  _ HG18  \n  _ HG18_Broad_variant  \n  _ GRCh37  \n  _ GRCh37-lite  \n  _ GRCh37_BI_Variant  \n  _ GRCh37-lite-+-HPV_Redux-build  \n  _ GRCh37-lite_WUGSC_variant_1  \n  _ GRCh37-lite_WUGSC_variant_2  \n  _ HG19  \n  _ HG19_Broad_variant  \n  _ HS37D5  \n  \n- GRCh38"
  },
  "cols": 4,
  "rows": 8,
  "align": [
    "left",
    "left",
    "left",
    "left"
  ]
}
[/block]

## Sample

In the following table, you will find the name, description, and values of metadata fields for **Sample**. The second column, **API key**, allows you to access the specified metadata field through the API. Learn more about [accessing metadata via the API](files).

[block:parameters]
{
  "data": {
    "h-0": "Name",
    "h-1": "API key",
    "h-2": "Description",
    "h-3": "Value",
    "0-0": "**Sample ID**",
    "0-1": "**sample_id**",
    "0-2": "A human readable identifier for a sample or specimen, which could contain some metadata information. A sample or specimen is material taken from a biological entity for testing, diagnosis, propagation, treatment, or research purposes, including but not limited to tissues, body fluids, cells, organs, embryos, body excretory products, etc.",
    "0-3": "This takes a string.",
    "1-0": "**Sample type**",
    "1-1": "**sample_type**",
    "1-2": "The type of material taken from a biological entity for testing, diagnosis, propagation, treatment, or research purposes. This includes tissues, body fluids, cells, organs, embryos, body excretory products, etc.",
    "1-3": "This takes a string.  \n  \nSuggested values:  \n  \n  _ Blood Derived Normal  \n  _ Buccal Cell Normal  \n  _ Primary Blood Derived Cancer - Peripheral Blood  \n  _ Recurrent Blood Derived Cancer - Peripheral Blood  \n  _ Primary Tumor  \n  _ Recurrent Blood Derived Cancer - Bone Marrow  \n  _ Recurrent Tumor  \n  _ Solid Tissue Normal  \n  _ Metastatic  \n  _ Additional - New Primary  \n  _ Additional Metastatic  \n  _ Human Tumor Original Cells  \n  _ Primary Blood Derived Cancer - Bone Marrow  \n  _ Cell Lines  \n  _ Xenograft Tissue  \n  _ Bone Marrow Normal  \n  _ Fibroblasts from Bone Marrow Normal  \n  _ Not available",
    "2-0": "**Sample UUID**",
    "2-1": "**sample_uuid**",
    "2-2": "A unique identifier for the sample or specimen used in the investigation, such as a Universally Unique Identifier (UUID). A sample or specimen is material taken from a biological entity for testing, diagnosis, propagation, treatment, or research purposes, including but not limited to tissues, body fluids, cells, organs, embryos, body excretory products, etc.",
    "2-3": "This takes a string."
  },
  "cols": 4,
  "rows": 3,
  "align": [
    "left",
    "left",
    "left",
    "left"
  ]
}
[/block]

## Aliquot

In the following table, you will find the name, description, and values of metadata fields for **Aliquot**. The second column, **API key**, allows you to access the specified metadata field through the API. Learn more about [accessing metadata via the API](files).

| Name             | API key           | Description                                                                                                                                                                                 | Value                |
| :--------------- | :---------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :------------------- |
| **Aliquot ID\*** | **aliquot\_id**   | A human readable identifier for an aliquot, which may contain metadata information. The aliquot is a product or unit extracted from a sample of a specimen and prepared for the analysis.   | This takes a string. |
| **Aliquot UUID** | **aliquot\_uuid** | The unique identifier for an aliquot, such as a Universally Unique Identifier (UUID). The aliquot is a product or unit extracted from a sample of a specimen and prepared for the analysis. | This takes a string. |

## Case

In the following table, you will find the name, description, and values of metadata fields for **Case**. The **Case** category is further subdivided by the following properties: **Diagnosis**, **Demographic**, **Status**, and **Prognosis**. These properties are included in italics below the metadata field's name in the first column. The second column, **API key**, allows you to access the specified metadata field through the API. Learn more about [accessing metadata via the API](files).

[block:parameters]
{
  "data": {
    "h-0": "Name",
    "h-1": "API key",
    "h-2": "Description",
    "h-3": "Value",
    "0-0": "**Case ID**",
    "0-1": "**case_id**",
    "0-2": "An identifier, such as a number or a string that may contain metadata information, for a subject who has taken part in the investigation of study.",
    "0-3": "This takes a string.",
    "1-0": "**Case UUID**",
    "1-1": "**case_uuid**",
    "1-2": "An unique identifier, such as a Universally Unique Identifier (UUID), for a subject who has taken part in the investigation of study.",
    "1-3": "This takes a string.",
    "2-0": "**Primary site**  \n(_Diagnosis_)",
    "2-1": "**primary_site**",
    "2-2": "The anatomical site where the primary tumor is located in the organism.",
    "2-3": "This takes a string.  \n  \nSuggested values:  \n  _ Adrenal Gland  \n  _ Bile Duct  \n  _ Bladder  \n  _ Blood  \n  _ Brain  \n  _ Breast  \n  _ Cervix  \n  _ Colorectal  \n  _ Esophagus  \n  _ Eye  \n  _ Head And Neck  \n  _ Liver  \n  _ Lung  \n  _ Lymph Nodes  \n  _ Kidney  \n  _ Mesenchymal  \n  _ Mesothelium  \n  _ Nervous System  \n  _ Ovary  \n  _ Pancreas  \n  _ Prostate  \n  _ Skin  \n  _ Stomach  \n  _ Uterus  \n  _ Testis  \n  _ Thymus  \n  _ Thyroid  \n  _ Not available",
    "3-0": "**Disease type**  \n(_Diagnosis_)",
    "3-1": "**disease_type**",
    "3-2": "The type of the disease or condition studied.",
    "3-3": "This takes a string.  \n  \nSuggested values:  \n  _ Acute Myeloid Leukemia  \n  _ Adrenocortical Carcinoma  \n  _ Bladder Urothelial Carcinoma  \n  _ Brain Lower Grade Glioma  \n  _ Breast Invasive Carcinoma  \n  _ Cervical Squamous Cell Carcinoma and Endocervical Adenocarcinoma  \n  _ Cholangiocarcinoma  \n  _ Chronic Myelogenous Leukemia  \n  _ Colon Adenocarcinoma  \n  _ Esophageal Carcinoma  \n  _ Glioblastoma Multiforme  \n  _ Head and Neck Squamous Cell Carcinoma  \n  _ Kidney Chromophobe  \n  _ Kidney Renal Clear Cell Carcinoma  \n  _  Kidney Renal Papillary Cell Carcinoma  \n  _ Liver Hepatocellular Carcinoma  \n  _ Lung Adenocarcinoma  \n  _ Lung Squamous Cell Carcinoma  \n  _ Lymphoid Neoplasm Diffuse Large B-cell Lymphoma  \n  _ Mesothelioma  \n  _ Ovarian Serous Cystadenocarcinoma  \n  _ Pancreatic Adenocarcinoma  \n  _ Pheochromocytoma and Paraganglioma  \n  _ Prostate Adenocarcinoma  \n  _ Rectum Adenocarcinoma  \n  _ Sarcoma  \n  _ Skin Cutaneous Melanoma  \n  _ Stomach Adenocarcinoma  \n  _ Testicular Germ Cell Tumors  \n  _ Thymoma  \n  _ Thyroid Carcinoma  \n  _ Uterine Carcinosarcoma  \n  _ Uterine Corpus Endometrial Carcinoma  \n  _ Uveal Melanoma  \n  \n- Not available",
    "4-0": "**Sex**  \n(_Demographic_)",
    "4-1": "**sex**",
    "4-2": "The collection of behaviors and attitudes that distinguish people on the basis of societal roles expected for the two sexes.",
    "4-3": "Choose from the following:  \n  _ Female  \n  _ Male",
    "5-0": "**Age at diagnosis**  \n(_Diagnosis_ )",
    "5-1": "**age_at_diagnosis**",
    "5-2": "The age in years of the case at the initial pathological diagnosis of disease or cancer.",
    "5-3": "This takes a non-negative integer.",
    "6-0": "**Vital status**  \n(_Status_)",
    "6-1": "**vital_status**",
    "6-2": "The state of being living or deceased for cases that are part of the investigation.",
    "6-3": "Choose from the following:  \n  _ Alive  \n  _ Dead  \n  _ Lost to follow-up  \n  _ Unknown  \n  \n- Not available",
    "7-0": "**Days to death**  \n(_Prognosis_)",
    "7-1": "**days_to_death**",
    "7-2": "A value denoting the project or study that generated the data.",
    "7-3": "This takes a non-negative integer.",
    "8-0": "**Race**  \n(_Demographic_)",
    "8-1": "**race**",
    "8-2": "The number of days from the date of the initial pathological diagnosis to the date of death for the case in investigation.",
    "8-3": "This takes a string.  \n  \nSuggested values:  \n  _ White  \n  _ American Indian or Alaska Native  \n  _ Black or African American  \n  _ Asian  \n  _ Native Hawaiian or other Pacific Islander  \n  _ Not reported  \n  \n- Not available",
    "9-0": "**Ethnicity**  \n(_Demographic_)",
    "9-1": "**ethnicity**",
    "9-2": "A socially defined category of people based on common ancestral, cultural, biological, and social factors.",
    "9-3": "This takes a string.  \n  \nSuggested values:  \n  _ Hispanic or Latino  \n  _ Not Hispanic or Latino  \n  _ Not reported  \n  _ Not Available"
  },
  "cols": 4,
  "rows": 10,
  "align": [
    "left",
    "left",
    "left",
    "left"
  ]
}
[/block]

## General

In the following table, you will find the name, description, and values of metadata fields for **General**. The second column, **API key**, allows you to access the specified metadata field through the API. Learn more about [accessing metadata via the API](https://docs.cancergenomicscloud.org/docs/files).

| Name          | API key       | Description                                                    | Value                |
| :------------ | :------------ | :------------------------------------------------------------- | :------------------- |
| Investigation | Investigation | A value denoting the project or study that generated the data. | This takes a string. |