Genome Analysis Toolkit

Variant Discovery in High-Throughput Sequencing Data

GATK process banner

Need Help?

Search our documentation

Community Forum

Hi, How can we help?

Developed in the Data Sciences Platform at the Broad Institute, the toolkit offers a wide variety of tools with a primary focus on variant discovery and genotyping. Its powerful processing engine and high-performance computing features make it capable of taking on projects of any size. Learn more

Problems with the normal bam file in mutect2 and getpileupsummaries

0

4 comments

  • Avatar
    Gökalp Çelik

    Hi Estel

    Do both of the input files have the same SM tag for the sample name? If so that would be the reason why you cannot get any variants from your analysis. Normal and matched tumor bam files should have different sample names for Mutect2 to distinguish the reads coming from them. 

    I hope this helps. 

    0
    Comment actions Permalink
  • Avatar
    Estel

    Hi! thanks for responding,I don't know how to find the SM tag in the bam files. This are how to look the alignment reads of both bam files:

    normal bam file:

    D0RRAACXX120419:2:2313:3846:39390       0       chr1    54690   37      36M     *       0       0       TAGGGGCTCTCAAACCTTGTATTTTTCTTTCTTTCT    CCCFFFFFHHHHHJJJIJJHHJJJJJGIJJIIIJJJ   X0:i:1   X1:i:0  MD:Z:36 PG:Z:MarkDuplicates     XG:i:0  NM:i:0  XM:i:0  XO:i:0  XT:A:U

    tumor bam file:

    SN227:490:C9LCAACXX:3:2312:1897:6245    0       chr1    10092   254     50M     *       0       0       AACCCTAACCCTAACCCAACCCTAACCCTAACCCTAACCCTAACCCTAAC      @@@FDFFDFHDFFEHGGGGIGIJJIJJIIGBHIGGGHG>GDEDCHHEEH;      PG:Z:MarkDuplicates     RG:Z:H000H3K27acX1_GGCTAC       NH:i:3  NM:i:0  XT:A:R  md:Z:50

    also when I use getpileupssummaries with the normal file doesn't work may be also for the SM tag, if its the case how can I know this value and change it?

    0
    Comment actions Permalink
  • Avatar
    Gökalp Çelik

    Hi Estel

    You need to check the header section of the file using 

    samtools view -H bamfile.bam

    If SM: values are the same you need to change them using AddOrReplaceReadGroups tool or samtools addreplacerg tool. 

    1
    Comment actions Permalink
  • Avatar
    Estel

    Thanks, it worked!

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk