Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Number of Mapped reads

    Hi all,

    I want to count the total number of mapped reads onto the reference genome.
    I have .sai and .sam files. Which of these files can be used to do so?
    I have low computing power, thus currently using only bwa and samtools. Please suggest me some tool to count number of mapped/unmapped reads after I align all the reads to reference genome.

    Best,

  • #2
    Hello ninad,

    A quick way to do this is to first convert your sam file to a bam file. You can do this using samtools (check their documentation).

    After that you can use the following command to see how many of your total reads mapped to the reference:

    samtools flagstat bam_file

    Hope this helps.

    Praful

    Comment


    • #3
      Hi ninad,

      to check the no. of mapped reads, you first sort your bam file,followed by index using samtools index

      then you can use.

      samtools flagstat

      &
      samtools idxstats on your sortedbam file.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        New Genomics Tools and Methods Shared at AGBT 2025
        by seqadmin


        This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

        The Headliner
        The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
        03-03-2025, 01:39 PM
      • seqadmin
        Investigating the Gut Microbiome Through Diet and Spatial Biology
        by seqadmin




        The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
        02-24-2025, 06:31 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 03-03-2025, 01:15 PM
      0 responses
      177 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 02-28-2025, 12:58 PM
      0 responses
      267 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 02-24-2025, 02:48 PM
      0 responses
      652 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 02-21-2025, 02:46 PM
      0 responses
      267 views
      0 likes
      Last Post seqadmin  
      Working...
      X