Skip to content

Commit

Permalink
Add missing tests from #3063
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Oct 28, 2020
1 parent 1b32f0d commit d41f866
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/small/xy.dict
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@HD VN:1.5 SO:unknown
@SQ SN:x LN:1001
@SQ SN:y LN:1001
1 change: 1 addition & 0 deletions test/small/yx.dict
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@HD VN:1.5 SO:unknown
@SQ SN:y LN:1001
@SQ SN:x LN:1001
4 changes: 2 additions & 2 deletions test/t/50_vg_giraffe.t
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ rm -f x.vg x.gbwt x.gg x.snarls x.min x.dist x.gg x.fa x.fa.fai x.vcf.gz x.vcf.g
cp small/xy.fa .
cp small/xy.vcf.gz .
cp small/xy.vcf.gz.tbi .
vg giraffe xy.fa xy.vcf.gz -f small/x.fa_1.fastq -o SAM --ref-paths small/yx.dict | grep "@SQ" > surjected-yx.dict
vg giraffe xy.fa xy.vcf.gz -f small/x.fa_1.fastq -o SAM --ref-paths small/xy.dict | grep "@SQ" > surjected-xy.dict
vg giraffe xy.fa xy.vcf.gz -f small/x.fa_1.fastq -o SAM --ref-paths small/yx.dict | grep -E "^@(SQ|HD)" > surjected-yx.dict
vg giraffe xy.fa xy.vcf.gz -f small/x.fa_1.fastq -o SAM --ref-paths small/xy.dict | grep -E "^@(SQ|HD)" > surjected-xy.dict

diff surjected-yx.dict small/yx.dict
is "${?}" "0" "surjecting with a sequence dictionary in non-sorted order produces headers in non-sorted order"
Expand Down

1 comment on commit d41f866

@adamnovak
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vg CI tests complete for branch dict-support. View the full report here.

16 tests passed, 0 tests failed and 0 tests skipped in 14309 seconds

Please sign in to comment.