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

New recipe for RFMix #11205

Merged
merged 4 commits into from
Oct 3, 2018
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/rfmix/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# following full suggested build path of rfmix
aclocal # creates aclocal.m4
autoheader # creates config.h.in
autoconf # creates configure
automake --add-missing # creates Makefile.in
./configure # generates the Makefile
make

# Install
mkdir -p $PREFIX/bin
cp {rfmix,simulate} $PREFIX/bin/
39 changes: 39 additions & 0 deletions recipes/rfmix/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package:
name: rfmix
# Version number in github for this recipe is 2.03-r0, but there are no release tarballs.
# To ensure stability, this recipe links to the git commit with prefix '9505bfa'
# Also, dash in version number replaced with dot to pass conda linting specifications.
version: '2.03.r0.9505bfa'

source:
url: https://github.com/slowkoni/rfmix/archive/9505bfae51ea57314d98060e6d09f6759cda8e8d.zip
sha256: f15a8fe9bc8e06579f96c727dd91ca07b726e9bde305ce0d8d4ee233b1b299af

build:
number: 0

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- autoconf
- automake
host:
- pthread-stubs
run:
- pthread-stubs

about:
home: https://github.com/slowkoni/rfmix
license: Free for Academic Use
summary: 'RFMix implements a fast discriminative approach to modeling ancestry along an admixed chromosome given observed haplotype sequences of known or inferred ancestry.'

test:
commands:
- rfmix --help > /dev/null 2>&1
- simulate --help > /dev/null 2>&1

extra:
identifiers:
- biotools:RFMix
- doi:10.1016/j.ajhg.2013.06.020