Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • efoss
    Member
    • Jul 2011
    • 98

    #1

    unmapped reads assigned to chromosomes

    If I use samtools' "idxstats" commands, it returns information with:

    1. reference sequence name (chromosome name in my case)

    2. length of reference sequence

    3. number of mapped reads assigned to that reference sequence

    4. number of unmapped reads assigned to that reference sequence

    Number 4 makes no sense to me. If a read is unmapped then by definition you can't assign it to a genomic location. If I remove everything with map quality less than 1, most of these go away but not all of them, i.e. I still end up with unmapped reads assigned to chromosomes. Does anyone understand this?

    Thank you.

    Eric
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    Come on. If you aren't going to read the SAM format specs before you ask a question about the SAM format, at least search the message board before asking a question. I think I've answered this question three times this week alone.

    Comment

    • efoss
      Member
      • Jul 2011
      • 98

      #3
      Originally posted by swbarnes2 View Post
      Come on. If you aren't going to read the SAM format specs before you ask a question about the SAM format, at least search the message board before asking a question. I think I've answered this question three times this week alone.
      Sorry. I had searched the message board unsuccessfully, but yes - it was stupid not to look at the sam documentation more closely:

      4.1 For a unmapped paired-end or mate-pair read whose mate is mapped, the unmapped read should have RNAME and POS identical to its mate.

      Eric

      Comment

      • swbarnes2
        Senior Member
        • May 2008
        • 910

        #4
        Yup. The other possibility is if you use bwa for alignments. bwa concatenates all the reference sequences together, so if a read hangs off of one reference onto another, it will be given the right chromosome and position, but the 4 flag will also be put in, as a sign that something is not quite right. I'm not sure if other aligners, like bowtie, will do that.

        Comment

        • efoss
          Member
          • Jul 2011
          • 98

          #5
          Originally posted by swbarnes2 View Post
          Yup. The other possibility is if you use bwa for alignments. bwa concatenates all the reference sequences together, so if a read hangs off of one reference onto another, it will be given the right chromosome and position, but the 4 flag will also be put in, as a sign that something is not quite right. I'm not sure if other aligners, like bowtie, will do that.
          Thanks very much. That's good to know, since I am aligning with bwa.

          Eric

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-22-2026, 11:13 AM
          0 responses
          55 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          40 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          46 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          46 views
          0 reactions
          Last Post SEQadmin2  
          Working...