Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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

  • #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


    • #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


      • #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


        • #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

          • seqadmin
            Best Practices for Single-Cell Sequencing Analysis
            by seqadmin



            While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
            Today, 07:15 AM
          • seqadmin
            Latest Developments in Precision Medicine
            by seqadmin



            Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

            Somatic Genomics
            “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
            05-24-2024, 01:16 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Today, 08:18 AM
          0 responses
          8 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Today, 08:04 AM
          0 responses
          10 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 06-03-2024, 06:55 AM
          0 responses
          13 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-30-2024, 03:16 PM
          0 responses
          27 views
          0 likes
          Last Post seqadmin  
          Working...
          X