--
You received this message because you are subscribed to the Google Groups "bedtools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bedtools-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes I did try the workaround.bedtools bamtobed -i sample_sorted.bam > samplebam.bed
sort -k1,1 -k2,2n samplebam.bed > samplebam_sorted.bed
sort -k1,1 -k2,2n interval.bed > interval_sorted.bed
intersectBed -a samplebam_sorted.bed -b interval_sorted.bed -sorted -wa -f 1 > intersect.txt
However, intersect.txt reported three times more reads than intersect with bam and interval.bed directly without the sorted mode... Please help...
I am using v2.26.0.
Qingqing
To unsubscribe from this group and stop receiving emails from it, send an email to bedtools-discuss+unsubscribe...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "bedtools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bedtools-discuss+unsubscribe@googlegroups.com.
Hi there!
I’m about to write about something like this soon. I have observed something like this before. I have gotten some unexpected results when using some BAM files (i.e., less results). The workaround I used was to convert them to BED format, since I was interesting in counting overlaps.
Could you check the number of overlaps you get by converting the BAM files into BED files (with bedtools bamtobed)?
Which version of BEDtools are you using?
Best regards,
Braulio.
To unsubscribe from this group and stop receiving emails from it, send an email to bedtools-discuss+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "bedtools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bedtools-discu...@googlegroups.com.