raerose01 / deconstructSigs

deconstructSigs
138 stars 47 forks source link

object 'BSgenome.Hsapiens.UCSC.hg38' not found #79

Closed dalalsult closed 4 months ago

dalalsult commented 4 months ago

Hi, I'm faced with the following issue after running deconstructSigs::mut.to.sigs.input():

Error in .Call2("C_solve_user_SEW", refwidths, start, end, width, translate.negative.coord, : solving row 3055: 'allow.nonnarrowing' is FALSE and the supplied start (81914374) is > refwidth + 1

I tried adding bsg = BSgenome.Hsapiens.UCSC.hg38: deconstructSigs::mut.to.sigs.input(b,sample.id="sample.id",chr="chr", pos="pos",ref="ref",alt="alt", bsg = BSgenome.Hsapiens.UCSC.hg38)

but faced with the following error: Error: object 'BSgenome.Hsapiens.UCSC.hg38' not found

Could I please get some help with this, what am I doing wrong? Thanks in advance.