read count

308 views
Skip to first unread message

cmccabe

unread,
Jul 23, 2012, 10:18:12 PM7/23/12
to igv-...@googlegroups.com
Using samtools view <BAM> chr:532155-532310 I get 2410 reads and in IGV I get many more reads.  Is there:
 
1. a way to export the total reads of a region in IGV
2. why is the read count less using samtools
3. Is IGV looking at the data in a different way
 
I am rather new to next gen data so I am trying to understand.  Thank you. 

Jim Robinson

unread,
Jul 24, 2012, 7:58:40 PM7/24/12
to igv-...@googlegroups.com
Hi,

You can't export from IGV at the current time, but you can run "igvtools" from the command line to do a count over a region.   For the output file use a ".wig" extension to get a text wig file, rather than the default binary tdf file.  See the igvtools documentation for more details.

I can't really say what samtools is doing.  IGV is just counting how many reads overlap each locus,  really as raw and basic a count as you can do.

Jim
Reply all
Reply to author
Forward
0 new messages