The below command was used with the above javascript:
`picard FilterVcf I=WGS_100.multianno.vcf MIN_DP=0 MIN_GQ=0 JS=RecessiveJS O=BC.vcf`
The output has the below two tags in the FILTER field:
less BC.vcf | grep -v "##" | cut -f7 | sort | uniq
AllGtsFiltered;RecessiveJS
FILTER
RecessiveJS
And variants with each of these tags do not seem to segregate as per the javascript file where the 3 samples should be homVar.
$ less BC.vcf | grep -v "##" | awk -F "\t" '$7=="AllGtsFiltered;RecessiveJS"' | head |cut -f30,31,34
./.:10,0:10:LowGQ:.:.:.:0,0,0 0/0:24,0:24:PASS:72:.:.:0,72,801 ./.:23,0:23:LowGQ:.:.:.:0,0,0
0/0:10,0:10:PASS:30:.:.:0,30,338 1/1:0,0:.:LowDP:9:1|1:9356262_T_TAAAACTCTACTA:135,9,0
0/0:12,0:12:PASS:17:.:.:0,17,251 0/0:32,0:32:PASS:10:.:.:0,10,729 0/0:48,0:48:PASS:99:.:.:0,108,1416
$ less BC.vcf | grep -v "##" | awk -F "\t" '$7=="RecessiveJS"' | head |cut -f30,31,34
./.:0,0:0:LowGQ:.:0,0,0 ./.:0,0:0:LowGQ:.:0,0,0 ./.:0,0:0:LowGQ:.:0,0,0
0/0:1,0:1:PASS:3:.:.:0,3,28 ./.:0,0:0:LowGQ:.:.:.:0,0,0 ./.:0,0:0:LowGQ:.:.:.:0,0,0
0/0:1,0:1:PASS:3:.:.:0,3,28 ./.:0,0:0:LowGQ:.:.:.:0,0,0 ./.:0,0:0:LowGQ:.:.:.:0,0,0
Could you let me know if the code is going wrong or if i am interpreting it wrong.