Distribution of multi mapped reads
0
0
Entering edit mode
4.4 years ago
biogrin ▴ 20

Hi all, Can anyone please help me figure out how can I discover the number of times multi-mapped reads align more often? And with those results, how can I make a histogram with the distribution of multi-mapped reads? Thanks a lot

bam RNA-Seq alignment samtools • 907 views
ADD COMMENT
1
Entering edit mode

Hello, you can try something like this :

samtools view -F 4 file.bam | awk '{printf $1"\n"}' | sort | uniq -cd

Get the reads mapped, take the read names, sort them, find and count the non unique ones. I let you try to plot your own histogram with these infos.

took it from here

ADD REPLY

Login before adding your answer.

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