Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Protocol for finding variants in GATK

    Hi,

    I'm looking for a way to use GATK for finding variants. Unfortunately, their documentation is poor and misleading. The commands that they present on their presentation slides are out-of-dated.

    Can anyone post a simple working script or protocol for GATK given a raw BAM file?
    Last edited by student-t; 03-26-2015, 04:28 PM.

  • #2
    What documentations are you referring to?
    Although I agree that information is sometimes hard to find on their website, I personally think you'll have a hard time to find something with a better documented workflow than "GATK variant calling" in the world of bioinformatics.
    Have a look at this site which contains highly detailed presentation slides on how to use GATK from Sep 2014. https://www.broadinstitute.org/gatk/...ations?id=4768

    Comment


    • #3
      I have read the documentation but still having problems. What I'm doing now is that, I'm simulating variants, mutations etc from a reference genome. I'd expect I'd see something from the GATK tool. I ran through the pipeline but my resulting VCF file contains headers but no data. The problem is that I don't know whether I've screwed up my data or the way I'm using GATK is simply wrong. If there was a known protocol, then I could compare my steps with it.... Can anybody take a quick look at what I've done? It's paired-reads.

      Here's my pipeline:

      - silico.fa is my reference genome



      - Create Index for FASTQ

      samtools faidx silico.fa

      - Generate a sequence dictionary

      java -jar ../../Tools/Picard/picard.jar CreateSequenceDictionary REFERENCE=silico.fa OUTPUT=silico.dict

      - Alignment

      bwa mem -t 20 -M -R '@RG\tID:group1\tSM:sample1\tPL:illumina\tLB:lib1\tPU:unit1' silico_index reads/simulated_1.fastq reads/simulated_2.fastq > aligned.sam

      - Sort SAM to BAM

      java -jar ../../Tools/Picard/picard.jar SortSam INPUT=aligned.sam OUTPUT=sorted.bam SORT_ORDER=coordinate

      - Mark Duplicates

      java -jar ../../Tools/Picard/picard.jar MarkDuplicates INPUT=sorted.bam OUTPUT=marked.bam METRICS_FILE=metrics.txt

      - Build BAM Index

      java -jar ../../Tools/Picard/picard.jar BuildBamIndex INPUT=marked.bam

      - RealignerTargetCreator

      java -jar ../../Tools/GATK/GenomeAnalysisTK.jar -T RealignerTargetCreator -R silico.fa -I marked.bam -o realigner.intervals

      - IndelRealigner

      java -jar ../../Tools/GATK/GenomeAnalysisTK.jar -T IndelRealigner -R silico.fa -I marked.bam -targetIntervals realigner.intervals -o realigned.bam

      - Haplotype Analysis

      java -jar ../../Tools/GATK/GenomeAnalysisTK.jar -T HaplotypeCaller -R silico.fa -I realigned.bam --genotyping_mode DISCOVERY --heterozygosity 0.01 --defaultBaseQualities 30 -o haplotype.vcf
      Last edited by student-t; 03-27-2015, 11:49 PM.

      Comment


      • #4
        The question becomes how the simulated reads were made.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Non-Coding RNA Research and Technologies
          by seqadmin




          Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

          Nobel Prize for MicroRNA Discovery
          This week,...
          10-07-2024, 08:07 AM
        • seqadmin
          Recent Developments in Metagenomics
          by seqadmin





          Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
          09-23-2024, 06:35 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 10-02-2024, 04:51 AM
        0 responses
        103 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-01-2024, 07:10 AM
        0 responses
        112 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-30-2024, 08:33 AM
        1 response
        114 views
        0 likes
        Last Post EmiTom
        by EmiTom
         
        Started by seqadmin, 09-26-2024, 12:57 PM
        0 responses
        21 views
        0 likes
        Last Post seqadmin  
        Working...
        X