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
      Recent Advances in Sequencing Analysis Tools
      by seqadmin


      The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
      05-06-2024, 07:48 AM
    • seqadmin
      Essential Discoveries and Tools in Epitranscriptomics
      by seqadmin




      The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
      04-22-2024, 07:01 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, Today, 07:03 AM
    0 responses
    10 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 05-10-2024, 06:35 AM
    0 responses
    31 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 05-09-2024, 02:46 PM
    0 responses
    41 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 05-07-2024, 06:57 AM
    0 responses
    33 views
    0 likes
    Last Post seqadmin  
    Working...
    X