PoisonAlien/maftools

Error:long vectors not supported yet: memory.c:3940

Opened this issue · 1 comments

Hi,
While running this
laml.tnm = trinucleotideMatrix(maf = combined_maf, prefix = 'chr', add = TRUE, ref_genome = "BSgenome.Hsapiens.UCSC.hg18")
, I got a mistake, like

Warning in trinucleotideMatrix(maf = combined_maf, prefix = "chr", add = TRUE,  :
  Chromosome names in MAF must match chromosome names in reference genome.
Ignorinig 4253421 single nucleotide variants from missing chromosomes chr23, chr25, chr26
-Extracting 5' and 3' adjacent bases
-Extracting +/- 20bp around mutated bases for background C>T estimation
Error in .Call2("XStringSet_letter_frequency", x, collapse, codes, baseOnly,  : 
  long vectors not supported yet: memory.c:3940

Do you have any suggestion how to solve it?
Thanks

Hi,

I'm sorry for not getting back to you sooner. Chromosome names in your MAF appear to have the chr prefix already. You do not need to use the prefix argument.