Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NGS_New_User
    Member
    • Sep 2012
    • 41

    #1

    Basic statistics from alignment using bwa

    Hi everyone,

    I have a couple of questions that I am sure most of you are already good at. I searched the forum but haven't seen similar questions, but if anyone can lead me to a similar solved thread with the same issue, I will be grateful.

    My first question stems from this: I downloaded the reference hg19 and concatenated the chr*.fa files. Do I need to concatenate only chr1-22, chr X,Y,M then ignore the chrUn_gl*.fa and chr*_random.fa? Or should I concatenate all the chr files regardless.
    I read somewhere that when concatenating the files should be arranged in order. Is that necessary, and if so how does one arrange the unknown and random chr files in order?

    My other question is, I am trying to retrieve some basic statistics from my alignment that I did using bwa. I need to get basic stats eg number of reads mapped, average coverage etc

    Which tools should I use to get such statistical info?

    I am a newbie in this area and I am not sure I am doing this right. I used samtools flagstat and I got this:

    308846 + 0 in total (QC-passed reads + QC-failed reads)
    0 + 0 duplicates
    270177 + 0 mapped (87.48%:nan%)
    0 + 0 paired in sequencing
    0 + 0 read1
    0 + 0 read2
    0 + 0 properly paired (nan%:nan%)
    0 + 0 with itself and mate mapped
    0 + 0 singletons (nan%:nan%)
    0 + 0 with mate mapped to a different chr
    0 + 0 with mate mapped to a different chr (mapQ>=5)
  • bioinf newbie
    Member
    • Feb 2012
    • 13

    #2
    Hi
    1. If you are going with a standard tool like GATK they have specifications and a resource bundle: http://gatkforums.broadinstitute.org...lic-ftp-server from where you can download the reference genome.
    2. to get basic stats-- i suggest samtools flagstat, idxstats. You can also check Picard tools and GATK .
    3. yes, to know more about what flagstat output means, you can refer: http://samtools.sourceforge.net/SAM1.pdf

    Comment

    Latest Articles

    Collapse

    • kinpict.com
      Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by kinpict.com
      The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
      Today, 06:37 PM
    • SEQadmin2
      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by SEQadmin2





      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
      10-30-2026, 06:46 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 11-12-2026, 07:59 AM
    0 responses
    27 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-05-2026, 09:25 AM
    0 responses
    35 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-03-2026, 11:54 AM
    2 responses
    56 views
    0 reactions
    Last Post kinpict.com  
    Started by SEQadmin2, 10-28-2026, 09:57 AM
    0 responses
    175 views
    0 reactions
    Last Post SEQadmin2  
    Working...