Entering edit mode
12.4 years ago
Frédéric Bigey
▴
310
Hi, I would like to extract variants for on sample only if its genotype quality (GQ) is above cutoff.
I have tried this:
$pathToGATK \
-T SelectVariants \
-R ref \
--variant inVCF \
-sn mylib \
-select "vc.getGenotype('mylib').GQ > 10.0" \
--selectTypeToInclude SNP \
--out outVCF
Unfortunately, this command outputs absolutely no variant (the VCF header is ok). No error message occured. Is some one could help me?
Fred
Thanks a lot Pierre,
It works fine now !
Reading the source code can help obvously...
FB
please , flag my answer as "answered".
Pierre, I don't find the way to flag your answer.
on the left side of my answer, under the number of votes. You must be logged. :-)
merci ! :-)