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

uniting objects with "base" resolution and strand "*" breaks when requesting destranding #271

Open
alexg9010 opened this issue Oct 23, 2022 · 1 comment
Labels

Comments

@alexg9010
Copy link
Collaborator

library(methylKit)
data(methylKit)

mdb <- makeMethylDB(methylRawList.obj)     

# works for "base" -resolution
unite(mdb,destrand=TRUE)
mdb # is fine

# breaks for "region" -resolution
mdbt <- tileMethylCounts(mdb) 
mdbt <- methylRawListDB(lapply(mdbt, function(x) {x@resolution <- "base"; x}),treatment = getTreatment(mdb))
# works
unite(mdbt)    

unite(mdbt,destrand=TRUE)    
> destranding...
> Error in getTabixByChunk(tbxFile, chunk.size = nrow, return.type) : 
>  the tabix file seems to be empty. stopping here.
@alexg9010
Copy link
Collaborator Author

related to #282

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

No branches or pull requests

1 participant