Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minia #18978

Merged
merged 3 commits into from
Nov 28, 2019
Merged

Minia #18978

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions recipes/minia/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash
export CPATH=${PREFIX}/include
export LIBRARY_PATH=${PREFIX}/lib
rm -rf build
mkdir build
cd build
cmake -DCMAKE_CXX_FLAGS="$CXXFLAGS -DUSE_NEW_CXX" ..
make -j2

mkdir -p $PREFIX/bin/

cp bin/minia ${PREFIX}/bin/
cp bin/merci ${PREFIX}/bin/
chmod +x $PREFIX/bin/minia
chmod +x $PREFIX/bin/merci

cp ext/gatb-core/bin/gatb-h5dump ${PREFIX}/bin/
chmod +x $PREFIX/bin/gatb-h5dump

38 changes: 38 additions & 0 deletions recipes/minia/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{% set version = "3.2.1" %}
{% set sha256 = "c431915f034bc58887f9a14f6f65be2c83e0faae312ef330c3a11c6ba131162c" %}

package:
name: minia
version: {{ version }}

build:
number: 0
# requires clang>=4.5
skip: True # [osx]

source:
url: https://github.com/GATB/minia/releases/download/v{{version}}/minia-v{{version}}-Source.tar.gz
sha256: {{ sha256 }}

requirements:
build:
- {{ compiler('cxx') }}
- cmake
host:
- zlib
run:
- zlib

test:
commands:
- minia -help

about:
home: https://github.com/GATB/minia
license: file
license_file: LICENSE
summary: Minia is a short-read assembler based on a de Bruijn graph, capable of assembling a human genome on a desktop computer in a day.

extra:
identifiers:
- biotools:miniax