Skip to content

Commit d052998

Browse files
committed
added a test
1 parent 8b59d21 commit d052998

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.run_tests.sh

100755100644
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
#!/usr/bin/env bash
2-
rdmd --compiler=ldmd2 -unittest -IBioD BioD/test/unittests.d
3-
41
./build/sambamba sort -t2 -n BioD/test/data/ex1_header.bam -o ex1_header.nsorted.bam
2+
./build/sambamba view -t2 ex1_header.nsorted.bam | cut -f1 | LC_COLLATE=C sort -c
53
./build/sambamba sort -t2 ex1_header.nsorted.bam -o ex1_header.sorted.bam
64
./build/sambamba index -t2 ex1_header.sorted.bam
75
./build/sambamba slice ex1_header.sorted.bam chr1 -o /dev/null
8-
./build/sambamba view -c ex1_header.sorted.bam chr2 > /dev/null
9-
./build/sambamba view -c ex1_header.sorted.bam '*' > /dev/null
10-
rm ex1_header*bam
6+
./build/sambamba view -c ex1_header.sorted.bam chr2
7+
./build/sambamba view -c ex1_header.sorted.bam chr1
8+
./build/sambamba view -c ex1_header.sorted.bam '*'

0 commit comments

Comments
 (0)