Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Olsennnnn opened this issue Sep 20, 2024 · 1 comment
Open

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

Olsennnnn opened this issue Sep 20, 2024 · 1 comment

Comments

@Olsennnnn
Copy link

Olsennnnn commented Sep 20, 2024

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

@PoisonAlien
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants