Entering edit mode
5.4 years ago
gprashant17
▴
110
I have tried using both Mutect2 and HaplotypeCaller (GATK) for calling somatic variants and generating VCF file from an aligned BAM file (RNA-seq). However, the generated VCF file did not have any information other than the header. I have seen this type of thread online, but I did not manage to find a solution. Is this because Base Recalibration was not done on the BAM file?
Meanwhile, when I try to use samtools mpileup on the same BAM file, the process aborts after a long time and it generates a VCF file of around 45GB.
Can you
samtools view -h
you bam file?Yes, I am able to view the bam files using samtools. I should mention here that I have used AddOrReplaceReadGroups (GATK) to include the @RG tag in the header, as it was not present initially.
It would help if you could show us all the output (STDOUT and STDERR) from the HaplotypeCaller run.
I'm not sure which output should I post. The command ran with no errors. It showed ProgressMeter for all the traversals and ended like this:
Please give us the exact command and upload the entire log file to a GitHub Gist so we can work together and figure out what's happening.
Guide to GitHub Gist: A: How to Use Biostars Part-3: Formatting Text and Using GitHub Gists
Also, if you're pasting text here, please use the formatting bar (especially the
code
option) to present it better. You can use backticks for inline code (`text` becomestext
), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.This might the same problem/solution: Mutect2 (GATK4, Java8) outputs empty VCF file for tumor only mode