Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swapnil2188
    Member
    • Feb 2012
    • 12

    #1

    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 !
  • Rocketknight
    Member
    • Sep 2011
    • 86

    #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

    • SEQadmin2
      Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
      by SEQadmin2



      Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

      Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
      ...
      10-14-2026, 09:55 AM
    • SEQadmin2
      New Genomics Technologies Take Aim at Long-Standing Limits
      by SEQadmin2


      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
      ...
      09-28-2026, 10:25 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 10-22-2026, 11:13 AM
    0 responses
    25 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    20 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    36 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    42 views
    0 reactions
    Last Post SEQadmin2  
    Working...