Entering edit mode
19 months ago
alwayshope
▴
40
Dear guys,
Any solutions for the error when trying to construct the trinucleotideMatrix?
test_maf.tnm = trinucleotideMatrix(maf = test_maf, ref_genome = "BSgenome.Hsapiens.UCSC.hg38" ) ## some site/region cause the error
-Extracting 5' and 3' adjacent bases
-Extracting +/- 20bp around mutated bases for background C>T estimation
Error in .Call2("C_solve_user_SEW", refwidths, start, end, width, translate.negative.coord, :
solving row 999368: 'allow.nonnarrowing' is FALSE and the supplied end (38055) is > refwidth
Though changing the C_solve_user_SEW
function to set the allow.nonnarrowing
to TRUE
by copying the whole IRanges-constructor.R
script, it does not affect, and still shows the allow.nonnarrowing
is FALSE
.
Thanks a lot for any guidance!