Hi Alex,
I have tried not saving as tabix file with a single sequence and get a new error:
Uncompressing file.
Reading file.
*** caught segfault ***
address (nil), cause 'unknown'
*** recursive gc invocation [this line repeated many times]
Traceback:
1: data.table::fread(file = filepath, ...)
2: fread.gzipped(tbxFile, nrow = nrow, stringsAsFactors = FALSE, data.table = returnDt, skip = length(Rsamtools::headerTabix(tbxFile)$header))
3: headTabix(x@dbpath, nrow = max(i), return.type = "data.frame")
4: select(x, i)
5: select(x, i)
6: .local(x, i, j, ...)
7: object[]
8: object[]
9: regionCounts(chh_db_62, dum_genes_granges, save.db = "FALSE")
10: regionCounts(chh_db_62, dum_genes_granges, save.db = "FALSE")
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:
Same error with a couple of different sequences.
I do not think it can be that the samples do not overlap with the regions of interest at all as I don't see why all 10 of the CpG sequences overlap but none of the CHH sequences do?
Cheers,
David