Skip to content

Commit

Permalink
Merge branch 'main' of github.com:uclahs-cds/pipeline-call-sSNV into …
Browse files Browse the repository at this point in the history
…sfitz-vcf-sample-orders
  • Loading branch information
sorelfitzgibbon committed Oct 2, 2023
2 parents a0fc5cc + 0532766 commit f1ea45a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/assert_vcf.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
function md5_vcf {
zcat $1 | grep -v '^##' | md5sum | cut -f 1 -d ' '
zcat "$1" | grep -v '^##' | md5sum | cut -f 1 -d ' '
}

received=$(md5_vcf $1)
expected=$(md5_vcf $2)
received=$(md5_vcf "$1")
expected=$(md5_vcf "$2")

if [ "$received" == "$expected" ]; then
echo "VCF files are equal"
Expand Down

0 comments on commit f1ea45a

Please sign in to comment.