Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Bowtie2 - Finding reads with multiple mapping positions

    Hi, I have a question dealing with PE RNAseq data (100x2) from Illumina.

    It is my understanding that Bowtie2 checks a read for possible alignments across the reference genome, and reports the best alignment, discarding the rest. However, I am interested in finding just the reads that align to exactly 2 places, and determining where both locations are on the reference. I want to be able to extract this information from the BAM file if possible. I first tried setting the -k parameter to 5, and then looking for reads that could only find two alignments, but am not sure where in the BAM to find this information.

    Does anyone have experience looking for such reads in a SAM/BAM file?
    Thanks!

  • #2
    Hi, I think you should also consider the flag column (the second column) in the bam file. It should include the 0x0002 flag (properly paired aligned to the reference).
    And I would suggest you considering the mapping quality instead of the uniqueness that you mentioned here. Higher mapping quality means more uniqueness.

    Comment


    • #3
      @qiongyi, thanks a lot for the suggestions.

      I eventually solved this problem by having my Bowtie2 .SAM output sorted by read ID. This way the reads are in the order:

      ID=abc123/1
      ID=abc123/1
      ID=abc123/2
      ID=abc123/2

      If I set Bowtie2 -k =3, it will report up to 3 alignments for each read. If there are exactly two alignments reported for abc123/1 and two alignments for abc123/2, I know the read has exactly two matches in the ref.

      Thanks!

      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...
        06-06-2024, 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, Yesterday, 02:20 PM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-07-2024, 06:58 AM
      0 responses
      181 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-06-2024, 08:18 AM
      0 responses
      228 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-06-2024, 08:04 AM
      0 responses
      185 views
      0 likes
      Last Post seqadmin  
      Working...
      X