Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • efoss
    Member
    • Jul 2011
    • 98

    #1

    GATK RealignerTargetCreator -B and -D options

    The GATK RealignerTargetCreator has two options for inputting data about known SNPs:

    http://www.broadinstitute.org/gsa/wi..._around_indels

    java -Xmx1g -jar /path/to/GenomeAnalysisTK.jar \
    -T RealignerTargetCreator \
    -R /path/to/reference.fasta \
    -o /path/to/output.intervals \
    [-I /path/to/input.bam] \
    [-L intervals] \
    [-B:snps,VCF /path/to/SNP_calls.vcf] \
    [-B:indels,VCF /path/to/indel_calls.vcf] \
    [-D /path/to/dbsnp.rod]
    Explanation of Arguments
    The -L option is used to restrict the search to a specific region or set of regions instead of the whole genome.
    The -o argument is used to specify the list of intervals being output and that should in turn be passed to the realigner in the next step.
    The -B snps binding would be used to pass in SNP calls so that the target creator can find clustered SNPs.
    The -B indels and dbsnp bindings would be used to pass in known indel sites for the realigner to target.

    I don't understand the difference between the -B and the -D options. I have used the -B option often with this file (from the GATK resource bundle):

    00-All.vcf

    I saw that the resource bundle also has a file called "dbsnp_132.b37.vcf", and I'm tempted to use that with the -D option, but I really don't know what I'm doing with that. Does anyone understand the difference between these options?

    Thank you.

    Eric
  • yasashiku
    Member
    • Jul 2011
    • 12

    #2
    I think
    Code:
    -D <file name>
    was the old way of doing
    Code:
    -B:dbsnp,VCF <file name>
    But now (with the latest version of GATK), it looks like the -B option is deprecated? Now I think you want to use:
    Code:
    -known:dbsnp,VCF <file name>
    I could be wrong, especially about the recent changes. If I am, someone please correct me

    Given that they're the same option, I doubt giving it two different files is a good idea (I bet it will crash if you try).
    Last edited by yasashiku; 10-03-2011, 09:21 AM.

    Comment

    Latest Articles

    Collapse

    • kinpict.com
      Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by kinpict.com
      The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
      Today, 06:37 PM
    • SEQadmin2
      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by SEQadmin2





      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
      10-30-2026, 06:46 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 11-12-2026, 07:59 AM
    0 responses
    28 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-05-2026, 09:25 AM
    0 responses
    35 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-03-2026, 11:54 AM
    2 responses
    56 views
    0 reactions
    Last Post kinpict.com  
    Started by SEQadmin2, 10-28-2026, 09:57 AM
    0 responses
    175 views
    0 reactions
    Last Post SEQadmin2  
    Working...