Closed hyjforesight closed 2 years ago
Hi,
Thanks for using GenomicScores, the error doesn't give me enough information to figure out where the problem might be, which seems to be at the interaction between GenomicScores and ATACseqQC, the only thing I can try is to get the GScores
object and this seems to work fine:
library(GenomicScores)
phast <- getGScores("phastCons60way.UCSC.mm10")
phast
GScores object
# organism: Mus musculus (UCSC, mm10)
# provider: UCSC
# provider version: 17Apr2014
# download date: May 24, 2017
# loaded sequences: default
# maximum abs. error: 0.05
# use 'citation()' to cite these data in publications
I've just seen that in the issue you refer for the ATACseqQC package, the maintainer has pushed a few hours ago a patch for ATACseqQC. Please let me know if this patch works for you, otherwise, if the problem would be really with the GScores
object, I would need a minimal reproducible example that triggers the error.
hello @rcastelo Thanks for the response. The author of ATACseqQC has pushed a patch for this issue. But the function should be rerun to check whether it is solved. And it takes a too long time, which calls random forest behind. I just gave it up. Whenever I have a chance to rerun, i will let you know. Thanks! Best, YJ
Hello GenomicScores, Thanks for developing this amazing package!
I'm using ATACseqQC package (https://github.com/jianhong/ATACseqQC) for analyzing ATAC-seq. ATACseqQC needs the GenomicScores to split the bam file by this function
splitGAlignmentsByCut(obj=gal1, txs=txs, genome=genome, conservation=mm10_gscore)
For human, because we can directly call
conservation=phastCons100way.UCSC.hg19
like below, thesplitGAlignmentsByCut()
works well.However, there is no
phastCons60way.UCSC.mm10
, so I callmm10_gscore <- getGScores("phastCons60way.UCSC.mm10")
first following your answer at bioconductor (https://support.bioconductor.org/p/96226/), but thismm10_gscore
is invalid forsplitGAlignmentsByCut()
, generatingError: subscript contains invalid names
. For details, please check https://github.com/jianhong/ATACseqQC/issues/48.It will be great if you could share some ways to call
phastCons60way.UCSC.mm10
the same as callingphastCons100way.UCSC.hg19
. We appreciate it! Thanks! Best, YJ