Entering edit mode
16 months ago
Khaleesi95
▴
40
Hi guys, I have to filter a vcf file removing REF allele being equal to N. I wrote the following command line:
bcftools view -e 'REF = "N"' HT_Third_10_Plates_Batch.vcf > HT_Third_10_Plates_Batch_withoutN.vcf
But I'm not sure it worked... I got a HT_Third_10_Plates_Batch_withoutN.vcf as big as the input, and I know there are REF allele being equal to N.
How can I be sure it worked? Is it the command correct?
Thank u!
Simplest way is by counting the lines.