Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Lane-SAM Files: Effect on @RG & Duplicates

    Hi

    I have one individual genome reads grouped into 17 lanes, each lane is divided into 10 fastq files. In other words, I have 17 folders each of them correspond to one lane and contain 10 fastq files, so I have in total 170 fastq files. I need to map each of the 170 fastq file to hg19 and merge all SAMs to one big SAM, but I am not sure if it is the right thing to do.

    1) For duplicates removal, should I merge the 10 SAMs that correspond to one lane, remove the duplicates from this merged SAM , do so for all lanes -merged-SAM (17 lane-merged-SAMs), and then merge them to one big ? OR should I remove duplicates after merging all SAMs (170 SAMs) to one big ? In other words, removing the duplicates is done for each lane alignment or it doesn't matter ?

    2) For @RG tag, and specifically the ID, is it going to be different for each of the 170 SAMs or should I give all SAMs that come from one lane (10 SAMs that are in one folder) the same ID ?

    3) After merging (either merging SAMs that comes from one specific lane or merging all 170 SAMs in one big SAM), how should I write the @RG header and ID ?

    Thanks

  • #2
    PCR duplicates could appear in different lanes, and it's all one sample so it should all have the sample Read Group. I would do it in this order: map each fastq file, merge bam files, remove duplicates and add read group.

    Comment


    • #3
      Originally posted by Alex Renwick View Post
      PCR duplicates could appear in different lanes, and it's all one sample so it should all have the sample Read Group. I would do it in this order: map each fastq file, merge bam files, remove duplicates and add read group.
      and what about quality recalibration ? should I do it after merging all or before ?

      Comment


      • #4
        If the experiment was done well, lanes should not affect the data. Pool the data before recalibrating.

        Comment


        • #5
          Originally posted by Alex Renwick View Post
          If the experiment was done well, lanes should not affect the data. Pool the data before recalibrating.
          Using 64 G RAM and 8 CPU is it possible to merge all Genome fastq files and align them to one SAM using BWA instead of align each separately ? And how long you think it will take ?

          Comment


          • #6
            The time will depend on how many reads you have. Probably several hours. BWA can be multithreaded to use all 8 CPUs. Mapping will probably take a day or two.

            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
            10 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
            53 views
            0 likes
            Last Post seqadmin  
            Working...
            X