Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Irina Pulyakhina
    Member
    • Sep 2010
    • 24

    samtools idxstats

    Dear all,

    With this command:

    samtools idxstats aln.sorted.bam

    You get a TAB delimited output where each line consists of ref.seq. name, ref.seq. length, number of mapped reads and number of unmapped reads. But the last line of this output is smth like this:

    * 0 0 29000000

    What does it mean? Does it mean that number of mapped reads in total (to any ref.seq.) is 29000000?

    Thanks in advance,
    Irina
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #2
    The last line is unmapped reads (which are stored in SAM with a reference name of * if that helps to remember this).

    Comment

    • Irina Pulyakhina
      Member
      • Sep 2010
      • 24

      #3
      Thank you! Do you know whether I can get total number of mapped reads anyhow with samtools?

      Comment

      • av_d
        Member
        • Sep 2009
        • 12

        #4
        try samtools flagstat

        Comment

        • maubp
          Peter (Biopython etc)
          • Jul 2009
          • 1544

          #5
          Originally posted by Irina Pulyakhina View Post
          Thank you! Do you know whether I can get total number of mapped reads anyhow with samtools?
          Try my answer in this thread,
          Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

          Comment

          Latest Articles

          Collapse

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Today, 11:58 AM
          0 responses
          9 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-05-2026, 10:09 AM
          0 responses
          25 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-04-2026, 08:59 AM
          0 responses
          34 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-02-2026, 12:03 PM
          0 responses
          56 views
          0 reactions
          Last Post SEQadmin2  
          Working...