{
  "schema_version": "1.0.0",
  "source_id": "M-SOURCE-021",
  "sample_id": "M-SAMPLE-001",
  "assay_id": "M-ASSAY-002",
  "title": "Caris primary RNA expression context and transcript-type breakdown",
  "provider": "Caris Life Sciences",
  "source_date": "2026-11-07",
  "reviewed_date": "2026-11-13",
  "source_type": "Provider technical Q&A and two CSVs plus five PNG plots; not a newly issued clinical genetic report",
  "sample_context": {
    "sample_id": "M-SAMPLE-001",
    "assay_id": "M-ASSAY-002",
    "label": "Initial rectal primary biopsy",
    "collection_date": "2024-03-27",
    "preservation": "FFPE_reported",
    "scope": "Archived primary specimen and its existing Caris RNA assay. These results do not characterize the October 2026 cervical-node specimen."
  },
  "provider_statements": {
    "cohort_definition": "All cases labeled Colorectal Adenocarcinoma with RNA data",
    "narrative_cohort_cases": 59608,
    "quantification": "Provider states the TPM values are directly from Salmon and use noncoding isoforms. The separate transcript-type table reports protein-coding shares and noncoding categories.",
    "qc_status_as_reported": "All QCs were passed",
    "tumor_content_percent_as_reported": 30,
    "qc_scope": "Provider statement about the archived primary sample for this assay, not a new independent QC analysis or current-node purity estimate."
  },
  "cohort_count_discrepancy": {
    "narrative_cases": 59608,
    "csv_cohort_n_all_five_rows": 58610,
    "plot_cohort_n": 58610,
    "status": "unresolved_source_discrepancy",
    "note": "The email narrative says 59,608; the supplied CSV and plots use 58,610. Both source values are retained without guessing a reconciliation."
  },
  "plot_query_date_as_labeled": "2026-10-23",
  "gene_percentiles": {
    "file": "gene_percentiles.csv",
    "row_count": 5,
    "columns": [
      "gene",
      "assay_id",
      "lineage",
      "query_tpm",
      "cohort_n",
      "samples_leq_query",
      "cohort_median_tpm",
      "cohort_min_tpm",
      "cohort_max_tpm",
      "percentile"
    ],
    "records": [
      {
        "gene": "IRF1",
        "assay_id": "M-ASSAY-002",
        "lineage": "Colorectal Adenocarcinoma",
        "query_tpm": 182.056,
        "cohort_n": 58610,
        "samples_leq_query": 31410,
        "cohort_median_tpm": 173.795,
        "cohort_min_tpm": 8.7593,
        "cohort_max_tpm": 2977.75,
        "percentile": 53.5915
      },
      {
        "gene": "TAP1",
        "assay_id": "M-ASSAY-002",
        "lineage": "Colorectal Adenocarcinoma",
        "query_tpm": 19.1426,
        "cohort_n": 58610,
        "samples_leq_query": 27144,
        "cohort_median_tpm": 20.0203,
        "cohort_min_tpm": 1.05316,
        "cohort_max_tpm": 224.815,
        "percentile": 46.3129
      },
      {
        "gene": "HLA-A",
        "assay_id": "M-ASSAY-002",
        "lineage": "Colorectal Adenocarcinoma",
        "query_tpm": 984.777,
        "cohort_n": 58610,
        "samples_leq_query": 32258,
        "cohort_median_tpm": 925.952,
        "cohort_min_tpm": 30.1004,
        "cohort_max_tpm": 7888.26,
        "percentile": 55.0384
      },
      {
        "gene": "HLA-B",
        "assay_id": "M-ASSAY-002",
        "lineage": "Colorectal Adenocarcinoma",
        "query_tpm": 781.165,
        "cohort_n": 58610,
        "samples_leq_query": 31773,
        "cohort_median_tpm": 735.034,
        "cohort_min_tpm": 20.9692,
        "cohort_max_tpm": 6863.68,
        "percentile": 54.2109
      },
      {
        "gene": "HLA-C",
        "assay_id": "M-ASSAY-002",
        "lineage": "Colorectal Adenocarcinoma",
        "query_tpm": 687.301,
        "cohort_n": 58610,
        "samples_leq_query": 17136,
        "cohort_median_tpm": 911.218,
        "cohort_min_tpm": 39.0132,
        "cohort_max_tpm": 13254.4,
        "percentile": 29.2373
      }
    ],
    "numeric_precision": "CSV preserves the original scientific field strings and their displayed precision; JSON numbers represent those same source values."
  },
  "transcript_type_breakdown": {
    "file": "transcript_type_breakdown.csv",
    "row_count": 5,
    "columns": [
      "gene",
      "total_tpm",
      "protein_coding_share",
      "main_noncoding_types"
    ],
    "records": [
      {
        "gene": "IRF1",
        "total_tpm": "182.1",
        "protein_coding_share": "19.3 (11%)",
        "main_noncoding_types": "processed transcript 48%, nonsense-mediated decay 38%, retained intron 4%"
      },
      {
        "gene": "TAP1",
        "total_tpm": "19.14",
        "protein_coding_share": "4.07 (21%)",
        "main_noncoding_types": "processed transcript 74%, retained intron 5%"
      },
      {
        "gene": "HLA-A",
        "total_tpm": "984.8",
        "protein_coding_share": "950.9 (97%)",
        "main_noncoding_types": "retained intron 3%"
      },
      {
        "gene": "HLA-B",
        "total_tpm": "781.2",
        "protein_coding_share": "667.4 (85%)",
        "main_noncoding_types": "retained intron 15%"
      },
      {
        "gene": "HLA-C",
        "total_tpm": "687.3",
        "protein_coding_share": "460.8 (67%)",
        "main_noncoding_types": "retained intron 25%, nonsense-mediated decay 4%, one transcript with no type in the annotation 5%"
      }
    ],
    "precision_note": "Source totals and percentage strings are rounded as supplied; category totals are not forced to sum to 100%."
  },
  "plots": [
    {
      "gene": "TAP1",
      "file": "/reports/caris/rna-context-2026-11-07/plots/TAP1.png"
    },
    {
      "gene": "IRF1",
      "file": "/reports/caris/rna-context-2026-11-07/plots/IRF1.png"
    },
    {
      "gene": "HLA-C",
      "file": "/reports/caris/rna-context-2026-11-07/plots/HLA-C.png"
    },
    {
      "gene": "HLA-B",
      "file": "/reports/caris/rna-context-2026-11-07/plots/HLA-B.png"
    },
    {
      "gene": "HLA-A",
      "file": "/reports/caris/rna-context-2026-11-07/plots/HLA-A.png"
    }
  ],
  "limitations": [
    "These are provider research-context data for five genes, not a replacement clinical report or treatment recommendation.",
    "The total gene TPM measurements include noncoding transcript contributions; the protein-coding component is separately reported and is not a direct protein-abundance measurement.",
    "Cohort percentile is conditional on the supplied colorectal RNA cohort and the source quantification; it is not a response probability or a current-lesion measurement.",
    "The provider QC and 30% tumor-content statements apply only to the archived primary assay sample.",
    "Laboratory accession and original attachment filenames are replaced with stable public study identifiers; all scientific numbers and plot pixels are preserved."
  ]
}
