Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ldh
    Junior Member
    • Jun 2012
    • 1

    GATK: RealignerTargetCreator -documentation

    I'm looking for some help before using this tool on my data, baby and the bath water etc. Essentially, I'm looking for documentation that describes how this tool determines the locations for realignment. Any help would be greatly appreciated.
    Many thanks.
    Lee
  • vdauwera
    Member
    • Apr 2012
    • 43

    #2
    Originally posted by ldh View Post
    I'm looking for some help before using this tool on my data, baby and the bath water etc. Essentially, I'm looking for documentation that describes how this tool determines the locations for realignment. Any help would be greatly appreciated.
    Many thanks.
    Lee
    See the GATK Best Practices (newly redesigned for clarity) here:

    Comment

    • binlangman
      Member
      • Dec 2013
      • 11

      #3
      RealignerTargetCreator error

      When I use GATK to perform local realignment around indels, I run the following command to create a target list of intervals to be realigned firstly:

      java -jar /opt/toolkit/GenomeAnalysisTK-2.7-4/GenomeAnalysisTK.jar -T
      RealignerTargetCreator -R NC_010473.fasta -I dedup_reads.bam -o target_intervals.list

      But there is an error. Here is the error:

      INFO 11:12:43,040 HelpFormatter - -------------------------------------------------------------------------------- INFO 11:12:43,043 HelpFormatter - The Genome Analysis Toolkit (GATK) v2.7-4-g6f46d11, Compiled 2013/10/10 17:27:51 INFO 11:12:43,043 HelpFormatter - Copyright (c) 2010 The Broad Institute INFO 11:12:43,043 HelpFormatter - For support and documentation go to http://www.broadinstitute.org/gatk INFO 11:12:43,048 HelpFormatter - Program Args: -T RealignerTargetCreator -R NC_010473.fasta -I dedup_reads.bam -o target_intervals.list INFO 11:12:43,049 HelpFormatter - Date/Time: 2013/12/26 11:12:43 INFO 11:12:43,049 HelpFormatter - -------------------------------------------------------------------------------- INFO 11:12:43,049 HelpFormatter - -------------------------------------------------------------------------------- INFO 11:12:43,708 GenomeAnalysisEngine - Strictness is SILENT INFO 11:12:44,116 GenomeAnalysisEngine - Downsampling Settings: Method: BY_SAMPLE, Target Coverage: 1000 INFO 11:12:44,127 SAMDataSource$SAMReaders - Initializing SAMRecords in serial INFO 11:12:44,145 SAMDataSource$SAMReaders - Done initializing BAM readers: total time 0.02 INFO 11:12:44,237 GenomeAnalysisEngine - Preparing for traversal over 1 BAM files INFO 11:12:44,361 GenomeAnalysisEngine - Done preparing for traversal INFO 11:12:44,361 ProgressMeter - [INITIALIZATION COMPLETE; STARTING PROCESSING] INFO 11:12:44,361 ProgressMeter - Location processed.sites runtime per.1M.sites completed total.runtime remaining INFO 11:12:48,747 GATKRunReport - Uploaded run statistics report to AWS S3

      ERROR ------------------------------------------------------------------------------------------
      ERROR A USER ERROR has occurred (version 2.7-4-g6f46d11):
      ERROR
      ERROR This means that one or more arguments or inputs in your command are incorrect.
      ERROR The error message below tells you what is the problem.
      ERROR
      ERROR If the problem is an invalid argument, please check the online documentation guide
      ERROR (or rerun your command with --help) to view allowable command-line arguments for this tool.
      ERROR
      ERROR Visit our website and forum for extensive documentation and answers to
      ERROR commonly asked questions http://www.broadinstitute.org/gatk
      ERROR
      ERROR Please do NOT post this error to the GATK forum unless you have really tried to fix it yourself.
      ERROR
      ERROR MESSAGE: SAM/BAM file SAMFileReader{/home/lmbin/dedup_reads.bam} appears to be using the wrong encoding for quality scores: we encountered an extremely high quality score of 63; please see the GATK --help documentation for options related to this error
      ERROR ------------------------------------------------------------------------------------------
      I'm a greener, I don't know how to solve the problem in order to finish realignment. Can you give some advice?

      Comment

      • blakeoft
        Member
        • Oct 2013
        • 79

        #4
        binlangman,

        Is the command that you entered all on one line? Like:

        Code:
         java -jar /opt/toolkit/GenomeAnalysisTK-2.7-4/GenomeAnalysisTK.jar -T RealignerTargetCreator -R NC_010473.fasta -I dedup_reads.bam -o target_intervals.list
        According to http://www.broadinstitute.org/gatk/g...rticle?id=1247 the "--known" argument is required to work properly. However, I'm not sure if omitting it will produce the same error.
        Last edited by blakeoft; 02-09-2015, 07:43 AM. Reason: removed very long quote

        Comment

        • arthurmelo
          Member
          • Jul 2012
          • 19

          #5
          I think it's necessary to use the -know option of RealignerTargetCreator. My first attempt to fix this problem was use --fix_misencoded_quality_scores GATK option, but it' not possible. When I use a indels called in a vcf file in -know option the problem was fixed.

          Comment

          Latest Articles

          Collapse

          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            Today, 11:43 AM
          • SEQadmin2
            Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by SEQadmin2


            I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

            Here are nine questions we think about, in roughly the order they matter, before...
            06-18-2026, 07:11 AM
          • SEQadmin2
            From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
            by SEQadmin2


            Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


            The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
            ...
            06-02-2026, 10:05 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 05:37 AM
          0 responses
          8 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-26-2026, 11:10 AM
          0 responses
          17 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-17-2026, 06:09 AM
          0 responses
          52 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-09-2026, 11:58 AM
          0 responses
          110 views
          0 reactions
          Last Post SEQadmin2  
          Working...