Skip to content

Commit

Permalink
Add a recipe for PopIns2
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Dec 13, 2024
1 parent a940c5d commit f09603e
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
15 changes: 15 additions & 0 deletions recipes/popins2/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

set -xe

# no need to build SeqAn's documentation/demos
rm -rf external/seqan-library-2.2.0/share/doc/seqan/

export DATE=$(date -u "+%Y-%m-%d %H:%M:%S")
export VERSION="0.13.0"
export CXXFLAGS="${CXXFLAGS} -std=c++14"

make -e -j"${CPU_COUNT}"

mkdir -p ${PREFIX}/bin
install -m 755 popins2 ${PREFIX}/bin
44 changes: 44 additions & 0 deletions recipes/popins2/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{% set name = "popins2" %}
{% set version = "0.13.0" %}

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

build:
number: 0
run_exports:
- {{ pin_subpackage(name, max_pin='x.x') }}

source:
url: https://github.com/kehrlab/PopIns2/archive/refs/tags/v{{ version }}.tar.gz
sha256: f1b79b988a4a29be6e23028e2f8fe1ce913580b37c00fb3988437cf3a19f98fd

requirements:
build:
- make
- {{ compiler('cxx') }}
host:
- bifrost
- bwa
- htslib
- samtools
- sickle-trim
- zlib

test:
commands:
- ls -la # temporary

about:
home: https://github.com/kehrlab/PopIns2
license: GPL-2.0-only
license_family: GPL
license_file: LICENSE
summary: Population-scale detection of non-reference sequence variants using colored de Bruijn Graphs
doc_url: https://github.com/kehrlab/PopIns2

extra:
additional-platforms:
- linux-aarch64
- osx-arm64

0 comments on commit f09603e

Please sign in to comment.