forked from arq5x/bits
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbits_tests
More file actions
33 lines (24 loc) · 817 Bytes
/
bits_tests
File metadata and controls
33 lines (24 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
export PATH=/usr/local/cuda/bin:$PATH
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH
A=data/rmsk.hg18.chr21.bed
B=data/knownGene.hg18.chr21.bed
G=genomes/human.hg18.genome
N=1000
echo bits_count
bin/bits_count -a $A -b $B -g $G
echo bits_count_cuda
bin/bits_count_cuda -a $A -b $B -g $G
echo bits_count_per_interval
bin/bits_count_per_interval -a $A -b $B -g $G \
| awk '{ SUM += $4} END { print SUM }'
echo bits_count_per_interval_cuda
bin/bits_count_per_interval_cuda -a $A -b $B -g $G \
| awk '{ SUM += $4} END { print SUM }'
echo bits_enumerate
bin/bits_enumerate -a $A -b $B -g $G | wc -l
echo bits_enumerate_cuda
bin/bits_enumerate_cuda -a $A -b $B -g $G | wc -l
echo bits_test
bin/bits_test -a $A -b $B -g $G -n $N
echo bits_test_cuda
bin/bits_test_cuda -a $A -b $B -g $G -n $N