arq5x / bedtools

A powerful toolset for genome arithmetic.
http://code.google.com/p/bedtools/
GNU General Public License v2.0
139 stars 86 forks source link

intersect bam files error #122

Open parvathisudha opened 7 years ago

parvathisudha commented 7 years ago

I was trying to intersect bam file with a bed file and output a bam file. Bedtools version: v2.17.0 But getting an error,
" terminate called after throwing an instance of 'std::runtime_error' what(): BgzfStream::Write() - trying to write to non-writable IO device /users/.lsbatch/1505240134.812423.shell: line 8: 16255 Aborted
(core dumped) bedtools intersect -v -abam ATAC1.bam -b remove.bed > ATAC1_filter.bam"

Please help.