-
Notifications
You must be signed in to change notification settings - Fork 38
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
getCounts error #90
Comments
I have a similar issue with getCounts with my own data and testing example(https://rdrr.io/bioc/chromVAR/man/getCounts.html). error message is the same(: I have no clue how to fix it and would appreciate very much if anyone help me fix it. Many thanks in advance! code used:` First we'll read in some peakspeaks_file <- system.file("extdata", "test_bed.txt", package = "chromVAR") With single bam with RG tags (can also give multiple bams with RG)test_rg <- system.file("extdata", "test_RG.bam", package = "chromVAR") error messageError in getCounts(test_rg, peaks = test_peaks, by_rg = TRUE, paired = TRUE, : session infoR version 4.1.0 (2021-05-18) Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Hi,
I am running into an error when using the getCounts function:
fragment_counts <- getCounts(singlecellbams, final_peaks, paired=TRUE, by_rg=FALSE, format = "bam", colData= data.frame(celltype = cellnames))
It seems to be an issue with the bam files rather than the peaks as I can get fragment_counts using the same peaks with a different set of bam files. Would you be able to shed some light on the issue?
Many thanks,
Julia
Error in validObject(.Object): invalid class “GRanges” object:
'x@strand' is not parallel to 'x'
Traceback:
. format = "bam", colData = data.frame(celltype = cellnames))
. width = 1), strand = "+")
. strand = strand, mcols = mcols, seqlengths = seqlengths,
. seqinfo = seqinfo)
. elementMetadata = mcols, seqinfo = seqinfo)
The text was updated successfully, but these errors were encountered: