about bamToBed and the reads that align to multiple genome coordinates
0
0
Entering edit mode
4.2 years ago
Bogdan ★ 1.4k

Dear all,

I'd like to ask you for your suggestion on the following :

when we use samtools view and bamtoBed in BEDTOOLS

samtools view "${FILE}.SAM" -Sb | bamToBed -i stdin > "${FILE}.bed"

how does BEDTOOLS bamToBed handle the reads that start at the same position, or the reads are duplicate/multiplicate ?

thank you !

-- bogdan

bedtools • 976 views
ADD COMMENT
1
Entering edit mode

It simply prints what is written in the BAM file from what I understand. Multimappers are typically represented by a random location (chosen from all possible locations), so this location would be printed to BED.

ADD REPLY
0
Entering edit mode

thank you, I will check in the SAM file that number of the ALIGNED READS ..

ADD REPLY

Login before adding your answer.

Traffic: 2698 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