shengqh / ChIPQC

7 stars 5 forks source link

Error in ChIPQC(samples) : Unable to process. Each bam file must be associated with at most one peakset. #7

Open bioinfo89 opened 3 years ago

bioinfo89 commented 3 years ago

Hi,

I get this error when I run the ChIPQC package on my data (single sample). The commands are mentioned below:

## Load sample data
samples <- read.csv('meta/samplesheet.csv')
View(samples)

## Create ChIPQC object
chipObj <- ChIPQC(samples, annotation="hg19")

The samplesheet.csv:

SampleID,Tissue,Factor,Replicate,bamReads,Peaks
SRR,PCa,AR,1,data/bams/SRR.sambamba.sorted.uniquemapped.bam,data/peakcalls/LNCaP_AR_macs2_peaks.narrowPeak

I am not sure what exactly am I doing wrong.

Any help will be much appreciated. Thanks!

shangxiaqiu commented 2 years ago

hi, I am facing the same problem, have you solved this problem? If you have solved it,could you tell me how to solve it, thank you!

shengqh commented 2 years ago

If you can share bam file, narrowPeak file and the samplesheet file, I can have a look.

JungnamChoLab commented 2 years ago

You add another sample information, it will be work