Skip to content

Commit

Permalink
fix: strucvars/csq should not double-HGNC prefix gene IDs (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Mar 6, 2024
1 parent f1a807c commit b09782c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/annotate/strucvars/csq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,8 @@ fn compute_tx_effects_for_breakpoint(
let tree = &mehari_tx_idx.trees[*idx];
for it in tree.find(query) {
let tx = &tx_db.transcripts[*it.data() as usize];
let hgnc_id = format!("HGNC:{}", &tx.gene_id);
effects_by_gene
.entry(hgnc_id)
.entry(tx.gene_id.clone())
.or_default()
.extend(gene_tx_effects_for_bp(tx, sv.start()));
}
Expand Down

0 comments on commit b09782c

Please sign in to comment.