-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi David,
I'm trying out the inversion-aware phasing you describe here, which I believe requires using the GitHub master branch of BreakpointR rather than the Bioconductor version. When I use the Bioconductor version, StrandPhaseR gives an error which I won't go into here.
Using the current GitHub version of BreakpointR, I run these commands:
breakpointr(inputfolder="./", outputfolder="./BPR_output_new", numCPU=18, chromosomes=c("chr1","chr7","chr8","chr16"), windowsize=1000000, binMethod="size", pairedEndReads=TRUE)
test <- breakpointR::synchronizeReadDir(list.files("BPR_output_new/data/", full.names=TRUE))
This is gives me the following error:
Error in validObject(ans) : invalid class "GRanges" object: 'seqlevels(seqinfo(x))' and 'levels(seqnames(x))' are not identical
The origin of this error is this line:
WWandCC.regions.grl <- S4Vectors::endoapply(test, function(x) removeDoubleSCEs(x, collapseWidth = 5000000))
Is there a way to use these tools that avoids this error? Thanks