File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,20 @@ testSortPicard() {
75
75
assertEquals " 2d9af987d7aeaf3a38396870a2f30dca" ` $sambamba $opts view -f unpack $outfn | $md5sum | cut -c 1-32`
76
76
}
77
77
78
+ testSortByNameMatchMates () {
79
+ outfn=$outdir /match_mates_nameSorted.bam
80
+ $sambamba $opts sort -t2 -n -M -m 300K test/match_mates.bam -o $outfn
81
+ assertEquals 0 $?
82
+ assertEquals " 8a0b62e1ac85185c31cf66126c876217" ` $sambamba $opts view -f unpack $outfn | $md5sum | cut -c 1-32`
83
+ }
84
+
85
+ testNaturalSortMatchMates () {
86
+ outfn=$outdir /match_mates_naturalSorted.bam
87
+ $sambamba $opts sort -t2 -N -M -m 300K test/match_mates.bam -o $outfn
88
+ assertEquals 0 $?
89
+ assertEquals " 8a0b62e1ac85185c31cf66126c876217" ` $sambamba $opts view -f unpack $outfn | $md5sum | cut -c 1-32`
90
+ }
91
+
78
92
testSlice () {
79
93
$sambamba $opts slice $sortedbam chr1 -o /dev/null
80
94
assertEquals 0 $?
You can’t perform that action at this time.
0 commit comments