Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Problems with finding out indels using Unified Genotyper ? using GATK

    Problems with finding out indels using Unified Genotyper ? (GATK)

    I followed the std protocol of First base reaclibarting the .bam file followed by using the realigned .bam file to call for SNPs and Indels.
    It calculates snps but shows an error for Indels -

    The command I used is
    " java -jar GenomeAnalysisTK.jar -I realigned_sample.hg19.sorted.bam -R hg19.fa -T UnifiedGenotyper -glm INDEL -o indelcalls_110527_s_3_1_fq.hg19.vcf -stand_call_conf 50 -S SILENT ".......

    I get an error saying - "SAM/BAM file
    SAMFileReader{realigned_sample.fq.hg19.bam} is malformed: Adjacent I/D events in read HWUSI-EAS68R:59:1:16:12673:10747 -- cigar: 4M4I3D34M2043N9M" .....

    I looked through different forums for this error and its a common problem that many people face. The solutions are unclear and confusing. Can anyone please suggest me clear solution for this ?

    Thanks !

  • #2
    This is a known issue with the GATK dealing with reads from Stampy. I talked with the author of Stampy about this and he suggested that the fault was with GATK, as adjacent I/D events are legal in SAM files. Nonetheless, he added a command line option, --gatkcigarworkaround which will stop Stampy outputting adjacent I/D events in CIGAR strings. It's available in the development version of Stampy, http://www.well.ox.ac.uk/~gerton/software/Stampy/dev/ .

    Alternatively, if you run GATK IndelRealigner with --USE_SW instead of USE_READS or KNOWNS_ONLY when you're doing indel realignment it will generate new alignments and CIGAR strings, which may also resolve the issue.

    I have no idea how exactly Stampy modifies CIGAR strings to remove adjacent I/D events (presumably it just inserts one mismatch in the middle) or how GATK's Indelrealigner deals with them, so I don't know what the "best" approach here is. Probably the safest thing to do is to use the --gatkcigarworkaround and then also run indelrealigner with --USE_SW.
    Last edited by Rocketknight; 03-27-2012, 08:21 AM.

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Best Practices for Single-Cell Sequencing Analysis
      by seqadmin



      While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
      06-06-2024, 07:15 AM
    • seqadmin
      Latest Developments in Precision Medicine
      by seqadmin



      Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

      Somatic Genomics
      “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
      05-24-2024, 01:16 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 06-07-2024, 06:58 AM
    0 responses
    13 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 06-06-2024, 08:18 AM
    0 responses
    20 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 06-06-2024, 08:04 AM
    0 responses
    18 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 06-03-2024, 06:55 AM
    0 responses
    13 views
    0 likes
    Last Post seqadmin  
    Working...
    X