You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running TINC (TINC_0.1.0) on a sample gives the following error upon autofit with a strelka2-vcf:
(Please find the vcf attached - note that it is anonymised)
Note that
TINC succeeds when running on several other samples, only this particular sample causes error
We managed to bypass the error by adding a few extra variants (PASSing some of the variants that has Strelka-EVS just below thresholds)
TINC succeeds for other samples with even fewer variants, so it is not a matter of too few variants
We use WES data, not WGS. But TINC has worked with several WES strelka-output before
The same error arise when we load the strelka-vcf with load_VCF_Strelka instead of manually
> dummy = as_tibble(read.table("dummy_data.tsv.txt", sep = "\t", header = T))
> head(dummy)
# A tibble: 6 × 9
chr from to ref alt n_ref_count n_alt_count t_ref_count t_alt_count
<chr> <int> <int> <chr> <chr> <int> <int> <int> <int>
1 chr1 1339794 1339795 A C 560 2 470 16
2 chr1 15729850 15729851 C G 486 0 393 10
3 chr1 42747159 42747160 C T 697 0 580 18
4 chr1 54200483 54200484 G C 417 0 353 8
5 chr1 89263797 89263798 A C 391 0 418 9
6 chr1 110222976 110222977 C G 638 0 517 16
> fit = autofit(input = dummy, cna = NULL)
[ TINC ]
── Loading TINC input data ─────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ Input data contains n = 86 mutations, selecting operation mode.
✔ Mutation with VAF within 0 and 0.7 ~ n = 86.
── Analysing tumour sample with MOBSTER ────────────────────────────────────────────────────────────────────────────────────────────
[ MOBSTER fit ]
✔ Loaded input data, n = 86.
❯ n = 86. Mixture with k = 1,2,3 Beta(s). Pareto tail: TRUE and FALSE. Output clusters with π > 0.02 and n > 10.
❯ Custom fit by Moments-matching in up to 300 steps, with ε = 1e-09 and random initialisation.
❯ Scoring (without parallel) 6 x 3 x 2 = 36 models by reICL.
[easypar] 36/36 computations returned errors and will be removed.
Error in mobster::mobster_fit(x, ...) :
All task returned errors, no fit available, raising this error to interrupt the computation....
In addition: There were 50 or more warnings (use warnings() to see the first 50)
Warnings:
> warnings()
Warning messages:
1: Unknown or uninitialised column: `a`.
2: Unknown or uninitialised column: `b`.
3: Unknown or uninitialised column: `a`.
4: Unknown or uninitialised column: `b`.
5: In (function (X, K = 3, init = "peaks", tail = TRUE, epsilon = 1e-10, ... :
Possible singularity in one Beta component a/b --> Inf.
6: In (function (X, K = 3, init = "peaks", tail = TRUE, epsilon = 1e-10, ... :
Possible singularity in one Beta component a/b --> Inf.
..
50: In (function (X, K = 3, init = "peaks", tail = TRUE, epsilon = 1e-10, ... :
Possible singularity in one Beta component a/b --> Inf.
With the current mobster and TINC versions it terminates with an informative message. That one was an issue with mobster in reality, but please reopen the issue here or on the mobster page if you still encounter the error.
> fit = autofit(input = dummy, cna = NULL)
[ TINC ]
── Loading TINC input data ───────────────────────────────────────────────────────────────────────────────────
✔ Input data contains n = 86 mutations, selecting operation mode.
✔ Mutation with VAF within 0 and 0.7 ~ n = 86.
── Analysing tumour sample with MOBSTER ──────────────────────────────────────────────────────────────────────
[ MOBSTER fit ]
✔ Loaded input data, n = 86.
❯ n = 86. Mixture with k = 1,2,3 Beta(s). Pareto tail: TRUE and FALSE. Output clusters with π > 0.02 and n >
10.
❯ Custom fit by Moments-matching in up to 300 steps, with ε = 1e-09 and random initialisation.
❯ Scoring (without parallel) 6 x 3 x 2 = 36 models by reICL.
[easypar] 25/36 computations returned errors and will be removed.
ℹ MOBSTER fits completed in 20.6s.
── [ MOBSTER ] My MOBSTER model n = 86 with k = 0 Beta(s) and a tail ─────────────────────────────────────────
● Clusters: π = 100% [Tail], with π > 0.
● Tail [n = 86, 100%] with alpha = 1.3.
✖ No Beta fit.
ℹ Score(s): NLL = -248.68; ICL = -483.99 (-483.99), H = 0 (0). Fit converged by MM in 2 steps.
ℹ Using the location likelihood heuristic to inspect mutations' distribution
✖ Location Likelihood: all clusters fail the test, returning the first one.
ℹ Without CNA, TINC will estimate tumour purity as 2*x, with x the clonal peak.
✔ MOBSTER found n = 0 clonal mutations from cluster NA
── Analysing normal sample with BMix ─────────────────────────────────────────────────────────────────────────
Error in analyse_BMix(x = as_normal(x) %>% dplyr::filter(OK_clonal), cna_map = cna_map, :
There are no tumour clonal mutations in the normal sample, there is no contamination?
Running TINC (
TINC_0.1.0
) on a sample gives the following error uponautofit
with a strelka2-vcf:(Please find the vcf attached - note that it is anonymised)
load_VCF_Strelka
instead of manuallyWarnings:
sessionInfo:
dummy_data.tsv.txt
The text was updated successfully, but these errors were encountered: