castelvetrano:~/izip/git/opensource/ruby/bioruby-vcf$ cat test/data/input/multisample.vcf | ./bin/bio-vcf -vi --ifilter 'rec.original.gt!="0/1"' --efilter 'rec.original.gti[0]==0' --seval 'rec.original.ad[s.gti[1]]'
vcf 0.0.3-pre4 (biogem Ruby 2.1.0) by Pjotr Prins 2014
Options: {:show_help=>false, :verbose=>true, :ignore_missing=>true, :ifilter=>"rec.original.gt!=\"0/1\"", :efilter=>"rec.original.gti[0]==0", :seval=>"rec.original.ad[s.gti[1]]", :skip_header=>true}
ERROR: Field with name GTI does not exist!/export/local/users/wrk/izip/git/opensource/ruby/bioruby-vcf/lib/bio-vcf/vcfsample.rb:24:in eval': ERROR: Field with name GTI does not exist! (RuntimeError) from /export/local/users/wrk/izip/git/opensource/ruby/bioruby-vcf/lib/bio-vcf/vcfgenotypefield.rb:143:inmethod_missing'
from (eval):1:in eval' from /export/local/users/wrk/izip/git/opensource/ruby/bioruby-vcf/lib/bio-vcf/vcfsample.rb:24:ineval'
from /export/local/users/wrk/izip/git/opensource/ruby/bioruby-vcf/lib/bio-vcf/vcfsample.rb:24:in eval' from ./bin/bio-vcf:141:inblock in parse_line'
castelvetrano:~/izip/git/opensource/ruby/bioruby-vcf$ cat test/data/input/multisample.vcf | ./bin/bio-vcf -vi --ifilter 'rec.original.gt!="0/1"' --efilter 'rec.original.gti[0]==0' --seval 'rec.original.ad[s.gti[1]]' vcf 0.0.3-pre4 (biogem Ruby 2.1.0) by Pjotr Prins 2014 Options: {:show_help=>false, :verbose=>true, :ignore_missing=>true, :ifilter=>"rec.original.gt!=\"0/1\"", :efilter=>"rec.original.gti[0]==0", :seval=>"rec.original.ad[s.gti[1]]", :skip_header=>true} ERROR: Field with name GTI does not exist!/export/local/users/wrk/izip/git/opensource/ruby/bioruby-vcf/lib/bio-vcf/vcfsample.rb:24:in
eval': ERROR: Field with name GTI does not exist! (RuntimeError) from /export/local/users/wrk/izip/git/opensource/ruby/bioruby-vcf/lib/bio-vcf/vcfgenotypefield.rb:143:in
method_missing' from (eval):1:ineval' from /export/local/users/wrk/izip/git/opensource/ruby/bioruby-vcf/lib/bio-vcf/vcfsample.rb:24:in
eval' from /export/local/users/wrk/izip/git/opensource/ruby/bioruby-vcf/lib/bio-vcf/vcfsample.rb:24:ineval' from ./bin/bio-vcf:141:in
block in parse_line'