Error in .Call2("C_solve_user_SEW", refwidths, start, end, width, translate.negative.coord
1
0
Entering edit mode
2.1 years 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!

maftools • 1.8k views
ADD COMMENT
0
Entering edit mode

Dear all, I encounter the exact same issue, did you manage to find a solution for this error? Thanks a lot!

ADD REPLY
0
Entering edit mode
5 months ago
garcesj ▴ 50

I had the same error running a similar tool. It came from using a different genome reference between the tool and the MAF: the error says the length of one of your chromosomes is bigger than the reference the tool is using.

ADD COMMENT

Login before adding your answer.

Traffic: 2393 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6