Repository navigation
Sv call esvee oncoanalyser v2.0.0 - #88
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates the structural variant calling parameters by replacing GRIPSS-specific tags and plots with new eSVee metrics. Key changes include:
- Changing the structural variant caller in the cancer report from "gridss" to "manta" and removing SR/PR plots.
- Removing SR, PR, IC-related columns and computations from tag definitions and processing functions in R/sv.R, while introducing VF, SB, and SF columns.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| inst/rmd/umccrise/cancer_report.Rmd | Updated sv.caller parameter and removed SR/PR plot code |
| R/sv.R | Removed SR, PR, IC columns and computations; added VF, SB, SF columns in multiple sections |
Comments suppressed due to low confidence (2)
R/sv.R:317
- Since the SR and PR metrics are being removed, verify that all aggregations using SR/PR fields (e.g., 'SR_PR_ref', 'SR_PR_sum', 'SR_PR_asm_sum') are not referenced in downstream processes or tests.
"SR_PR_ref" = paste0(.data$SR_ref, ",", .data$PR_ref),
inst/rmd/umccrise/cancer_report.Rmd:122
- Ensure that the change in structural variant caller from 'gridss' to 'manta' is fully supported by all downstream components and that necessary documentation updates accompany this change.
sv.caller = "manta",
pdiakumis
left a comment
There was a problem hiding this comment.
Just a comment about CHORD handling of eSVee calls, LGTM otherwise.
| vcf.snv = params$somatic_snv_vcf, | ||
| vcf.sv = params$somatic_sv_vcf, | ||
| sv.caller = "gridss", | ||
| sv.caller = "manta", |
There was a problem hiding this comment.
Surprised that this works with the Hartwig SV calls (eSVee?). Noting also that CHORD under the UMCUGenetics repo has been deprecated. Would be good to get a few CHORD results replicated but I understand we're a bit short on time.
Can you take a look at the code in https://github.com/UMCUGenetics/mutSigExtractor/blob/master/R/extractSigsSv.R#L23 and see if those fields that are extracted in the manta case are in the SV VCF you're parsing?
Also https://github.com/UMCUGenetics/mutSigExtractor/blob/master/R/extractSigsSv.R#L205 for potential ramifications.
scwatts
left a comment
There was a problem hiding this comment.
Thanks again for this work! Could you please post the output of COLO829 here for review too?
On the changed SV statistics, is there a reason we're now including strand bias? I would have thought we'd switch to DF (count of discordant fragments with reads either side BE) and SF (fragments with one read overlapping BE); in mind these correspond to 'paired reads' and 'split reads' respectively
I wasn't confident with the different metrics, but that make sense. I can even reintroduce the plot then |
Here is a link to a cancer report with the latest version: |
| pon_ids <- sv_with_pon_filter |> | ||
| dplyr::filter(.data$has_pon) |> | ||
| dplyr::select(.data$ID_char, .data$MATEID_char) |> | ||
| tidyr::pivot_longer(everything(), values_to = "id_to_filter") |> | ||
| dplyr::filter(.data$id_to_filter != "") |> | ||
| dplyr::pull(.data$id_to_filter) |> | ||
| unique() |
There was a problem hiding this comment.
I think everything() was working before because in the cancer report we're pulling in dplyr.
pon_ids <- sv_with_pon_filter |>
dplyr::filter(.data$has_pon) |>
dplyr::select("ID_char", "MATEID_char") |>
tidyr::pivot_longer(dplyr::everything(), values_to = "id_to_filter") |>
dplyr::filter(.data$id_to_filter != "") |>
dplyr::pull("id_to_filter") |>
unique()
There was a problem hiding this comment.
Also see https://dplyr.tidyverse.org/articles/programming.html for the details of .data$foo vs. "foo" (if you're interested!).
Uh oh!
There was an error while loading. Please reload this page.