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
          Advancing Precision Medicine for Rare Diseases in Children
          by seqadmin




          Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
          12-16-2024, 07:57 AM
        • seqadmin
          Recent Advances in Sequencing Technologies
          by seqadmin



          Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

          Long-Read Sequencing
          Long-read sequencing has seen remarkable advancements,...
          12-02-2024, 01:49 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 12-17-2024, 10:28 AM
        0 responses
        22 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-13-2024, 08:24 AM
        0 responses
        42 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-12-2024, 07:41 AM
        0 responses
        28 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-11-2024, 07:45 AM
        0 responses
        42 views
        0 likes
        Last Post seqadmin  
        Working...
        X