Okay I think I missing something here , the gVCF file I have header is
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT
chr1 10352 . T TA 426 PASS CIGAR=1M1I;IDREP=2;REFREP=1;REGION=OFFTARGET;RU=A;SF=0,1,2 GT:GQ:GQX:DPI:AD 0/1:466:13:25:11,11
chr1 14907 . A G 232 LowGQXHetSNP REGION=;SF=0f,1,2;SNVHPOL=2;SNVSB=-26.4 GT:GQ:GQX:DP:DPF:AD 0/1:7:2:21:0:2,19
chr1 14930 . A G 241 PASS REGION=;SF=0,1,2;SNVHPOL=2;SNVSB=-30.6 GT:GQ:GQX:DP:DPF:AD 1/1:36:19:13:0:0,13
when I run the following command I have this error or a vcf files with header and no variants :
$> vcffilter -f "GQX > 30" A.vcf > A.filtered.vcf
$> vcffilter -f "DP > 10" A.vcf > A.filtered.vcf
$> vcffilter -f "QUAL > 30 " A.vcf > A.filtered.vcf
for example of the Error I have :
$> cannot compare (>) objects of dissimilar types
3 4
$ > Segmentation fault: 11
I know it can be done by some bash commands for example but I would like to keep the format as vcf.
hi Abdul, did you solve the problem?:)