-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
BINARIES="kma kma_index kma_shm kma_update" | ||
make CFLAGS="-w -O3 -I$PREFIX/include -L$PREFIX/lib" | ||
|
||
cp $BINARIES $PREFIX/bin | ||
mkdir -p $PREFIX/doc/kma | ||
cp README.md $PREFIX/doc/kma/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{% set name = "kma" %} | ||
{% set version = "1.0.1" %} | ||
{% set sha256 = "ce2e748bd31919d1e1b701417e6bdd944f11deba9263674b77de7255fe60f35a" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://bitbucket.org/genomicepidemiology/{{ name }}/get/{{ version }}.tar.gz | ||
sha256: {{ sha256 }} | ||
|
||
build: | ||
number: 0 | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
host: | ||
- zlib | ||
run: | ||
- zlib | ||
|
||
test: | ||
commands: | ||
- kma --help 2>&1|grep KMA >/dev/null | ||
- kma_index --help 2>&1 |grep kma_index | ||
- kma_shm --help 2>&1 |grep kma_shm >/dev/null | ||
- kma_update --help 2>&1 |grep KMA_update >/dev/null | ||
|
||
about: | ||
home: https://bitbucket.org/genomicepidemiology/kma | ||
summary: 'KMA is mapping a method designed to map raw reads directly against redundant databases, in an ultra-fast manner using seed and extend.' | ||
license: Apache-2.0 | ||
extra: | ||
identifiers: | ||
- doi:10.1186/s12859-018-2336-6 |