Hi everyone,
I am doing an allelic imbalance of ATAC-seq data using a vcf generated with Strelka2. I used the ASEReadCounter of GATK:
java -jar $GenomeAnalysisTK \
-R $reference \
-T ASEReadCounter \
-o $out \
-I $bam \
-sites $vcf
But this error arosed:
##### ERROR ------------------------------------------------------------------------------------------
##### ERROR A USER ERROR has occurred (version 3.8-0-ge9d806836):
##### ERROR
##### ERROR This means that one or more arguments or inputs in your command are incorrect.
##### ERROR The error message below tells you what is the problem.
##### ERROR
##### ERROR If the problem is an invalid argument, please check the online documentation guide
##### ERROR (or rerun your command with --help) to view allowable command-line arguments for this tool.
##### ERROR
##### ERROR Visit our website and forum for extensive documentation and answers to
##### ERROR commonly asked questions https://software.broadinstitute.org/gatk
##### ERROR
##### ERROR Please do NOT post this error to the GATK forum unless you have really tried to fix it yourself.
##### ERROR
##### ERROR MESSAGE: More then one variant context at position: chr1:1056601
##### ERROR ------------------------------------------------------------------------------------------
Then I applied the SelectVariants function of GATK:
java -jar ${GenomeAnalysisTK} \
-T SelectVariants \
-R ${reference} \
-V ${vcf} \
-o ${vcfNonExt}_Selected.vcf \
-sn ${sample}
-selectType SNP \
-restrictAllelesTo BIALLELIC
And I used the vcf resulting from this SelectVariants function, how ever I obtained the same error.
Any advice?
what is the output of
GATK doesn't like when there are two variants with the same CHROM/POS/REF
But theoretically with SelectVariants I should have corrected this "error", right?
If not, how I can avoid this positions with more than one variant?