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 methylRawDB objects with regional resolution and setting destrand=TRUE deletes the original objects #270

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

Comments

@alexg9010
Copy link
Collaborator

on.exit(unlink(c(getDBPath(object),paste0(getDBPath(object),".tbi"))),add = TRUE)

@alexg9010
Copy link
Collaborator Author

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) 
# works
unite(mdbt)    

# deletes tabix files of mdbt
unite(mdbt,destrand=TRUE)    

mdbt # breaks !!

@alexg9010 alexg9010 changed the title uniting objects with regional resolution deletes the original objects uniting objects with regional resolution *and setting destrand=TRUE* deletes the original objects Oct 23, 2022
@alexg9010 alexg9010 changed the title uniting objects with regional resolution *and setting destrand=TRUE* deletes the original objects uniting objects with regional resolution and setting destrand=TRUE deletes the original objects Oct 23, 2022
@alexg9010 alexg9010 changed the title uniting objects with regional resolution and setting destrand=TRUE deletes the original objects uniting methylRawDB objects with regional resolution and setting destrand=TRUE deletes the original objects Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant