LTLA / csaw

Clone of the Bioconductor repository for the csaw package.

Home Page:https://bioconductor.org/packages/devel/bioc/html/csaw.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

correlateReads/extractSE error: position vector should be 1-based

plbaldoni opened this issue · comments

Hi,

I am getting the following error message under the new R version 3.6.0 when trying to run the correlateReads function from csaw 1.18.1:

> correlateReads(bamfile,param=readParam(discard=hg19.discard))
Error in .extractSE(bam.file, where = where, param = param) : 
  position vector should be 1-based

The function runs fine under the R version 3.5.2. Any solution for this?

Thank you very much,
Pedro Baldoni

I would guess that you have some elements in hg19.discard that are starting from zero.

Thanks Aaron, you're right.