Entering edit mode
6.1 years ago
pegeot.henri
•
0
Hello,
I have vcf files containing R8 and LowVariantFreq variants (they are flagged as PASS) and I would like to filter out these variants. I have tried without sucess vcftools... Do you have any suggestion on how to proceed ?
Thank you very much !
Hello,
have you tried searching the web by
How to filter VCF
? What problems have you faced?fin swimmer
Thank you for your reply.
I apologize in advance but I only have basic knowledges in bioinformatics. So I might do some strange things...
I have tried the following command line.
But no variant are excluded by this command.
Any suggestion ?
Henri
Please use the formatting bar (especially the
code
option) to present your post better. I've done it for you this time.Hello again,
I cannot help you with
vcftools
. I would recommend to usebcftools
instead. Have a look at bcftools filter and the descriptions of expressions.fin swimmer
Hello again, I have made some progress to filter vcf based on allelic balance. I used the tools vcffilterjdk with the following command line :
To filter R8 variant I flagged variants in the filter fields based with the tool vcfpolyx.jar :
Now I have a vcf like this with the POLYX_ge_8 flag:
I would like now to use bcftools to filter my vcf based on this field but I am not successfull so far. My attempt :
I know the answer must be pretty simple but again I am a newbie...
Thanks !
Hi,
You can filter vcf based on AB tag using: