I have gotten SNVs using this option previously.
Getting only Indels and no SNPs after variant calling variant calling using HaplotypeCaller
Hello everyone,
I am running HaplotypeCaller by GATK for variant calling and I'm getting only indels and no SNPs. I happen to know that the sample contains SNPs as I'm reproducing the data from another paper. Following is the code that I'm following. Let me know where I'm making a mistake or there is some other reason behind this.
STAR --runThreadN 10 --genomeDir /home2/NEW_ANALYSIS/X-chromosome/Star_Indexed --readFilesCommand zcat --readFilesIn SRRXXXXXXX.fastq.gz --outFilterMismatchNmax 0 --outFilterMultimapNmax 1 --outSAMattributes All --outSAMtype BAM SortedByCoordinate --outSAMmapqUnique 60 --outFileNamePrefix SRRXXXXXXX_
java -jar picard.jar MarkDuplicates I=SRRXXXXXXX_Aligned.sortedByCoord.out.bam O=SRRXXXXXXX_Aligned.sortedByCoord_dup_marked.bam M=SRRXXXXXXX_marked_dup_metrics.txt
java -jar picard.jar AddOrReplaceReadGroups I=SRRXXXXXXX_Aligned.sortedByCoord_dup_marked.bam O=SRRXXXXXXX_Aligned.sortedByCoord_dup_marked_RGadded.bam RGID=SRRXXXXXXX RGSM=SRRXXXXXXX RGPU=SRRXXXXXXX RGLB=SRRXXXXXXX RGPL=illumina SORT_ORDER=coordinate CREATE_INDEX=True
java -jar GenomeAnalysisTK.jar -R GRCh38.fa -T HaplotypeCaller -I SRRXXXXXXX_Aligned.sortedByCoord_dup_marked_RGadded.bam --dbsnp dbsnp.vcf -U ALLOW_N_CIGAR_READS -o SRRXXXXXXX_HaplotypeCaller.out.raw.snps.indels.vcf
Thanks
Susmita
• 1,729 views
•
link
1 answer
--outFilterMismatchNmax 0
as far as I understand, you don't allow any mismatch, hence you get no SNV.
• 0 views
•
link
• 0 views
•
link
Log in to answer this question.