Supplementary Data S1. Reproducibility data, analysis code, and complete results

Purpose and scope
This archive accompanies the IGF2BP analysis of TCGA lung adenocarcinoma (LUAD)
and lung squamous cell carcinoma (LUSC). It contains the processed data,
preserved small source files, analysis scripts, numerical results, complete
Hallmark GSEA reports, environment requirements, and provenance records.
It does not contain the manuscript, supplementary Word document, author
checklists, or rendered figures. Those materials are supplied separately.
For the Genes submission, the companion supplement is
IGF2BP_Genes_Supplementary.docx (Supplementary File S1).

The archive was relabeled for Genes on 22 October 2026. Only this README and
the archive inventory were updated; all analysis inputs, scripts, numerical
outputs, and existing provenance files retain their previous bytes. The
previous archive inventory is preserved in provenance/.

No scientific result was recalculated or changed when assembling this compact
archive. All previously packaged scientific numerical result files included
here retain their original bytes. See NUMERIC_RESULTS_INTEGRITY.json and
ARCHIVE_MANIFEST.json. The original package manifest is retained unchanged as
provenance/original_package_manifest.json; it also lists files deliberately
omitted from this smaller archive and is not the compact archive's inventory.

Included materials
- upload/: original supplied LUAD and LUSC SPSS SAV files.
- audit_source/: the TCGA-CDR XLSX and PanCanAtlas clinical TSV snapshots,
  with their source and checksum records.
- audit_survival/: extracted LUAD/LUSC CSVs and prepare_inputs.py. These CSVs
  provide the retained expression groups used by the GSEA pipeline.
- submission_analysis/: source-curated participant-level datasets; cohort
  accounting; clinical coding differences; Cox, log-rank, Pearson, proportional
  hazards and follow-up results; numerical verification; and executable code.
- submission_gsea/: complete results for all 300 Hallmark tests, all six
  comparison reports, ranked lists, phenotype files, participant mappings,
  gene-set coverage, enrichment-curve data, parameters, and provenance.
  Hallmark h.all.v2026.1.Hs.symbols.gmt and Xena metadata JSONs are included.
- submission_figures/: figure scripts, captions, and metadata. Rendering can
  be repeated from the included analysis datasets; no PNG/PDF is included.
- submission_package/requirements-stats-figures-docs.txt: the preserved
  statistics/figure environment requirements. Some document-related packages
  in this original environment freeze are not needed to inspect this archive.

Large public inputs omitted to meet the supplementary-file size limit
Two compressed whole-transcriptome matrices are omitted. Full GSEA reruns
require these files at the following relative paths:

submission_gsea/inputs/LUAD_HiSeqV2.gz
URL: https://tcga.xenahubs.net/download/TCGA.LUAD.sampleMap/HiSeqV2.gz
Expected size: 30,884,695 bytes
SHA256: 5432e5a67fc4c4fd6ca22f76f18494756f0e8409a8969df3157935f39947aa00

submission_gsea/inputs/LUSC_HiSeqV2.gz
URL: https://tcga.xenahubs.net/download/TCGA.LUSC.sampleMap/HiSeqV2.gz
Expected size: 30,037,912 bytes
SHA256: baa2b486d38cb68be6921b72dd798dd71a08a560ce3d4b5e690aa8c2a77bfa0d

These URLs and hashes are also recorded in the unmodified
submission_gsea/source_manifest.json. The snapshot retrieval timestamps are
2026-10-10 UTC. The included official clinical snapshots were retrieved on
2026-10-08. These records document the archived analysis inputs; they do not
independently establish the authors' earlier acquisition history.

Restoring omitted inputs
The new standard-library helper fetch_public_inputs.py is solely an archive
utility; it does not alter statistical or GSEA methods.

python fetch_public_inputs.py

By default it reports missing public matrices and verifies any already
present matrices, without accessing the network. For an explicit download:

python fetch_public_inputs.py --download

Alternatively, use previously downloaded files from a local directory:

python fetch_public_inputs.py --local-source /path/to/downloaded/matrices

The helper verifies both file size and SHA256 against the preserved manifest
before accepting a file, never replaces an existing file, and does not rewrite
the manifest. If an upstream URL changes or the checksum differs, restoration
fails rather than silently substituting a different snapshot. Access to a
matching public snapshot is therefore a prerequisite for a full GSEA rerun.
Network download was not performed when constructing this compact archive.

The historical submission_gsea/download_inputs.py is included byte-for-byte
for provenance. It downloads all source inputs and rewrites its manifest;
use the checksum-enforcing helper above for this archive instead.

Reproduction environment
Use Python 3.12 and two separate virtual environments. The clinical-analysis
environment used pandas 2.3.3, numpy 2.5.3, scipy 1.18.1, and lifelines 0.30.3.
The GSEA environment used pandas 2.2.3, numpy 2.3.5, scipy 1.17.0, and GSEApy
1.3.1. Exact versions are in the included requirements and analysis manifests.
Do not install both requirement sets sequentially into one environment.
Binary dependencies and caches are not included.

Clinical analysis and optional figure regeneration
From the archive root, activate the clinical-analysis environment and run:

python -m pip install -r submission_package/requirements-stats-figures-docs.txt
python audit_survival/prepare_inputs.py
python submission_analysis/analyze_submission.py
python submission_analysis/verify_outputs.py
python submission_figures/make_figures.py

prepare_inputs.py rebuilds extracted CSVs from the preserved SAV files and
clinical snapshots. The clinical analysis itself reads the SAVs directly and
uses canonical 12-character TCGA participant identifiers. It uses official
TCGA-CDR OS/PFI, age, sex and stage and PanCanAtlas categorical smoking history;
the original RFS labels are not simply relabelled as PFI.

Cox models use Efron handling of tied events. The primary model includes all
three median-split IGF2BP indicators simultaneously with age >65 years, female
sex, ever-smoking and stage III-IV. The single continuous-expression
sensitivity model replaces the three indicators with standardized
log2(RSEM+1) expression and retains the same clinical covariates. Missing
covariates are not imputed. Numerical verification is documented in
submission_analysis/verification.json. Full definitions, grouping rules,
sample counts and multiplicity families are recorded in analysis_manifest.json,
cohort_flow.json, expression_cutoffs_and_scaling.csv and results_summary.json.

Full GSEA rerun
First restore the two omitted matrices, then activate the GSEA environment:

python -m pip install -r submission_gsea/requirements-gsea.txt
python submission_gsea/run_gsea.py LUAD IGF2BP1
python submission_gsea/run_gsea.py LUAD IGF2BP2
python submission_gsea/run_gsea.py LUAD IGF2BP3
python submission_gsea/run_gsea.py LUSC IGF2BP1
python submission_gsea/run_gsea.py LUSC IGF2BP2
python submission_gsea/run_gsea.py LUSC IGF2BP3
python submission_gsea/run_gsea.py
python submission_gsea/make_gsea_summary.py

The six commands with explicit cohort/gene arguments force those comparisons
to be recomputed. The subsequent no-argument run_gsea.py aggregates completed
comparisons and skips comparisons with existing run_summary.json files; it
must not be mistaken for a forced rerun of all six analyses. The GSEA input
scale is Xena log2(normalized RSEM+1), with no additional transformation.
All 50 Hallmark sets were tested in each comparison. The fixed parameters
include 1,000 phenotype permutations, signal-to-noise ranking, weighted
enrichment with weight 1, seed 42, and matched gene-set size limits 15-500.
The GSEA FDR q-values apply within each 50-set comparison, not jointly across
all six comparisons. Every reported set is retained, including nonsignificant
results, in hallmark_all_300_results.csv and the individual comparison folders.

Preserving archived results
Use a working copy when rerunning scripts: generated CSV/JSON files and figure
outputs may be overwritten. Existing analysis manifests describe the archived
run, not an arbitrary later rerun. No analysis, source download, or data upload
was performed to make this reduced archive. The omitted upstream matrices,
their fixed checksums, package availability, and software-version differences
are the principal practical constraints on complete independent reruns.

The scripts derive paths from their own locations and do not require the
authors' original workspace path. No private credentials are required. The
included archival Korean text notes are retained unchanged for provenance;
this English README provides the public entry point and reproduction steps.
