Closed hyjforesight closed 2 years ago
Hi @jianhong
The problem was solved by deleting conservation=mm10_gscore
in objs <- splitGAlignmentsByCut(obj=gal1, txs=txs, genome=genome, conservation=mm10_gscore, outPath="D:/HYJ/splited_Cracd_KO1/")
. The invalid names comes from mm10_gscore
.
I found you answered a similar question at https://support.bioconductor.org/p/96226/.
For human, we can do below coding because there is phastCons100way.UCSC.hg19
and it works well
objs <- splitGAlignmentsByCut(obj=gal1, txs=txs, genome=genome, conservation=phastCons100way.UCSC.hg19, outPath="D:/HYJ/splited_Cracd_KO1/")
but for mice, there is no phastCons60way.UCSC.mm10
, so I call mm10_gscore <- getGScores("phastCons60way.UCSC.mm10")
first, but this mm10_gscore
is invalid for splitGAlignmentsByCut()
.
It will be great if you could share some opinions on why this argument is invalid. We appreciate it!
Thanks!
Best,
YJ
Thank you for reporting this. I will fix this issue soon.
I pushed a patch for this issue. Please try to install the development version by:
BiocManager::install("jianhong/ATACseqQC")
and then try it again.
hello @jianhong
Thanks for pushing this patch. I'm running again now, but the splitGAlignmentsByCut()
is so low when conservation=mm10_gscore
is added. It's already 12h, but the split bams haven't been generated yet. Is there any way to speed up this process?
In background, it is running randomForest to assign the fragment. It will be very resources consuming. I think you can skip conservation score if you are not interested in nucleosome position.
Thanks @jianhong . Sorry, I give it up for running this, so I don't know whether the bug is fixed. If there's any chance I will run the nucleosome positioning, I'll let you know.
The problem still exists when I try is it because my R is 4.1.2? objs <- splitGAlignmentsByCut(gal1, txs=txs, genome=genome, outPath = outPath, conservation=phastCons100way.UCSC.hg38)
Please remove the conservation score in current run and just use the fragment size to split the fragment. Looks like the resources issue is still there.
Hello ATACseqQC, I'm now running ATACseqQC on mouse data. All steps work fine until
splitGAlignmentsByCut()
, i got errorError: subscript contains invalid names
. I check several times but find no spelling errors for the arguments ofsplitGAlignmentsByCut()
. By the way, these codes work fine for running the official tutorial. Could you please help me to solve this error? Thanks! Best, YJ