Debian Codegraph @

features/filter.feature

raw
1 @filter
2 Feature: Adding filters
3
4 bio-vcf can add soft filters. Rather than removing failing items we can
5 inject filter state into the FILTER field. To add state such as PASS or
6 LowDepth simply use a filter and the --set-filter switch. If a filter already
7 has state the new one is appended with a semi-colon.
8
9 Scenario: Test the info filter using dp and threads
10 Given I have input file(s) named "test/data/input/somaticsniper.vcf"
11 When I execute "./bin/bio-vcf --add-filter PASS --filter 'r.normal.dp>5 and r.tumor.dp>7'"
12 Then I expect the named output to match the named output "pass1"