Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fuad193
    Member
    • Feb 2012
    • 17

    #1

    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
  • Alex Renwick
    Member
    • Jul 2011
    • 44

    #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

    • fuad193
      Member
      • Feb 2012
      • 17

      #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

      • Alex Renwick
        Member
        • Jul 2011
        • 44

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

        Comment

        • fuad193
          Member
          • Feb 2012
          • 17

          #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

          • Alex Renwick
            Member
            • Jul 2011
            • 44

            #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

            • 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, Yesterday, 11:13 AM
            0 responses
            21 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 10:48 AM
            0 responses
            18 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            42 views
            0 reactions
            Last Post SEQadmin2  
            Working...