Skip to content

Commit

Permalink
fix test for PG
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Tarasov committed Sep 10, 2016
1 parent d87dc52 commit 24720b5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .test_suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ testIssue204() {

testIssue206() {
./build/sambamba markdup ex1_header.sorted.bam ex1_header.dedup.bam 2>/dev/null
./build/sambamba view -H ex1_header.dedup.bam | grep '@PG' | grep -q 'sambamba markdup'
./build/sambamba view -H ex1_header.dedup.bam | grep '@PG' | grep -q 'sambamba'
assertEquals 0 $?

./build/sambamba view ex1_header.sorted.bam -f bam -o ex1_header.filtered.bam\
-F "supplementary or secondary_alignment"
./build/sambamba view -H ex1_header.filtered.bam | grep '@PG' | grep -q 'secondary'
assertEquals 0 $?
}

Expand Down

0 comments on commit 24720b5

Please sign in to comment.