Announcement

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

  • Help! about GATK realignment speed

    Hi All,
    I try to do SNP calling using GATK. This is my first time to do such things and I generated the work flow as follows. Everything went well till I was blocked by RealignerTargetCreator. It seemed to cost 15 days per sample! I don't know whether it was a normal speed with 300MB reference and 1GB bam file or not. Could anybody help me figure it out? I have 80 samples and obviously I don't have enough time to run this step.
    Thanks for your time~!

    My work flow (till RealignTargetCreator):
    I used sga to do de novo assembly and I used the output file contigs.fa as reference.

    bwa index -P contigs.fa -a bwtsw contigs.fa

    bwa aln -t 4 contigs.fa R1.fq > R1.sai

    bwa aln -t 4 contigs.fa R2.fq > R2.sai

    bwa sampe contigs.fa R1.sai R2.sai R1.fq R2.fq > A.sam

    samtools view -bST contigs.fa -o A_noRG.bam A.sam

    java -Xmx20g -XX:PermSize=10g -XX:MaxPermSize=10g -jar /usr/share/picard/lib/AddOrReplaceReadGroups.jar INPUT=A_noRG.bam OUTPUT=A_std.bam SORT_ORDER=coordinate RGID=lib1_A RGLB=AA RGPL=illumina RGSM=lib1_A RGPU=none VALIDATION_STRINGENCY=LENIENT

    java -Xmx20g -XX:PermSize=10g -XX:MaxPermSize=10g -jar /usr/share/picard/lib/MarkDuplicates.jar INPUT=A_std.bam OUTPUT=A_std_noduplicates.bam METRICS_FILE=A_std.duplicate_matrics REMOVE_DUPLICATES=true ASSUME_SORTED=true VALIDATION_STRINGENCY=LENIENT

    java -Xmx20g -XX:PermSize=10g -XX:MaxPermSize=10g -jar /usr/share/picard/lib/BuildBamIndex.jar INPUT=A_std_noduplicates.bam VALIDATION_STRINGENCY=LENIENT

    java -Xmx20g -XX:PermSize=10g -XX:MaxPermSize=10g -jar /usr/share/GenomeAnalysisTK-2.1-10-gdbc86ec/GenomeAnalysisTK.jar -T RealignerTargetCreator -nt 8 -I A_std_noduplicates.bam -R contigs.fa -o A_forIndelAligner.intervals

  • #2
    Try OpenGE for realignment:

    An accelerated framework for manipulating and interpreting high-throughput sequencing data - GitHub - adaptivegenome/openge: An accelerated framework for manipulating and interpreting high-throughp...

    Comment


    • #3
      Hi,

      Thanks for your reply!

      I just read the menu of OpenGE. It can't help me because its localrealign step requires the intervals file which need to be generated by GATK RealignerTargetCreator, which was the very slow step I mentioned before.

      Do you think my RealignerTargetCreator speed is normal (~10+ days per sample)? If it really is, I have to change my strategy.




      Originally posted by adaptivegenome View Post
      Try OpenGE for realignment:

      www.github.com/adaptivegenome/OpenGE

      Comment


      • #4
        Hi,
        What about running RealignerTargetCreator in parallel on each of the chromosomes ? This should speed things up for you.

        Q

        Comment


        • #5
          Hi,
          Thanks for your reply!
          I just did de novo assembly and got millions of contigs without any chromosome info... The frog species I worked on doesn't have an assembled genome...
          I tried to get more scaffolds, but it was difficult to my rad data.

          Originally posted by qtrinh View Post
          Hi,
          What about running RealignerTargetCreator in parallel on each of the chromosomes ? This should speed things up for you.

          Q

          Comment


          • #6
            I'm surprised that TargetCreator is the limiting step. Typically runs quite fast.

            Comment


            • #7
              Hi,
              Do you think there is anything wrong in my workflow? Can you give me some advice? I really don't know how to improve and debug it because the previous steps finished smoothly.
              Really appreciate your reply!

              Originally posted by adaptivegenome View Post
              I'm surprised that TargetCreator is the limiting step. Typically runs quite fast.

              Comment


              • #8
                use targeted regions so it doesn't walk over the entire genome (unless it's whole genome data)
                Last edited by Zaag; 10-14-2012, 06:10 AM.

                Comment


                • #9
                  Hi,
                  This is the whole genome data and I don't know the exact targeted regions...So I can't start with a known VCF file.
                  Thanks for your reply!



                  Originally posted by Zaag View Post
                  use targeted regions so it doesn't walk over the entire genome (unless it's whole genome data)

                  Comment

                  Latest Articles

                  Collapse

                  • seqadmin
                    Advanced Tools Transforming the Field of Cytogenomics
                    by seqadmin


                    At the intersection of cytogenetics and genomics lies the exciting field of cytogenomics. It focuses on studying chromosomes at a molecular scale, involving techniques that analyze either the whole genome or particular DNA sequences to examine variations in structure and behavior at the chromosomal or subchromosomal level. By integrating cytogenetic techniques with genomic analysis, researchers can effectively investigate chromosomal abnormalities related to diseases, particularly...
                    Yesterday, 06:26 AM
                  • seqadmin
                    How RNA-Seq is Transforming Cancer Studies
                    by seqadmin



                    Cancer research has been transformed through numerous molecular techniques, with RNA sequencing (RNA-seq) playing a crucial role in understanding the complexity of the disease. Maša Ivin, Ph.D., Scientific Writer at Lexogen, and Yvonne Goepel Ph.D., Product Manager at Lexogen, remarked that “The high-throughput nature of RNA-seq allows for rapid profiling and deep exploration of the transcriptome.” They emphasized its indispensable role in cancer research, aiding in biomarker...
                    09-07-2023, 11:15 PM
                  • seqadmin
                    Methods for Investigating the Transcriptome
                    by seqadmin




                    Ribonucleic acid (RNA) represents a range of diverse molecules that play a crucial role in many cellular processes. From serving as a protein template to regulating genes, the complex processes involving RNA make it a focal point of study for many scientists. This article will spotlight various methods scientists have developed to investigate different RNA subtypes and the broader transcriptome.

                    Whole Transcriptome RNA-seq
                    Whole transcriptome sequencing...
                    08-31-2023, 11:07 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, Today, 06:57 AM
                  0 responses
                  6 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, Yesterday, 07:53 AM
                  0 responses
                  8 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 09-25-2023, 07:42 AM
                  0 responses
                  14 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 09-22-2023, 09:05 AM
                  0 responses
                  43 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X