Repository navigation
DNA-only CLI without --bam, compact dna_effect_selection/annotated_effect, and OncoRef cohort proxy expression (v3.67.0) - #909
Merged
Conversation
… proxy expression (v3.66.0)
…oref-proxy-expression
…oxy source on page 1, bump to 3.67.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dna_effect_selection):_compact_candidate_provenance()replaces raw per-basegenomic_positionscoordinate arrays (which added 2.4 MB perTTNvariant / 25.66 MB across 198 COLO829 coding variants) withgenomic_positions_count+genomic_positions_sha256while preservingexon_runs,cdna_sequence,protein_sequence,splice_plan, and exact deterministicpredicted_effect()matching. Filed upstream issue varcode_candidate_provenance() serializes huge per-base genomic_positions arrays (multi-MB per long gene) topiary#624.--bam+ non-zero default scoring):--bamoptional in argparse when--allow-dna-only-fallbackor--proxy-expression-cancer-typeis passed, while preserving a clear fast-fail error when--bamis omitted without DNA-only opt-in.run_isovarBAM access when--bamis omitted and builds native empty-ReadEvidenceIsovarResultshells.combined_score_exprtotarget_epitope_scorefor pure DNA-only runs (no--bam, no proxy) and tosqrt(proxy_expression_tpm) * target_epitope_scorewhen--proxy-expression-cancer-typeis supplied, unless explicitly overridden via YAML/--set.--proxy-expression-cancer-type):vaxrank/proxy_expression.pyresolves OncoRef cancer codes and common names (e.g.SKCM/melanoma,BRCA,SARC_OS) viaoncoref.resolve_cancer_type()+oncoref.cancer_reference_expression()(median clean TPM, Q1/Q3 IQR, sample counts), with human-host validation (rejecting non-human taxa) and rejecting combination with--bam.resolve_proxy_expression_gene()uses the 5' gene upstream of the breakpoint (five_prime_transcriptor first segment inMutantTranscript.reference_segments), since the 5' promoter drives transcription of chimeric/fusion products.n_alt_reads(remains 0,rna_evidence_method == ''), exposesproxy_expression_tpmincombined_score_dsl, and renders explicit cohort-proxy labels (Proxy SKCM: ... TPM (OncoRef)) in reports andrun_summary.txt.3.65.1→3.66.0.Closes #907
Closes #908
Verification
ruff check vaxrank tests: clean193 passedincluding 9 new tests intests/test_dna_only_proxy_expression.pySKCMproxy expression, 225 PASS coding variants, no--bam, NetMHCpan 4.2c) verification running in parallel.