SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting coverage bases batsal Bioinformatics 0 02-17-2012 10:46 AM
counting junction reads muzz56 Bioinformatics 2 02-12-2012 05:36 AM
counting junction reads in TopHat schaffer Bioinformatics 3 10-21-2011 01:05 AM
Counting Reads in SAM Format foolishbrat General 2 06-08-2011 12:38 PM
Counting reads that jump over a position DerSeb Bioinformatics 0 01-17-2011 06:05 AM

Reply
 
Thread Tools
Old 09-28-2011, 02:55 AM   #1
smol
Junior Member
 
Location: Ascot

Join Date: Oct 2010
Posts: 3
Default Counting reads (not coverage...)

Hi
Hopefully someone knows of some software or a script that will save me having to write one….

I want to put together some summary stats for my RAD sequence data (70bp Illumina single reads with a restriction site at one end). The reads are spread throughout the genome depending on the presence of the restriction site, and stack up directly on one another rather than forming contigs. I want to get a count of the number of reads for each particular sequence, so that I can get a frequency distribution of read coverage. I’ve tried using GATK DepthofCoverage walker, but this gives coverage per base relative to the reference, so it gives the sum of two sequence’s coverage where the sequences overlap.

My data is in SAM format, but I can’t simply do a count on chromosome position because the reverse strand sequences are 70bp away from the forward sequences.

Any ideas?

Thanks
Sam
smol is offline   Reply With Quote
Old 09-28-2011, 08:55 AM   #2
kmcarr
Senior Member
 
Location: USA, Midwest

Join Date: May 2008
Posts: 1,150
Default

Have you looked at this software - Stacks. I came across it a while back when I was investigating RAD sequencing for a researcher. The project never happened so I never used the software hence I can't say for sure if it will do what you need but it's worth a look.
kmcarr is offline   Reply With Quote
Old 09-29-2011, 02:49 AM   #3
smol
Junior Member
 
Location: Ascot

Join Date: Oct 2010
Posts: 3
Default

Thanks kmcarr, Stacks is a great software, but it would mean repeating my analysis from scratch...

Anyway, I have realised that I was wrong about the coordinates in my SAM file - they are all given from the same position, so I can count the reads from the SAM file.

Problem solved!
smol is offline   Reply With Quote
Old 09-29-2011, 04:46 AM   #4
kmcarr
Senior Member
 
Location: USA, Midwest

Join Date: May 2008
Posts: 1,150
Default

Quote:
Originally Posted by smol View Post
... but it would mean repeating my analysis from scratch...
That's why it's called research, not just search!

Glad you worked it out.
kmcarr is offline   Reply With Quote
Old 08-24-2016, 05:11 AM   #5
Ekeberg
Junior Member
 
Location: Colombia

Join Date: Feb 2013
Posts: 2
Default

Hi Smol, hope you can check this mail soon))
I want to do exactly the same, tutorials like the ones for ggplot don't help me so much. Can you please let me know how you constructed your graphic.
I appreciate your advice, tks!
Ekeberg is offline   Reply With Quote
Reply

Tags
depth of coverage, rad sequencing, read count

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 01:40 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO