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

Add recipe for consensify #50969

Merged
merged 9 commits into from
Sep 27, 2024
Merged
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
11 changes: 11 additions & 0 deletions recipes/consensify/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

## compile
${CXX} -c consensify_c.cpp -I./ ${CXXFLAGS}

## link
${CXX} consensify_c.o -o consensify_c -lz ${LDFLAGS}

## install
mkdir -p $PREFIX/bin
cp consensify_c ${PREFIX}/bin/consensify_c
36 changes: 36 additions & 0 deletions recipes/consensify/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{% set version = "2.4.0" %}

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

source:
url: https://github.com/jlapaijmans/Consensify/archive/refs/tags/{{ version }}.tar.gz
sha256: 2b88cda2c6ad44b6fd749d86485d3f16418b189b9c8ff4d20dd19640792dac1e

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

requirements:
build:
- {{ compiler('cxx') }}
host:
- zlib
dramanica marked this conversation as resolved.
Show resolved Hide resolved
run:
- zlib

test:
commands:
- consensify_c -h

about:
home: https://github.com/jlapaijmans/Consensify
license: GPL-3.0-or-later
license_family: GPL
license_file: LICENCE.txt
dramanica marked this conversation as resolved.
Show resolved Hide resolved
dev_url: https://github.com/jlapaijmans/Consensify
doc_url: https://github.com/jlapaijmans/Consensify
summary: A method for generating a consensus pseudohaploid genome sequence
about: Consensify is a method for generating a consensus pseudohaploid genome sequence with greatly reduced error rates compared to standard pseudohaploidisation. The method is described in full and tested in the associated publication (Barlow et al. (2020), Genes 11:50, doi 10.3390/genes11010050).
dramanica marked this conversation as resolved.
Show resolved Hide resolved