jianhong / ATACseqQC

ATAC-seq Quality Control

Home Page:https://jianhong.github.io/ATACseqQC/articles/ATACseqQC.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in TSSEscore calculation

pai-vlc opened this issue · comments

Thanks for developing this pipeline. I have run it successfully with the test file, but when I try with my ATAC-Seq data I am getting an error.

#Transcription Start Site (TSS) Enrichment Score
tsse <- TSSEscore(gal1, txs)
Error in rbind(...) :
number of columns of matrices must match (see arg 27)

My data are from mouse cells, so I change all the libraries to the mm10 build.

Do you know what could have gone wrong?

Thanks

Pepe

Thank you for reporting this. Could you please share me the minimal sample data to repeat your error?

Jianhong.

Do you mean the original bam file? It's 4.2 Gb. Is there a way to downsample it?

Or the shifted bam?

I will try. Right now I get this error with that code
samtools view -bh -o tmp.bam ori.bam chr19
Error: unexpected symbol in "samtools view"

I'm running this from Rstudio, if that makes a difference

OK. I did it in the command line, and generated a bam.out file. How can I send it to you? I tried dropping it here, but it tells me it does not support this type of files

the bam.out file is very small (8.5 Mb)

Interestingly, in the small subset bam file I made I do not get the error. I get the TSSEscore, no issues.
What could be the difference?

I can put the bam file and my r script in a shared dropbox folder. What's a good email for you?

actually, this is the link to the folder with those files.

https://www.dropbox.com/sh/96w90uvdbzcd05r/AAABWMKE8xVoAR6Y3c0_00_3a?dl=0

OK. Than you very much for taking the time to help with this.

The issue should be fixed in the development version. Please try to install the devel version by

BiocManager::install("jianhong/ATACseqQC")
# check the version number
packageVersion("ATACseqQC") ## should be 1.25.1

Let me know if there is any issue.

That has fixed the problem. Thanks again for your help!