hitlist 2.0.3__tar.gz → 2.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hitlist-2.0.3/hitlist.egg-info → hitlist-2.0.4}/PKG-INFO +1 -1
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/__init__.py +2 -0
- hitlist-2.0.4/hitlist/assay_adjudication.py +392 -0
- hitlist-2.0.4/hitlist/data/assay_adjudications.yaml +196 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/evidence_bindings.py +55 -2
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/evidence_catalog.py +90 -1
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/evidence_store.py +17 -2
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/reference_evidence.py +12 -10
- hitlist-2.0.4/hitlist/version.py +1 -0
- {hitlist-2.0.3 → hitlist-2.0.4/hitlist.egg-info}/PKG-INFO +1 -1
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist.egg-info/SOURCES.txt +3 -0
- hitlist-2.0.4/tests/test_assay_adjudication.py +174 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_evidence_catalog.py +1 -1
- hitlist-2.0.3/hitlist/version.py +0 -1
- {hitlist-2.0.3 → hitlist-2.0.4}/LICENSE +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/MANIFEST.in +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/README.md +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/aggregate.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/apm.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/assays.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/atlas.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/builder.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/bulk_fractionation.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/bulk_proteomics.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/bulk_replicates.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/cache_inventory.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/canine_bulk.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/canine_ligands.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/canine_orfdata.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/cell_name_parser.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/cli.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/cli_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/cli_evidence_store.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/cli_help.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/cli_uniprot.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/condition_categories.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/conditions.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/context_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/cta_expression.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/curation.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/curation_yaml.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/__init__.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/atlas_community_crosswalk.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/bulk_proteomics/__init__.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/bulk_proteomics/detectability.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/bulk_proteomics/sources.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/canine_bulk.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/canine_ligands.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/cell_lines.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/condition_vocabulary.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/data_assets.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/evidence_revisions/pmid_overrides_1_78.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/evidence_revisions/pxd057588_assets.json +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/evidence_revisions/pxd057588_contract.json +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/evidence_revisions/pxd057588_retrieval_receipts.json +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/evidence_revisions/pxd057588_workbook_inventory.json +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/evidence_revisions/supporting_v4_assets.json +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/gene_sets.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/hla_ligand_atlas.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/line_expression/__init__.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/line_expression/apm_rna_build_report.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/line_expression/ensembl_gene_id_symbol.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/line_expression/gm12878_encode_rnaseq_tpm.csv.gz +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/line_expression/hap1_depmap24q4_gene_tpm.csv.gz +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/line_expression/sources.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/line_expression_anchors.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/monoallelic_lines.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/peptide_attributions/connelley_2022_bola_a19.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/peptide_attributions/sarkizova_2020_patient_cohort.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/pmid_overrides.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/pxd013455.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/pxd013455_publication.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/species_contexts.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/specimen_lineage.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/abelin_2019_dr_tissue.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/abelin_2019_maptac_class1.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/gomez_zepeda_2024_hela.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/gomez_zepeda_2024_jy.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/gomez_zepeda_2024_plasma.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/gomez_zepeda_2024_raji.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/gomez_zepeda_2024_skmel37.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_b2m_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_calr_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_canx_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_erap1_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_ganab_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_irf2_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_pdia3_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_sppl3_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_tap1_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_tap2_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_tapbp_ko.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary/shapiro_2025_hap1_wildtype.csv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/supplementary.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/tcell_audit_sources.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/tissue_blacklist.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/tissue_categories.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/data/uniprot_references.yaml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/dataset.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/detectability.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/downloads.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/evidence_audit.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/evidence_bundle.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/evidence_recipe.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/evidence_snapshot.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/export.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/expression_inputs.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/external_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/genes.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/indexer.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/line_expression.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/lineage.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/managed_assets.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/mappings.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/mhc_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/observations.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/pandas_utils.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/parquet_io.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/peptide_modifications.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/pmhc_query.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/predict.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/proteome.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/provenance.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/pxd013455.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/pxd013455_download.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/pxd013455_publication.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/pxd057588_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/qc.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/report.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/sample_identity.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/samples.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/scanner.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/species_contexts.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/species_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/species_expression.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/split_audit.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/supplement.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/supporting_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/supporting_numeric_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/tcell_assays.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/tcell_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/tcell_functional.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/tcell_multimer.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/tcell_peptides.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/tcell_training.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/tissue_blacklist.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/training_bundle.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist/uniprot.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist.egg-info/dependency_links.txt +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist.egg-info/entry_points.txt +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist.egg-info/requires.txt +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/hitlist.egg-info/top_level.txt +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/pyproject.toml +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/setup.cfg +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/setup.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/data/canine_orfdata/README.md +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/data/canine_orfdata/manifest.json +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/data/canine_orfdata/protein.tsv +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/data/canine_orfdata/search.fasta +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_aggregate.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_allele_candidate_audit.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_allele_candidates.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_allele_identity.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_apm.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_apm_host_expression.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_apply_winners_vectorized.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_arm_resolution.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_assays.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_atlas_crosswalk.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_atlas_lineage.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_attribution_query_context.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_build_smoke.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_build_uniprot_reference.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_builder.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_bulk_fractionation.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_bulk_proteomics.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_bulk_proteomics_unit.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_bulk_replicates.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cache_current.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cache_inventory.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_canine_bulk.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_canine_ligands.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_canine_orfdata.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_categorical_consumers.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cell_name_parser.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_check_dev_install.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_ci_corpus.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cli_build_group.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cli_data_dirs.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cli_export_cleanup.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cli_help.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cli_mhc_allele_split.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cli_pmhc_samples.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cli_version.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_compare_corpus_generations.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_condition_categories.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_conditions.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_context_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_corpus_qualification.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_corpus_v3_arm_contexts.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cta_evidence_bundle.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_cta_expression.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_curated_erap2_lines.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_curated_study_sources.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_curation.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_curation_sanity_pass.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_curation_source_followup.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_curation_yaml.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_data_assets.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_data_dir_resolution.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_dataset_generations.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_deploy_script.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_depmap_expression_fetch.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_deposited_elution_conditions.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_detectability.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_download_http.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_download_to_file.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_downloads_timeout.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_evidence_snapshot.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_evidence_store.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_exclude_from_ms.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_export.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_export_filter_parity.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_export_join_lifetime.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_export_species_filters.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_expression_source_provenance.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_external_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_genes.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_genotype_attribution.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_human_cohort_qualification.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_line_expression.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_lineage_audit.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_local_supplement.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_long_peptide_mapping.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_mapping_worker_cache.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_mappings.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_mhc_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_mhc_typing_contract.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_mhcgnomes_floor_check.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_multi_proteome_flanking.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_mutant_sample_genotypes.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_netmhcpan_invocation.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_observations.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_peptide_attribution_scope.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_peptide_modifications.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_pmhc_query.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_predict.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_proteome.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_proteome_cache_resolution.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_provenance.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_public_api.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_pxd013455.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_qc.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_reassign_genotypes.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_release_artifacts.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_report.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_sample_attribution_audit.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_sample_group.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_sample_identity.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_sample_inventory.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_sample_override_and_note.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_samples.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_scanner.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_source_verification.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_species_contexts.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_species_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_study_identity_corrections.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_supplement.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_supplementary_build_e2e.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_supporting_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_supporting_numeric_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_tcell_assays.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_tcell_availability.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_tcell_evidence.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_test_script.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_tissue_blacklist.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_training_binding_filters.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_training_bundle.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_training_identity.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_training_preflight.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_training_qc_metadata.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_uniprot.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_unit_isolation.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_versioned_datasets.py +0 -0
- {hitlist-2.0.3 → hitlist-2.0.4}/tests/test_xdist_cache.py +0 -0
|
@@ -60,6 +60,8 @@ _PUBLIC_API: dict[str, str] = {
|
|
|
60
60
|
"verify_recipe_package": ".evidence_recipe",
|
|
61
61
|
"write_reference_evidence_package": ".reference_evidence",
|
|
62
62
|
"verify_reference_evidence_package": ".reference_evidence",
|
|
63
|
+
"write_assay_adjudication_package": ".assay_adjudication",
|
|
64
|
+
"verify_assay_adjudication_package": ".assay_adjudication",
|
|
63
65
|
"write_mhc_evidence_package": ".mhc_evidence",
|
|
64
66
|
"verify_mhc_evidence_package": ".mhc_evidence",
|
|
65
67
|
"write_context_evidence_package": ".context_evidence",
|
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
"""Source-reviewed assay interpretations appended without changing measured rows."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import json
|
|
6
|
+
import re
|
|
7
|
+
import shutil
|
|
8
|
+
import tempfile
|
|
9
|
+
from importlib.resources import files
|
|
10
|
+
from pathlib import Path
|
|
11
|
+
|
|
12
|
+
import pyarrow as pa
|
|
13
|
+
import pyarrow.parquet as pq
|
|
14
|
+
|
|
15
|
+
from .curation_yaml import load_curation_yaml
|
|
16
|
+
from .evidence_snapshot import snapshot_file
|
|
17
|
+
from .provenance import file_digest
|
|
18
|
+
from .reference_evidence import _safe_relative, verify_reference_evidence_package
|
|
19
|
+
|
|
20
|
+
PACKAGE_SCHEMA_VERSION = 8
|
|
21
|
+
CATALOG_SCHEMA_VERSION = 10
|
|
22
|
+
REVIEW_REVISION = "tcell_multimer_2026_10_23"
|
|
23
|
+
REVIEW_SHA256 = "0cc78c8f956abccda03053e474019d6c8b1a762b45373c469891f9a933a81f11"
|
|
24
|
+
REVIEW_SOURCE = files("hitlist").joinpath("data/assay_adjudications.yaml")
|
|
25
|
+
REVIEW_ASSET = Path("tcell/adjudication/reviews.yaml")
|
|
26
|
+
REVIEW_TABLE = Path("tcell/adjudication/reviews.parquet")
|
|
27
|
+
REVIEW_ASSAY_IDS = frozenset(
|
|
28
|
+
{
|
|
29
|
+
"1646138",
|
|
30
|
+
"2445272",
|
|
31
|
+
"12892501",
|
|
32
|
+
"12892550",
|
|
33
|
+
"12892559",
|
|
34
|
+
"12892569",
|
|
35
|
+
"12892606",
|
|
36
|
+
"12892609",
|
|
37
|
+
"12892626",
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
SOURCE_KEYS = {
|
|
41
|
+
"source_pmid",
|
|
42
|
+
"publication_url",
|
|
43
|
+
"source_asset_url",
|
|
44
|
+
"source_asset_sha256",
|
|
45
|
+
"source_asset_status",
|
|
46
|
+
"source_locator",
|
|
47
|
+
}
|
|
48
|
+
ROW_KEYS = {
|
|
49
|
+
"source_assay_id",
|
|
50
|
+
"source_key",
|
|
51
|
+
"source_peptide_code",
|
|
52
|
+
"source_row_locator",
|
|
53
|
+
"expected_source_reference_id",
|
|
54
|
+
"expected_qualitative_result_raw",
|
|
55
|
+
"expected_n_subjects_tested_raw",
|
|
56
|
+
"expected_n_subjects_positive_raw",
|
|
57
|
+
"expected_peptide_sequence",
|
|
58
|
+
"expected_reported_mhc_raw",
|
|
59
|
+
"expected_effector_cell_name",
|
|
60
|
+
"review_status",
|
|
61
|
+
"interpretation_code",
|
|
62
|
+
"reviewed_endpoint_scope",
|
|
63
|
+
"reviewed_population_scope",
|
|
64
|
+
"reviewed_preparation_scope",
|
|
65
|
+
"reviewed_reagent",
|
|
66
|
+
"unresolved_question",
|
|
67
|
+
"training_effect",
|
|
68
|
+
}
|
|
69
|
+
REVIEW_SCHEMA = pa.schema(
|
|
70
|
+
[
|
|
71
|
+
pa.field(name, pa.string())
|
|
72
|
+
for name in (
|
|
73
|
+
"claim_id",
|
|
74
|
+
"source_assay_id",
|
|
75
|
+
"source_dataset",
|
|
76
|
+
"assay_family",
|
|
77
|
+
"review_revision",
|
|
78
|
+
"source_pmid",
|
|
79
|
+
"publication_url",
|
|
80
|
+
"source_asset_url",
|
|
81
|
+
"source_asset_sha256",
|
|
82
|
+
"source_asset_status",
|
|
83
|
+
"source_locator",
|
|
84
|
+
*sorted(ROW_KEYS - {"source_key", "source_assay_id"}),
|
|
85
|
+
)
|
|
86
|
+
]
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def load_assay_adjudications(path=None):
|
|
91
|
+
"""Read the pinned review ledger, rejecting duplicate or incomplete claims."""
|
|
92
|
+
source = REVIEW_SOURCE if path is None else Path(path)
|
|
93
|
+
if file_digest(source)["sha256"] != REVIEW_SHA256:
|
|
94
|
+
raise ValueError("Unrecognized assay adjudication input bytes")
|
|
95
|
+
document = load_curation_yaml(source)
|
|
96
|
+
if not isinstance(document, dict) or set(document) != {
|
|
97
|
+
"schema_version",
|
|
98
|
+
"revision",
|
|
99
|
+
"sources",
|
|
100
|
+
"reviews",
|
|
101
|
+
}:
|
|
102
|
+
raise ValueError("Invalid assay adjudication document")
|
|
103
|
+
if document["schema_version"] != 1 or document["revision"] != REVIEW_REVISION:
|
|
104
|
+
raise ValueError("Unsupported assay adjudication revision")
|
|
105
|
+
sources = document["sources"]
|
|
106
|
+
if not isinstance(sources, dict) or set(sources) != {
|
|
107
|
+
"kotzin_1999",
|
|
108
|
+
"gapvac_2018",
|
|
109
|
+
"hombrink_2015",
|
|
110
|
+
}:
|
|
111
|
+
raise ValueError("Invalid reviewed publication registry")
|
|
112
|
+
for key, item in sources.items():
|
|
113
|
+
if not isinstance(item, dict) or set(item) != SOURCE_KEYS:
|
|
114
|
+
raise ValueError(f"Invalid reviewed source: {key}")
|
|
115
|
+
if any(
|
|
116
|
+
not isinstance(value, str) or not value
|
|
117
|
+
for name, value in item.items()
|
|
118
|
+
if name != "source_asset_sha256"
|
|
119
|
+
):
|
|
120
|
+
raise ValueError(f"Empty reviewed source field: {key}")
|
|
121
|
+
pinned = item["source_asset_status"] == "sha256_pinned"
|
|
122
|
+
if pinned != bool(item["source_asset_sha256"]):
|
|
123
|
+
raise ValueError(f"Invalid reviewed source asset status: {key}")
|
|
124
|
+
if pinned and not re.fullmatch(r"[0-9a-f]{64}", item["source_asset_sha256"]):
|
|
125
|
+
raise ValueError(f"Invalid reviewed source hash: {key}")
|
|
126
|
+
if item["source_asset_status"] not in {"sha256_pinned", "linked_unpinned"}:
|
|
127
|
+
raise ValueError(f"Unknown reviewed source asset status: {key}")
|
|
128
|
+
reviews = document["reviews"]
|
|
129
|
+
if not isinstance(reviews, list) or len(reviews) != len(REVIEW_ASSAY_IDS):
|
|
130
|
+
raise ValueError("Assay adjudication review coverage changed")
|
|
131
|
+
rows = []
|
|
132
|
+
for review in reviews:
|
|
133
|
+
if not isinstance(review, dict) or set(review) != ROW_KEYS:
|
|
134
|
+
raise ValueError("Invalid assay adjudication row")
|
|
135
|
+
if any(not isinstance(value, str) or not value for value in review.values()):
|
|
136
|
+
raise ValueError("Empty assay adjudication field")
|
|
137
|
+
if review["source_key"] not in sources:
|
|
138
|
+
raise ValueError("Unknown assay adjudication source")
|
|
139
|
+
if review["review_status"] not in {"partially_resolved", "unresolved"}:
|
|
140
|
+
raise ValueError("Unsupported assay adjudication status")
|
|
141
|
+
if review["training_effect"] != "retain_excluded":
|
|
142
|
+
raise ValueError("Assay adjudication cannot silently admit a training label")
|
|
143
|
+
source_item = sources[review["source_key"]]
|
|
144
|
+
row = {
|
|
145
|
+
"claim_id": f"iedb:tcell:{review['source_assay_id']}:review:{REVIEW_REVISION}",
|
|
146
|
+
"source_dataset": "IEDB",
|
|
147
|
+
"assay_family": "pmhc_multimer",
|
|
148
|
+
"review_revision": REVIEW_REVISION,
|
|
149
|
+
**source_item,
|
|
150
|
+
**{key: value for key, value in review.items() if key != "source_key"},
|
|
151
|
+
}
|
|
152
|
+
rows.append(row)
|
|
153
|
+
if {row["source_assay_id"] for row in rows} != REVIEW_ASSAY_IDS:
|
|
154
|
+
raise ValueError("Unknown or duplicate reviewed assay ID")
|
|
155
|
+
if len({row["claim_id"] for row in rows}) != len(rows):
|
|
156
|
+
raise ValueError("Duplicate assay adjudication claim")
|
|
157
|
+
return sorted(rows, key=lambda row: int(row["source_assay_id"]))
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
def _indexed_rows(directory, name, columns, assay_ids):
|
|
161
|
+
table = pq.read_table(
|
|
162
|
+
directory / "tcell" / "typed" / f"{name}.parquet",
|
|
163
|
+
columns=columns,
|
|
164
|
+
filters=[("source_assay_id", "in", sorted(assay_ids))],
|
|
165
|
+
)
|
|
166
|
+
rows = table.to_pylist()
|
|
167
|
+
indexed = {row["source_assay_id"]: row for row in rows}
|
|
168
|
+
if len(indexed) != len(rows):
|
|
169
|
+
raise ValueError(f"Duplicate source assay in {name}")
|
|
170
|
+
return indexed
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
def _validate_source_anchors(directory, reviews):
|
|
174
|
+
"""Require the reviewed raw claims and existing exclusion to match exactly."""
|
|
175
|
+
directory = Path(directory)
|
|
176
|
+
assay_ids = {row["source_assay_id"] for row in reviews}
|
|
177
|
+
if len(assay_ids) != len(reviews):
|
|
178
|
+
raise ValueError("Duplicate reviewed assay ID")
|
|
179
|
+
assays = _indexed_rows(
|
|
180
|
+
directory,
|
|
181
|
+
"assays",
|
|
182
|
+
[
|
|
183
|
+
"source_assay_id",
|
|
184
|
+
"assay_family",
|
|
185
|
+
"source_reference_id",
|
|
186
|
+
"reference_pmid",
|
|
187
|
+
"effector_cell_name",
|
|
188
|
+
],
|
|
189
|
+
assay_ids,
|
|
190
|
+
)
|
|
191
|
+
outcomes = _indexed_rows(
|
|
192
|
+
directory,
|
|
193
|
+
"outcomes",
|
|
194
|
+
[
|
|
195
|
+
"source_assay_id",
|
|
196
|
+
"qualitative_result_raw",
|
|
197
|
+
"n_subjects_tested_raw",
|
|
198
|
+
"n_subjects_positive_raw",
|
|
199
|
+
],
|
|
200
|
+
assay_ids,
|
|
201
|
+
)
|
|
202
|
+
antigens = _indexed_rows(
|
|
203
|
+
directory,
|
|
204
|
+
"antigen_claims",
|
|
205
|
+
["source_assay_id", "epitope_name_raw", "reported_mhc_name_raw"],
|
|
206
|
+
assay_ids,
|
|
207
|
+
)
|
|
208
|
+
eligibility = _indexed_rows(
|
|
209
|
+
directory,
|
|
210
|
+
"eligibility",
|
|
211
|
+
[
|
|
212
|
+
"source_assay_id",
|
|
213
|
+
"task",
|
|
214
|
+
"training_status",
|
|
215
|
+
"training_exclusion_reason",
|
|
216
|
+
"direct_peptide_candidate",
|
|
217
|
+
],
|
|
218
|
+
assay_ids,
|
|
219
|
+
)
|
|
220
|
+
contributors = pq.read_table(
|
|
221
|
+
directory / "tcell/typed/source_contributors.parquet",
|
|
222
|
+
columns=["source_assay_id", "source_dataset", "source_record_id"],
|
|
223
|
+
filters=[("source_assay_id", "in", sorted(assay_ids))],
|
|
224
|
+
).to_pylist()
|
|
225
|
+
contributor_ids = {
|
|
226
|
+
row["source_assay_id"] for row in contributors if row["source_dataset"] == "IEDB"
|
|
227
|
+
}
|
|
228
|
+
training = pq.read_table(
|
|
229
|
+
directory / "tcell/typed/training_examples.parquet",
|
|
230
|
+
columns=["source_assay_id"],
|
|
231
|
+
filters=[("source_assay_id", "in", sorted(assay_ids))],
|
|
232
|
+
)
|
|
233
|
+
if training.num_rows:
|
|
234
|
+
raise ValueError("Reviewed excluded assay appears in training examples")
|
|
235
|
+
for row in reviews:
|
|
236
|
+
assay_id = row["source_assay_id"]
|
|
237
|
+
assay = assays.get(assay_id)
|
|
238
|
+
if assay is None or (
|
|
239
|
+
assay["assay_family"] != row["assay_family"]
|
|
240
|
+
or assay["source_reference_id"] != row["expected_source_reference_id"]
|
|
241
|
+
or assay["reference_pmid"] != row["source_pmid"]
|
|
242
|
+
or assay["effector_cell_name"] != row["expected_effector_cell_name"]
|
|
243
|
+
):
|
|
244
|
+
raise ValueError(f"Reviewed assay source changed: {assay_id}")
|
|
245
|
+
outcome = outcomes.get(assay_id)
|
|
246
|
+
if outcome is None or any(
|
|
247
|
+
outcome[column] != row[expected]
|
|
248
|
+
for column, expected in (
|
|
249
|
+
("qualitative_result_raw", "expected_qualitative_result_raw"),
|
|
250
|
+
("n_subjects_tested_raw", "expected_n_subjects_tested_raw"),
|
|
251
|
+
("n_subjects_positive_raw", "expected_n_subjects_positive_raw"),
|
|
252
|
+
)
|
|
253
|
+
):
|
|
254
|
+
raise ValueError(f"Reviewed source outcome changed: {assay_id}")
|
|
255
|
+
antigen = antigens.get(assay_id)
|
|
256
|
+
if antigen is None or (
|
|
257
|
+
antigen["epitope_name_raw"] != row["expected_peptide_sequence"]
|
|
258
|
+
or antigen["reported_mhc_name_raw"] != row["expected_reported_mhc_raw"]
|
|
259
|
+
):
|
|
260
|
+
raise ValueError(f"Reviewed antigen or restriction claim changed: {assay_id}")
|
|
261
|
+
eligible = eligibility.get(assay_id)
|
|
262
|
+
if eligible is None or (
|
|
263
|
+
eligible["task"] != "assay_specific_pmhc_multimer_cell_binding"
|
|
264
|
+
or eligible["training_status"] != "excluded"
|
|
265
|
+
or eligible["training_exclusion_reason"] != "qualitative_subject_count_disagreement"
|
|
266
|
+
or eligible["direct_peptide_candidate"] is not True
|
|
267
|
+
):
|
|
268
|
+
raise ValueError(f"Reviewed assay eligibility changed: {assay_id}")
|
|
269
|
+
if assay_id not in contributor_ids:
|
|
270
|
+
raise ValueError(f"Reviewed assay has no IEDB source contributor: {assay_id}")
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
def _reconciliation(directory):
|
|
274
|
+
typed = Path(directory) / "tcell/typed"
|
|
275
|
+
assays = pq.ParquetFile(typed / "assays.parquet").metadata.num_rows
|
|
276
|
+
training = pq.ParquetFile(typed / "training_examples.parquet").metadata.num_rows
|
|
277
|
+
eligibility = pq.read_table(
|
|
278
|
+
typed / "eligibility.parquet",
|
|
279
|
+
columns=["task", "direct_peptide_candidate", "training_status"],
|
|
280
|
+
)
|
|
281
|
+
multimer = [
|
|
282
|
+
row
|
|
283
|
+
for row in eligibility.to_pylist()
|
|
284
|
+
if row["task"] == "assay_specific_pmhc_multimer_cell_binding"
|
|
285
|
+
and row["direct_peptide_candidate"]
|
|
286
|
+
]
|
|
287
|
+
result = {
|
|
288
|
+
"n_tcell_assays": assays,
|
|
289
|
+
"n_training_examples": training,
|
|
290
|
+
"n_multimer_candidates": len(multimer),
|
|
291
|
+
"n_multimer_accepted": sum(row["training_status"] == "accepted" for row in multimer),
|
|
292
|
+
"n_multimer_excluded": sum(row["training_status"] == "excluded" for row in multimer),
|
|
293
|
+
}
|
|
294
|
+
if result != {
|
|
295
|
+
"n_tcell_assays": 578_529,
|
|
296
|
+
"n_training_examples": 55_844,
|
|
297
|
+
"n_multimer_candidates": 8_432,
|
|
298
|
+
"n_multimer_accepted": 8_423,
|
|
299
|
+
"n_multimer_excluded": 9,
|
|
300
|
+
}:
|
|
301
|
+
raise ValueError("T-cell assay or training baseline changed")
|
|
302
|
+
return result
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
def verify_assay_adjudication_package(directory):
|
|
306
|
+
"""Verify the complete successor, parent chain and review-to-assay anchors."""
|
|
307
|
+
directory = Path(directory)
|
|
308
|
+
manifest = json.loads((directory / "manifest.json").read_text())
|
|
309
|
+
if (manifest.get("schema_version"), manifest.get("catalog_schema_version")) != (
|
|
310
|
+
PACKAGE_SCHEMA_VERSION,
|
|
311
|
+
CATALOG_SCHEMA_VERSION,
|
|
312
|
+
):
|
|
313
|
+
raise ValueError("Unsupported assay adjudication package schema")
|
|
314
|
+
inventory = {
|
|
315
|
+
str(path.relative_to(directory))
|
|
316
|
+
for path in directory.rglob("*")
|
|
317
|
+
if path.is_file() and path != directory / "manifest.json"
|
|
318
|
+
}
|
|
319
|
+
if set(manifest["files"]) != inventory:
|
|
320
|
+
raise ValueError("Assay adjudication package file inventory mismatch")
|
|
321
|
+
for relative, expected in manifest["files"].items():
|
|
322
|
+
if file_digest(directory / _safe_relative(relative)) != expected:
|
|
323
|
+
raise ValueError(f"Assay adjudication artifact changed: {relative}")
|
|
324
|
+
parent_path = "manifests/reference.json"
|
|
325
|
+
if manifest["files"][parent_path]["sha256"] != manifest["parent_manifest_sha256"]:
|
|
326
|
+
raise ValueError("Assay adjudication parent manifest changed")
|
|
327
|
+
parent = verify_reference_evidence_package(directory, manifest_path=parent_path)
|
|
328
|
+
if parent["catalog_schema_version"] != 9:
|
|
329
|
+
raise ValueError("Unexpected assay adjudication predecessor catalog")
|
|
330
|
+
if manifest.get("review_revision") != REVIEW_REVISION:
|
|
331
|
+
raise ValueError("Assay adjudication review revision changed")
|
|
332
|
+
if manifest.get("source_review_sha256") != REVIEW_SHA256:
|
|
333
|
+
raise ValueError("Assay adjudication review receipt changed")
|
|
334
|
+
reviews = load_assay_adjudications(directory / REVIEW_ASSET)
|
|
335
|
+
parquet = pq.ParquetFile(directory / REVIEW_TABLE)
|
|
336
|
+
if parquet.schema_arrow != REVIEW_SCHEMA or parquet.metadata.num_rows != len(reviews):
|
|
337
|
+
raise ValueError("Assay adjudication typed relation changed")
|
|
338
|
+
if pq.read_table(directory / REVIEW_TABLE).to_pylist() != reviews:
|
|
339
|
+
raise ValueError("Assay adjudication rows differ from pinned review input")
|
|
340
|
+
_validate_source_anchors(directory, reviews)
|
|
341
|
+
if manifest.get("reconciliation") != {**_reconciliation(directory), "n_assay_reviews": 9}:
|
|
342
|
+
raise ValueError("Assay adjudication reconciliation changed")
|
|
343
|
+
return manifest
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
def write_assay_adjudication_package(reference_package, destination):
|
|
347
|
+
"""Append nine source-linked interpretations to an independent frozen copy."""
|
|
348
|
+
reference_package, destination = Path(reference_package), Path(destination)
|
|
349
|
+
if destination.exists():
|
|
350
|
+
raise FileExistsError(f"Assay adjudication package already exists: {destination}")
|
|
351
|
+
parent = verify_reference_evidence_package(reference_package)
|
|
352
|
+
reviews = load_assay_adjudications()
|
|
353
|
+
_validate_source_anchors(reference_package, reviews)
|
|
354
|
+
reconciliation = {**_reconciliation(reference_package), "n_assay_reviews": len(reviews)}
|
|
355
|
+
destination.parent.mkdir(parents=True, exist_ok=True)
|
|
356
|
+
staging = Path(tempfile.mkdtemp(prefix=f".{destination.name}-", dir=destination.parent))
|
|
357
|
+
try:
|
|
358
|
+
for relative in parent["files"]:
|
|
359
|
+
snapshot_file(reference_package / _safe_relative(relative), staging / relative)
|
|
360
|
+
snapshot_file(reference_package / "manifest.json", staging / "manifests/reference.json")
|
|
361
|
+
snapshot_file(REVIEW_SOURCE, staging / REVIEW_ASSET)
|
|
362
|
+
table_path = staging / REVIEW_TABLE
|
|
363
|
+
table_path.parent.mkdir(parents=True, exist_ok=True)
|
|
364
|
+
pq.write_table(
|
|
365
|
+
pa.Table.from_pylist(reviews, schema=REVIEW_SCHEMA), table_path, compression="zstd"
|
|
366
|
+
)
|
|
367
|
+
files_manifest = {
|
|
368
|
+
str(path.relative_to(staging)): file_digest(path)
|
|
369
|
+
for path in sorted(staging.rglob("*"))
|
|
370
|
+
if path.is_file()
|
|
371
|
+
}
|
|
372
|
+
from .version import __version__
|
|
373
|
+
|
|
374
|
+
manifest = {
|
|
375
|
+
"schema_version": PACKAGE_SCHEMA_VERSION,
|
|
376
|
+
"catalog_schema_version": CATALOG_SCHEMA_VERSION,
|
|
377
|
+
"hitlist_version": __version__,
|
|
378
|
+
"parent_manifest_sha256": files_manifest["manifests/reference.json"]["sha256"],
|
|
379
|
+
"review_revision": REVIEW_REVISION,
|
|
380
|
+
"source_review_sha256": REVIEW_SHA256,
|
|
381
|
+
"reconciliation": reconciliation,
|
|
382
|
+
"files": files_manifest,
|
|
383
|
+
}
|
|
384
|
+
(staging / "manifest.json").write_text(
|
|
385
|
+
json.dumps(manifest, indent=2, sort_keys=True) + "\n"
|
|
386
|
+
)
|
|
387
|
+
verify_assay_adjudication_package(staging)
|
|
388
|
+
staging.rename(destination)
|
|
389
|
+
return destination / "manifest.json"
|
|
390
|
+
except Exception:
|
|
391
|
+
shutil.rmtree(staging, ignore_errors=True)
|
|
392
|
+
raise
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
schema_version: 1
|
|
2
|
+
revision: tcell_multimer_2026_10_23
|
|
3
|
+
sources:
|
|
4
|
+
kotzin_1999:
|
|
5
|
+
source_pmid: '10618411'
|
|
6
|
+
publication_url: https://pmc.ncbi.nlm.nih.gov/articles/PMC26656/
|
|
7
|
+
source_asset_url: https://pmc.ncbi.nlm.nih.gov/articles/PMC26656/
|
|
8
|
+
source_asset_sha256: null
|
|
9
|
+
source_asset_status: linked_unpinned
|
|
10
|
+
source_locator: Figures 3-4, gp39-DR4 tetramer staining of rheumatoid synovial CD4 cells
|
|
11
|
+
gapvac_2018:
|
|
12
|
+
source_pmid: '30568303'
|
|
13
|
+
publication_url: https://www.nature.com/articles/s41586-018-0810-y
|
|
14
|
+
source_asset_url: https://static-content.springer.com/esm/art%3A10.1038%2Fs41586-018-0810-y/MediaObjects/41586_2018_810_MOESM1_ESM.pdf
|
|
15
|
+
source_asset_sha256: e755519a29e08dc1378e09f1d95f94ac4bc893494df7330b99f6e76bba7a2631
|
|
16
|
+
source_asset_status: sha256_pinned
|
|
17
|
+
source_locator: Corrected Supplementary Information, Table 2, PDF page 15
|
|
18
|
+
hombrink_2015:
|
|
19
|
+
source_pmid: '25589627'
|
|
20
|
+
publication_url: https://pubmed.ncbi.nlm.nih.gov/25589627/
|
|
21
|
+
source_asset_url: https://api.figshare.com/v2/file/download/39910871
|
|
22
|
+
source_asset_sha256: fa6758ca9d58cf4691dc9b6a0f17575ec88215fb023998a730cb7abe8b264058
|
|
23
|
+
source_asset_status: sha256_pinned
|
|
24
|
+
source_locator: Supplementary Table III, HNF4G-1M column after first and second multimer pull-down
|
|
25
|
+
reviews:
|
|
26
|
+
- source_assay_id: '1646138'
|
|
27
|
+
source_key: kotzin_1999
|
|
28
|
+
source_peptide_code: HCgp39
|
|
29
|
+
source_row_locator: Figures 3-4, gp39 peptide-DR4 tetramer
|
|
30
|
+
expected_source_reference_id: '1014650'
|
|
31
|
+
expected_qualitative_result_raw: Negative
|
|
32
|
+
expected_n_subjects_tested_raw: '20'
|
|
33
|
+
expected_n_subjects_positive_raw: '3'
|
|
34
|
+
expected_peptide_sequence: RSFTLASSETGVG
|
|
35
|
+
expected_reported_mhc_raw: HLA-DRB1*04:01
|
|
36
|
+
expected_effector_cell_name: T cell CD4+
|
|
37
|
+
review_status: partially_resolved
|
|
38
|
+
interpretation_code: cohort_negative_with_weak_individual_signals
|
|
39
|
+
reviewed_endpoint_scope: Overall gp39-DR4 tetramer staining was judged negative; three patients had weak individual signals.
|
|
40
|
+
reviewed_population_scope: Synovial CD4 cells from rheumatoid arthritis patients, not one independent peptide-level result per patient.
|
|
41
|
+
reviewed_preparation_scope: Directly sampled synovial cells in the paper.
|
|
42
|
+
reviewed_reagent: Soluble gp39 peptide-DR4 tetramer; IEDB reports HLA-DRB1*04:01 for this assay.
|
|
43
|
+
unresolved_question: Individual weak signals and broader DR4-subtype context do not define a binary peptide-level training label.
|
|
44
|
+
training_effect: retain_excluded
|
|
45
|
+
- source_assay_id: '12892501'
|
|
46
|
+
source_key: gapvac_2018
|
|
47
|
+
source_peptide_code: GRI-002
|
|
48
|
+
source_row_locator: Supplementary Table 2, GRI-002 row
|
|
49
|
+
expected_source_reference_id: '1038427'
|
|
50
|
+
expected_qualitative_result_raw: Positive
|
|
51
|
+
expected_n_subjects_tested_raw: '2'
|
|
52
|
+
expected_n_subjects_positive_raw: '0'
|
|
53
|
+
expected_peptide_sequence: VLIQDVPTL
|
|
54
|
+
expected_reported_mhc_raw: HLA-A*02:01
|
|
55
|
+
expected_effector_cell_name: T cell CD8+
|
|
56
|
+
review_status: unresolved
|
|
57
|
+
interpretation_code: vaccine_response_zero_iedb_positive_unexplained
|
|
58
|
+
reviewed_endpoint_scope: Table 2 reports zero vaccine-induced immune responses among two immune-evaluable patients.
|
|
59
|
+
reviewed_population_scope: Vaccinated GAPVAC-101 patients eligible for this APVAC1 peptide.
|
|
60
|
+
reviewed_preparation_scope: Table 2 summarizes post-vaccination response; it does not specify the per-assay cell preparation represented by IEDB Positive.
|
|
61
|
+
reviewed_reagent: IEDB reports multimer/tetramer; Table 2 is a peptide-level response summary.
|
|
62
|
+
unresolved_question: The source does not explain IEDB's Positive qualitative tier for this zero-response Table 2 row.
|
|
63
|
+
training_effect: retain_excluded
|
|
64
|
+
- source_assay_id: '12892550'
|
|
65
|
+
source_key: gapvac_2018
|
|
66
|
+
source_peptide_code: SEZ6L-001
|
|
67
|
+
source_row_locator: Supplementary Table 2, SEZ6L-001 row
|
|
68
|
+
expected_source_reference_id: '1038427'
|
|
69
|
+
expected_qualitative_result_raw: Positive
|
|
70
|
+
expected_n_subjects_tested_raw: '3'
|
|
71
|
+
expected_n_subjects_positive_raw: '0'
|
|
72
|
+
expected_peptide_sequence: LLLGSPAAA
|
|
73
|
+
expected_reported_mhc_raw: HLA-A*02:01
|
|
74
|
+
expected_effector_cell_name: T cell CD8+
|
|
75
|
+
review_status: unresolved
|
|
76
|
+
interpretation_code: vaccine_response_zero_iedb_positive_unexplained
|
|
77
|
+
reviewed_endpoint_scope: Table 2 reports zero vaccine-induced immune responses among three immune-evaluable patients.
|
|
78
|
+
reviewed_population_scope: Vaccinated GAPVAC-101 patients eligible for this APVAC1 peptide.
|
|
79
|
+
reviewed_preparation_scope: Table 2 summarizes post-vaccination response; it does not specify the per-assay cell preparation represented by IEDB Positive.
|
|
80
|
+
reviewed_reagent: IEDB reports multimer/tetramer; Table 2 is a peptide-level response summary.
|
|
81
|
+
unresolved_question: The source does not explain IEDB's Positive qualitative tier for this zero-response Table 2 row.
|
|
82
|
+
training_effect: retain_excluded
|
|
83
|
+
- source_assay_id: '12892559'
|
|
84
|
+
source_key: gapvac_2018
|
|
85
|
+
source_peptide_code: ASPM-002
|
|
86
|
+
source_row_locator: Supplementary Table 2, ASPM-002 row
|
|
87
|
+
expected_source_reference_id: '1038427'
|
|
88
|
+
expected_qualitative_result_raw: Positive
|
|
89
|
+
expected_n_subjects_tested_raw: '1'
|
|
90
|
+
expected_n_subjects_positive_raw: '0'
|
|
91
|
+
expected_peptide_sequence: SYNPLWLRI
|
|
92
|
+
expected_reported_mhc_raw: HLA-A*24:02
|
|
93
|
+
expected_effector_cell_name: T cell CD8+
|
|
94
|
+
review_status: unresolved
|
|
95
|
+
interpretation_code: vaccine_response_zero_iedb_positive_unexplained
|
|
96
|
+
reviewed_endpoint_scope: Table 2 reports zero vaccine-induced immune responses among one immune-evaluable patient.
|
|
97
|
+
reviewed_population_scope: Vaccinated GAPVAC-101 patients eligible for this APVAC1 peptide.
|
|
98
|
+
reviewed_preparation_scope: Table 2 summarizes post-vaccination response; it does not specify the per-assay cell preparation represented by IEDB Positive.
|
|
99
|
+
reviewed_reagent: IEDB reports multimer/tetramer; Table 2 is a peptide-level response summary.
|
|
100
|
+
unresolved_question: The source does not explain IEDB's Positive qualitative tier for this zero-response Table 2 row.
|
|
101
|
+
training_effect: retain_excluded
|
|
102
|
+
- source_assay_id: '12892569'
|
|
103
|
+
source_key: gapvac_2018
|
|
104
|
+
source_peptide_code: FADS2-002
|
|
105
|
+
source_row_locator: Supplementary Table 2, FADS2-002 row
|
|
106
|
+
expected_source_reference_id: '1038427'
|
|
107
|
+
expected_qualitative_result_raw: Positive
|
|
108
|
+
expected_n_subjects_tested_raw: '1'
|
|
109
|
+
expected_n_subjects_positive_raw: '0'
|
|
110
|
+
expected_peptide_sequence: PYNHQHEYF
|
|
111
|
+
expected_reported_mhc_raw: HLA-A*24:02
|
|
112
|
+
expected_effector_cell_name: T cell CD8+
|
|
113
|
+
review_status: unresolved
|
|
114
|
+
interpretation_code: vaccine_response_zero_iedb_positive_unexplained
|
|
115
|
+
reviewed_endpoint_scope: Table 2 reports zero vaccine-induced immune responses among one immune-evaluable patient.
|
|
116
|
+
reviewed_population_scope: Vaccinated GAPVAC-101 patients eligible for this APVAC1 peptide.
|
|
117
|
+
reviewed_preparation_scope: Table 2 summarizes post-vaccination response; it does not specify the per-assay cell preparation represented by IEDB Positive.
|
|
118
|
+
reviewed_reagent: IEDB reports multimer/tetramer; Table 2 is a peptide-level response summary.
|
|
119
|
+
unresolved_question: The source does not explain IEDB's Positive qualitative tier for this zero-response Table 2 row.
|
|
120
|
+
training_effect: retain_excluded
|
|
121
|
+
- source_assay_id: '12892606'
|
|
122
|
+
source_key: gapvac_2018
|
|
123
|
+
source_peptide_code: ST8SIA5-001
|
|
124
|
+
source_row_locator: Supplementary Table 2, ST8SIA5-001 row
|
|
125
|
+
expected_source_reference_id: '1038427'
|
|
126
|
+
expected_qualitative_result_raw: Positive
|
|
127
|
+
expected_n_subjects_tested_raw: '1'
|
|
128
|
+
expected_n_subjects_positive_raw: '0'
|
|
129
|
+
expected_peptide_sequence: VYYFHPQYL
|
|
130
|
+
expected_reported_mhc_raw: HLA-A*24:02
|
|
131
|
+
expected_effector_cell_name: T cell CD8+
|
|
132
|
+
review_status: unresolved
|
|
133
|
+
interpretation_code: vaccine_response_zero_iedb_positive_unexplained
|
|
134
|
+
reviewed_endpoint_scope: Table 2 reports zero vaccine-induced immune responses among one immune-evaluable patient.
|
|
135
|
+
reviewed_population_scope: Vaccinated GAPVAC-101 patients eligible for this APVAC1 peptide.
|
|
136
|
+
reviewed_preparation_scope: Table 2 summarizes post-vaccination response; it does not specify the per-assay cell preparation represented by IEDB Positive.
|
|
137
|
+
reviewed_reagent: IEDB reports multimer/tetramer; Table 2 is a peptide-level response summary.
|
|
138
|
+
unresolved_question: The source does not explain IEDB's Positive qualitative tier for this zero-response Table 2 row.
|
|
139
|
+
training_effect: retain_excluded
|
|
140
|
+
- source_assay_id: '12892609'
|
|
141
|
+
source_key: gapvac_2018
|
|
142
|
+
source_peptide_code: TMEM231-001
|
|
143
|
+
source_row_locator: Supplementary Table 2, TMEM231-001 row
|
|
144
|
+
expected_source_reference_id: '1038427'
|
|
145
|
+
expected_qualitative_result_raw: Positive
|
|
146
|
+
expected_n_subjects_tested_raw: '1'
|
|
147
|
+
expected_n_subjects_positive_raw: '0'
|
|
148
|
+
expected_peptide_sequence: TYIPPLLVAF
|
|
149
|
+
expected_reported_mhc_raw: HLA-A*24:02
|
|
150
|
+
expected_effector_cell_name: T cell CD8+
|
|
151
|
+
review_status: unresolved
|
|
152
|
+
interpretation_code: vaccine_response_zero_iedb_positive_unexplained
|
|
153
|
+
reviewed_endpoint_scope: Table 2 reports zero vaccine-induced immune responses among one immune-evaluable patient.
|
|
154
|
+
reviewed_population_scope: Vaccinated GAPVAC-101 patients eligible for this APVAC1 peptide.
|
|
155
|
+
reviewed_preparation_scope: Table 2 summarizes post-vaccination response; it does not specify the per-assay cell preparation represented by IEDB Positive.
|
|
156
|
+
reviewed_reagent: IEDB reports multimer/tetramer; Table 2 is a peptide-level response summary.
|
|
157
|
+
unresolved_question: The source does not explain IEDB's Positive qualitative tier for this zero-response Table 2 row.
|
|
158
|
+
training_effect: retain_excluded
|
|
159
|
+
- source_assay_id: '12892626'
|
|
160
|
+
source_key: gapvac_2018
|
|
161
|
+
source_peptide_code: BCA-005
|
|
162
|
+
source_row_locator: Supplementary Table 2, BCA-005 row
|
|
163
|
+
expected_source_reference_id: '1038427'
|
|
164
|
+
expected_qualitative_result_raw: Positive
|
|
165
|
+
expected_n_subjects_tested_raw: '1'
|
|
166
|
+
expected_n_subjects_positive_raw: '0'
|
|
167
|
+
expected_peptide_sequence: VKVNEAYRFRVALPAYPA
|
|
168
|
+
expected_reported_mhc_raw: HLA-DR
|
|
169
|
+
expected_effector_cell_name: T cell CD4+
|
|
170
|
+
review_status: unresolved
|
|
171
|
+
interpretation_code: vaccine_response_zero_iedb_positive_unexplained
|
|
172
|
+
reviewed_endpoint_scope: Table 2 reports zero vaccine-induced immune responses among one immune-evaluable patient.
|
|
173
|
+
reviewed_population_scope: Vaccinated GAPVAC-101 patients eligible for this APVAC1 pan-DR peptide.
|
|
174
|
+
reviewed_preparation_scope: Table 2 summarizes post-vaccination response; it does not specify the per-assay cell preparation represented by IEDB Positive.
|
|
175
|
+
reviewed_reagent: IEDB reports multimer/tetramer; Table 2 is a peptide-level response summary.
|
|
176
|
+
unresolved_question: The source does not explain IEDB's Positive qualitative tier for this zero-response Table 2 row; no HLA-DR allele is resolved.
|
|
177
|
+
training_effect: retain_excluded
|
|
178
|
+
- source_assay_id: '2445272'
|
|
179
|
+
source_key: hombrink_2015
|
|
180
|
+
source_peptide_code: HNF4G-1M
|
|
181
|
+
source_row_locator: Supplementary Table III, HNF4G-1M column
|
|
182
|
+
expected_source_reference_id: '1028928'
|
|
183
|
+
expected_qualitative_result_raw: Positive
|
|
184
|
+
expected_n_subjects_tested_raw: '6'
|
|
185
|
+
expected_n_subjects_positive_raw: '0'
|
|
186
|
+
expected_peptide_sequence: MMYKDILLL
|
|
187
|
+
expected_reported_mhc_raw: HLA-A*02:01
|
|
188
|
+
expected_effector_cell_name: T cell CD8+
|
|
189
|
+
review_status: unresolved
|
|
190
|
+
interpretation_code: no_hnf4g_frequency_iedb_positive_unexplained
|
|
191
|
+
reviewed_endpoint_scope: Supplementary Table III shows no HNF4G-1M positive frequency in the listed donor lines.
|
|
192
|
+
reviewed_population_scope: In vitro expanded donor T-cell lines after MHC-multimer pull-down, distinct from starting PBMC.
|
|
193
|
+
reviewed_preparation_scope: The source measurement follows one or two pull-down and expansion rounds; IEDB reports Direct Ex Vivo for starting material.
|
|
194
|
+
reviewed_reagent: HNF4G-1M pMHC multimer/tetramer.
|
|
195
|
+
unresolved_question: No source-backed mapping explains IEDB Positive with zero positive subjects for this assay.
|
|
196
|
+
training_effect: retain_excluded
|
|
@@ -357,6 +357,60 @@ LINKS = (
|
|
|
357
357
|
"many",
|
|
358
358
|
"source_assay",
|
|
359
359
|
),
|
|
360
|
+
Link(
|
|
361
|
+
"adjudication",
|
|
362
|
+
"tcell_availability",
|
|
363
|
+
"assay_adjudication",
|
|
364
|
+
"source_assay_id",
|
|
365
|
+
"source_assay_id",
|
|
366
|
+
"optional_one",
|
|
367
|
+
"source_assay",
|
|
368
|
+
),
|
|
369
|
+
Link(
|
|
370
|
+
"source_assay",
|
|
371
|
+
"assay_adjudication",
|
|
372
|
+
"tcell_availability",
|
|
373
|
+
"source_assay_id",
|
|
374
|
+
"source_assay_id",
|
|
375
|
+
"one",
|
|
376
|
+
"source_assay",
|
|
377
|
+
),
|
|
378
|
+
Link(
|
|
379
|
+
"reported_outcome",
|
|
380
|
+
"assay_adjudication",
|
|
381
|
+
"tcell_reported_outcome",
|
|
382
|
+
"source_assay_id",
|
|
383
|
+
"source_assay_id",
|
|
384
|
+
"one",
|
|
385
|
+
"source_assay",
|
|
386
|
+
),
|
|
387
|
+
Link(
|
|
388
|
+
"antigen_claim",
|
|
389
|
+
"assay_adjudication",
|
|
390
|
+
"tcell_antigen_claim",
|
|
391
|
+
"source_assay_id",
|
|
392
|
+
"source_assay_id",
|
|
393
|
+
"one",
|
|
394
|
+
"source_assay",
|
|
395
|
+
),
|
|
396
|
+
Link(
|
|
397
|
+
"eligibility",
|
|
398
|
+
"assay_adjudication",
|
|
399
|
+
"tcell_eligibility",
|
|
400
|
+
"source_assay_id",
|
|
401
|
+
"source_assay_id",
|
|
402
|
+
"one",
|
|
403
|
+
"source_assay",
|
|
404
|
+
),
|
|
405
|
+
Link(
|
|
406
|
+
"source_contributors",
|
|
407
|
+
"assay_adjudication",
|
|
408
|
+
"tcell_source_contributor",
|
|
409
|
+
"source_assay_id",
|
|
410
|
+
"source_assay_id",
|
|
411
|
+
"many",
|
|
412
|
+
"source_assay",
|
|
413
|
+
),
|
|
360
414
|
Link(
|
|
361
415
|
"numeric_measurements",
|
|
362
416
|
"bulk_ms_protein",
|
|
@@ -530,7 +584,6 @@ def materialized_bindings(package_schema_version=None):
|
|
|
530
584
|
if item.status == "v2_materialized"
|
|
531
585
|
and (
|
|
532
586
|
package_schema_version is None
|
|
533
|
-
or package_schema_version >=
|
|
534
|
-
or item.source_population != "pxd057588_mouse_reference_2026_03"
|
|
587
|
+
or package_schema_version >= item.min_package_schema_version
|
|
535
588
|
)
|
|
536
589
|
}
|