Hi,
I encountered an error while using ChIPQC. It reported an error after calculation shift for chrM. I pasted the error message below. It looks like happened on chrM, so i change the parameter chromosomes to exclude chrM, and the ChIPQC program run successfully.
But i still curious why the error happened on chrM. Would someone can give me an answer?
Thank you!
The error message:
Calculating shift for chrM
33 / 300
65 / 300
97 / 300
126 / 300
155 / 300
184 / 300
213 / 300
243 / 300
272 / 300
300 / 300
Error in names(res) <- nms :
'names' attribute [18] must be the same length as the vector [1]
Calls: ChIPQC -> bplapply -> bplapply -> bplapply -> bplapply

Hello
I get this same error at the start of my run. Was there a solution to this? My sessionInfo is attached below but also I get a message when I load the library, not sure if this has anything to do with it:
No methods found in "RSQLite" for requests: dbGetQueryBam file has 93 contigshi,
The original error looks to do with the way ChIPQC calculates cross coverage. The ChrM may cause some problems here because it is circular.
I believe there is a way to check for circular chromosomes so I will look to remove any circular chromosomes while providing a warning for the user.
For now the solution is to remove the mitochondrial chromosome.
I usually provide ChIPQC with a vector of the main chromosomes omitting ChrM and the contigs which haven't been fully assembled into main chromosomes.
Something like
> chromosomesToTest <- c(paste0("chr",c(1:22,"X","Y")))> chromosomesToTest
[1] "chr1" "chr2" "chr3" "chr4" "chr5" "chr6" "chr7" "chr8" "chr9" "chr10" "chr11" "chr12"
[13] "chr13" "chr14" "chr15" "chr16" "chr17" "chr18" "chr19" "chr20" "chr21" "chr22" "chrX" "chrY"
> my_experiment = ChIPQC(experiment="CellLine_Experiment_Sheet.csv", annotation="hg19",chromosomes=chromosomesToTest)
I will look to update ChIPQC to remove the ChrM internally in the next version.
best,
tom