Skip to content

Commit

Permalink
add test for QUAL and ID
Browse files Browse the repository at this point in the history
  • Loading branch information
brentp committed Oct 7, 2021
1 parent bf7d0e9 commit c7b2d07
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/functional-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ run check_tsv_id_qual $exe tsv -i DP -i QUAL -i ID -c BCSQ --csq-column dna_chan
assert_exit_code 0
assert_equal $(grep -c $'DP\t' xx.tsv) 1
assert_equal 4 $(grep -c ^denovo xx.tsv)
assert_equal "QUAL
2548.1
755.1
2789.1
501.1" "$(cut -f 7 xx.tsv)"
#rm xx.tsv
run check_family_expr $exe expr --pass-only -p tests/ashk-trio.ped -v tests/ashk-trio.vcf.gz --trio "dn:mom.hom_ref && kid.het && dad.hom_ref" --family-expr 'dnf:fam.every(function(s) {return s.het == s.affected && s.hom_ref == !s.affected})' -o /dev/null
Expand Down

0 comments on commit c7b2d07

Please sign in to comment.