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"
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.