Skip to content

Commit

Permalink
Aplly only to transcripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiara Rasi committed Oct 28, 2024
1 parent 7d7ab73 commit 5a2f2d9
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/chanjo2/meta/handle_d4.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,15 @@ def get_report_sample_interval_coverage(
interval_hgnc_symbol,
interval_hgnc_id,
interval.ensembl_id,
{
"mane_select": interval.refseq_mane_select,
"mane_plus_clinical": interval.refseq_mane_plus_clinical,
"mrna": interval.refseq_mane_select,
},
(
{
"mane_select": interval.refseq_mane_select,
"mane_plus_clinical": interval.refseq_mane_plus_clinical,
"mrna": interval.refseq_mane_select,
}
if isinstance(interval, SQLTranscript)
else {}
),
sample_name,
round(interval_coverage_at_threshold * 100, 2),
)
Expand Down

0 comments on commit 5a2f2d9

Please sign in to comment.