ChIA-PET2 ERROR: The input file is neither a BAM file nor a SAM file.
0
0
Entering edit mode
3.9 years ago
bioinfo89 ▴ 60

Hi All,

I am using ChIA-PET2 tool to process the data. I am subsampling reads (0.1 to 0.9) using seqtk and running the ChIA-PET pipeline and I get the following error:

ERROR: The input file is neither a BAM file nor a SAM file.

I checked the sam files they appear to be fine (using Picard ValidateSamFile). I am not sure what exactly is causing this error in the pipeline. It was running fine before. Any help would be great to resolve this.

Thanks!

Chiapet • 971 views
ADD COMMENT
0
Entering edit mode

Please show us the exact commands you're using.

ADD REPLY
0
Entering edit mode
 seqtk sample -s100 SRR_1.fastq 0.1 >R1_1_sub0.1.fastq
 seqtk sample -s100 SRR_2.fastq 0.1 >R2_2_sub0.1.fastq

 ####Running ChIA-PET2 :

ChIA-PET2-0.9.3/bin/ChIA-PET2 -t 10 -g hg19.fa -b hg19.chrom.sizes -f R1_1_sub0.1.fastq.gz -r R2_2_sub0.1.fastq.gz -m 1 -A CGCGATATCTTATCTGACT -B GTCAGATAAGATATCGCGT -e 2 -k 2 -l 12 -C 1 -o 0.1 -n ChIAPETV2_0.1
ADD REPLY
0
Entering edit mode

seqtk output is .fastq, you feed .fastq.gz into the tool, is that true, did you compress them? Maybe a wrong suffix here?

ADD REPLY
0
Entering edit mode

Yes I did compress it. But the output works fine.

ADD REPLY

Login before adding your answer.

Traffic: 1598 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6