Skip to content

Commit

Permalink
separate test
Browse files Browse the repository at this point in the history
  • Loading branch information
agudys committed Oct 12, 2024
1 parent 56d6ed0 commit 46232cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 1 addition & 7 deletions recipes/vclust/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,9 @@ test:
- example/*.*
- example/output/*.*
requires:
- pytest
# - pytest
commands:
- vclust.py --help
- vclust.py prefilter -i example/multifasta.fna -o tmp/filter.txt --batch-size 4 --k 18
- cmp tmp/filter.txt example/output/fltr.txt
- vclust.py align -i example/multifasta.fna -o tmp/ani.tsv
- cmp tmp/ani.tsv example/output/ani.tsv
- vclust.py cluster -i tmp/ani.tsv -o tmp/clusters.tsv --ids tmp/ani.ids.tsv --tani 0.95
- cmp tmp/clusters.tsv example/output/clusters.tsv
#- pytest test.py # [linux]
#- pytest test.py -k 'not test_cluster_algorithm_leiden' # [osx]

Expand Down
8 changes: 8 additions & 0 deletions recipes/vclust/run_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# !/bin/bash

vclust.py prefilter -i example/multifasta.fna -o tmp/filter.txt --batch-size 4 --k 18
cmp tmp/filter.txt example/output/fltr.txt
vclust.py align -i example/multifasta.fna -o tmp/ani.tsv
cmp tmp/ani.tsv example/output/ani.tsv
vclust.py cluster -i tmp/ani.tsv -o tmp/clusters.tsv --ids tmp/ani.ids.tsv --tani 0.95
cmp tmp/clusters.tsv example/output/clusters.tsv

0 comments on commit 46232cf

Please sign in to comment.