Skip to content

Commit

Permalink
added some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rchikhi committed Nov 27, 2018
1 parent 83f1574 commit cfc106d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/circular_unitigs_unittests/CMD
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
if [ "$1" == "3" ]
then
../../build/bcalm -in test3.fa -kmer-size 7 -abundance-min 1 -minimizer-size 5
exit 0
fi

../../build/bcalm -in test1.fa -kmer-size 7 -abundance-min 1 -minimizer-size 5

1 change: 1 addition & 0 deletions example/circular_unitigs_unittests/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addressing the longstanding issue that bcalm2 doesnt assemble circular contigs
2 changes: 2 additions & 0 deletions example/circular_unitigs_unittests/test1.fa
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
>a perfectly circular unitig, k=7; is same as test3 but without the random crap
ACTTAGCGGACTTAGC
3 changes: 3 additions & 0 deletions example/circular_unitigs_unittests/test2.fa
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
>a polyA tail
ACCATGATTCAGAAAAAAAAA

4 changes: 4 additions & 0 deletions example/circular_unitigs_unittests/test3.fa
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
>random crap somehow makes the kmer counting put everything into the same bucket
ACTAAA
>a perfectly circular unitig
ACTTAGCGGACTTAGC

0 comments on commit cfc106d

Please sign in to comment.