-
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
1 parent
a97949f
commit e7f636f
Showing
2 changed files
with
63 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,20 @@ | ||
#!/bin/bash | ||
|
||
export COMMIT_VERS="${PKG_VERSION}" | ||
export COMMIT_DATE="$(date -Idate -u)" | ||
|
||
make \ | ||
-j 4 \ | ||
DYN_LIBS="-lz -lpthread -lbz2 -lblas" \ | ||
CXX="$CXX -std=c++17" \ | ||
CXXFLAG="$CXXFLAGS ${PREFIX} -D__COMMIT_ID__='\"${COMMIT_VERS}\"' -D__COMMIT_DATE__='\"${COMMIT_DATE}\"' \ | ||
LDFLAG="$LDFLAGS" \ | ||
HTSLIB_INC="$PREFIX" \ | ||
HTSLIB_LIB="-lhts" \ | ||
BOOST_INC="/usr/include"\ | ||
BOOST_LIB_IO="-lboost_iostreams" \ | ||
BOOST_LIB_PO="-lboost_program_options" \ | ||
BOOST_LIB_SE="-lboost_serialization" \ | ||
; | ||
install "bin/eagle" "eagle/bin" | ||
popd |
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,43 @@ | ||
{% set version = "2.4.1" %} | ||
|
||
package: | ||
name: Eagle2 | ||
version: {{ version }} | ||
|
||
build: | ||
number: 1 | ||
|
||
source: | ||
url: https://github.com/poruloh/Eagle/archive/refs/tags/v{{ version }}.tar.gz | ||
sha256: 85804bfe972186ccb66e602856d6e04044302e5c0dbf9309849b0cde981e3432 | ||
|
||
requirements: | ||
build: | ||
- make | ||
- {{ compiler('c') }} | ||
- {{ compiler('cxx') }} | ||
host: | ||
- htslib >=1.9 | ||
- bzip2 | ||
- zlib | ||
- boost-cpp >=1.58 | ||
- blas >= 0.2.19 | ||
run: | ||
- boost-cpp | ||
|
||
test: | ||
commands: | ||
- eagle --help | ||
|
||
about: | ||
home: https://github.com/poruloh/Eagle | ||
license: GPLv3 | ||
summary: The Eagle software estimates haplotype phase either within a genotyped cohort or using a phased reference panel. | ||
description: | ||
Eagle2 is now the default phasing method used by the Sanger and Michigan imputation servers and uses a new | ||
very fast HMM-based algorithm that improves speed and accuracy over existing methods via two key ideas; | ||
a new data structure based on the positional Burrows-Wheeler transform and a rapid search algorithm that | ||
explores only the most relevant paths through the HMM. Compared to the Eagle1 algorithm, Eagle2 has similar | ||
speed but much greater accuracy at sample sizes <50,000; as such, we have made the Eagle2 algorithm the default option. | ||
(The Eagle1 algorithm can be accessed via the --v1 flag.) Eagle v2.3+ supports phasing sequence data with or without | ||
a reference and also supports phasing chrX. |