Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Enable pairing in a bam file separately aligned by lanes

    Hi all,
    I aligned paired end exome seq R1 and R2 fastq files separately as single end reads. Then I combined two resultant bam files using samtools cat and then sorted them by sequence.

    However, this would obviously not enable pairing / not change the flags for paired reads.

    Any suggestions how to enable pairing of the reads in the file ?

  • #2
    Aligning sequences in pairs provides spatial context to aligners (not sure which one you used). Just do the alignment again this time using both reads. You can then merge the resulting bam files if the same sample ran in more than one lane.

    Comment


    • #3
      I used bowtie2
      I have two separate bam files. If i understand your suggestion correctly, i align those files (converting them to fastq) and run the paired reads alignment. right ?

      Comment


      • #4
        Ignore your aligned bam files, and start over with the original fastq files. Align them together at the same time, telling the aligner to use them as R1 and R2 of pairs. That will generate a single paired sam/bam output file that you should subsequently use.

        Comment


        • #5
          That is for sure a normal practice. I am wondering why sometimes single read alignment yields better alignment rate compared to paired end alignment ?

          Comment


          • #6
            I've never seen that happen, and there is no reason it should happen. If it does, it probably indicates a problem with the alignment program.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin




              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
              04-22-2024, 07:01 AM
            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Today, 08:47 AM
            0 responses
            12 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            59 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            54 views
            0 likes
            Last Post seqadmin  
            Working...
            X