Skip to content

Commit 43b2084

Browse files
committed
test AD union
1 parent 53176e8 commit 43b2084

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test_BBAD.sh

+8-2
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,11 @@ rm -f filtered.txt
2626
_build/default/src/AP_BBAD.exe --bbad seq_AD.txt -i data/chembl1868_std.smi -o filtered.txt -np ${nprocs}
2727
diff <(cat data/chembl1868_std.smi | wc -l) <(cat filtered.txt | wc -l)
2828

29-
# 5) the BBAD union for two single molecules should be the same as the AD for the two molecules
30-
# FBR: TODO
29+
# 5) the BBAD union for two sets of molecules should be the same as the AD for the union of the sets
30+
rm -f head_AD.txt tail_AD.txt head_tail_AD_union.txt head_tail_AD.txt
31+
_build/default/src/AP_BBAD.exe -i <(head data/chembl1868_std.smi) -o head_AD.txt -np ${nprocs}
32+
_build/default/src/AP_BBAD.exe -i <(tail data/chembl1868_std.smi) -o tail_AD.txt -np ${nprocs}
33+
_build/default/src/AP_BBAD.exe --bbad head_AD.txt,tail_AD.txt -o head_tail_AD_union.txt
34+
_build/default/src/AP_BBAD.exe -i <(head data/chembl1868_std.smi; tail data/chembl1868_std.smi) \
35+
-o head_tail_AD.txt
36+
diff head_tail_AD_union.txt head_tail_AD.txt

0 commit comments

Comments
 (0)