I am trying to run a Bioconductor package GOTHiC to detect significant interactions between distant loci.
The command is
paired = pairReads(fileName1, fileName2, sampleName="test",DUPLICATETHRESHOLD = 1, fileType="BAM")
I get the following error
Error in FUN(X[[i]], ...) : subscript out of bounds
When I do traceback, I get
5: lapply(X = X, FUN = FUN, ...)
4: sapply(strsplit(id1, "\\-"), "[[", 2)
3: sapply(strsplit(id1, "\\-"), "[[", 2)
2: .onlyPairing(fileName1, fileName2, sampleName, fileType)
1: pairReads(fileName1, fileName2, sampleName = "test", DUPLICATETHRESHOLD = 1,
fileType = "BAM")
Any suggestions?