Error while running SomaticSignatures
3
0
Entering edit mode
@poojithaojamies-11116
Last seen 8.4 years ago

Hi,

I am trying to run soamtic signature on a test data and enountered the following issue. Can someone explain what this problem is and how to fix it? Thanks!

 

> sca_motifs = mutationContext(vr_new, BSgenome.Hsapiens.1000genomes.hs37d5)
Error in .getOneSeqFromBSgenomeMultipleSequences(x, name, start, NA, width,  :
  sequence chr1 not found
In addition: Warning message:
In .Seqinfo.mergexy(x, y) :
  The 2 combined objects have no sequence levels in common. (Use
  suppressWarnings() to suppress this warning.)

somaticsignatures • 4.0k views
ADD COMMENT
1
Entering edit mode

What does

seqlevelsStyle(vr_new) 

report? Presumably something different to

seqlevelsStyle(BSgenome.Hsapiens.1000genomes.hs37d5)

?

ADD REPLY
2
Entering edit mode
Andy Lynch ▴ 120
@andy-lynch-6934
Last seen 9 months ago
United Kingdom

I think that 

seqlevelsStyle(vr_new)<-"NCBI" 

should allow you to use your first choice of reference genome.

Best wishes,

Andy

ADD COMMENT
0
Entering edit mode
@poojithaojamies-11116
Last seen 8.4 years ago

Ah, you are right! They are two different builds. Should I use my own FA reference files or is there a better fix for this?

> seqlevelsStyle(vr_new)
[1] "UCSC"
> seqlevelsStyle(BSgenome.Hsapiens.1000genomes.hs37d5)
[1] "NCBI"    "Ensembl"

ADD COMMENT
0
Entering edit mode
@poojithaojamies-11116
Last seen 8.4 years ago

Fixed! I used BSgenome.Hsapiens.UCSC.hg19 insead and it works :)

Thanks for the pointer!

 

ADD COMMENT

Login before adding your answer.

Traffic: 430 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