-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bump/phables
- Loading branch information
Showing
18 changed files
with
236 additions
and
95 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
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
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
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,10 @@ | ||
#!/bin/bash -euo | ||
|
||
# Add workaround for SSH-based Git connections from Rust/cargo. See https://github.com/rust-lang/cargo/issues/2078 for details. | ||
# We set CARGO_HOME because we don't pass on HOME to conda-build, thus rendering the default "${HOME}/.cargo" defunct. | ||
export CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_HOME="$(pwd)/.cargo" | ||
|
||
# build statically linked binary with Rust | ||
cargo-bundle-licenses --format yaml --output THIRDPARTY.yml | ||
RUST_BACKTRACE=1 cargo install --verbose --locked --no-track --root $PREFIX --path . | ||
cp scripts/* $PREFIX/bin |
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,47 @@ | ||
{% set version="0.0.2" %} | ||
|
||
package: | ||
name: dbghaplo | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/bluenote-1577/dbghaplo/archive/v{{ version }}.tar.gz | ||
sha256: e7e2741afb0c7f12718ec969815d3c8f18ce7ba66517e21c6fcfb3fe4262780b | ||
|
||
build: | ||
number: 0 | ||
run_exports: | ||
- {{ pin_subpackage('dbghaplo', max_pin="x.x") }} | ||
|
||
requirements: | ||
build: | ||
- {{ compiler("cxx") }} | ||
- {{ compiler('rust') }} | ||
- cargo-bundle-licenses | ||
- make | ||
- cmake >=3.12 | ||
run: | ||
- python | ||
- samtools | ||
- minimap2 | ||
- lofreq >=2.1.5 | ||
- tabix | ||
- pysam >=0.16 | ||
|
||
test: | ||
commands: | ||
- dbghaplo -h | ||
- run_dbghaplo_pipeline -h | ||
- haplotag_bam -h | ||
|
||
about: | ||
home: https://github.com/bluenote-1577/dbghaplo | ||
license: MIT | ||
license_file: | ||
- LICENSE | ||
- THIRDPARTY.yml | ||
summary: Haplotyping small sequences from heterogeneous long-read sequencing samples with a SNP-encoded positional de Bruijn Graph. | ||
|
||
extra: | ||
recipe-maintainers: | ||
- bluenote-1577 |
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
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 |
---|---|---|
@@ -1,14 +1,23 @@ | ||
#! /bin/bash | ||
#!/bin/bash | ||
|
||
mkdir -p $PREFIX/bin | ||
|
||
mkdir build | ||
cd build | ||
export CPATH=${BUILD_PREFIX}/include | ||
export CXXPATH=${BUILD_PREFIX}/include | ||
export CXXFLAGS="$CFLAGS -I$BUILD_PREFIX/include" | ||
export LDFLAGS="$LDFLAGS -L$BUILD_PREFIX/lib" | ||
cmake .. | ||
make -j ${CPU_COUNT} PgRC | ||
export INCLUDES="-I${PREFIX}/include" | ||
export LIBPATH="-L${PREFIX}/lib" | ||
export CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include" | ||
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" | ||
|
||
cp PgRC $PREFIX/bin | ||
if [[ `uname` == "Darwin" ]]; then | ||
export CONFIG_ARGS="-DCMAKE_FIND_FRAMEWORK=NEVER -DCMAKE_FIND_APPBUNDLE=NEVER" | ||
else | ||
export CONFIG_ARGS="" | ||
fi | ||
|
||
cmake -S . -B build -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ | ||
-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER="${CXX}" \ | ||
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ | ||
"${CONFIG_ARGS}" | ||
cmake --build build --target PgRC -j "${CPU_COUNT}" -v | ||
|
||
chmod 0755 build/PgRC | ||
cp -rf build/PgRC $PREFIX/bin |
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
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
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
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
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
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 |
---|---|---|
@@ -1,48 +1,49 @@ | ||
{% set name = "sizemeup" %} | ||
{% set version = "1.0.2" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/rpetit3/sizemeup/archive/v{{ version }}.tar.gz | ||
sha256: 0290d945909e20ccd417e4a874c22e14f5904695586974a98424dd9890bc9550 | ||
|
||
build: | ||
number: 0 | ||
noarch: generic | ||
run_exports: | ||
- {{ pin_subpackage(name, max_pin='x.x') }} | ||
|
||
requirements: | ||
host: | ||
- python >=3.7 | ||
- poetry | ||
- pip | ||
run: | ||
- python >=3.7 | ||
- requests | ||
- rich-click >=1.6.0 | ||
|
||
test: | ||
imports: | ||
- sizemeup | ||
commands: | ||
- pip check | ||
- sizemeup --version | ||
- sizemeup --help | ||
- sizemeup --species "Staphylococcus aureus" | ||
- sizemeup-build --help | ||
requires: | ||
- pip | ||
|
||
about: | ||
home: https://github.com/rpetit3/sizemeup | ||
summary: A simple tool to determine the genome size of an organism | ||
license: MIT | ||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- rpetit3 | ||
{% set name = "sizemeup" %} | ||
{% set version = "1.1.0" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/rpetit3/sizemeup/archive/v{{ version }}.tar.gz | ||
sha256: 3941e0b6affa2ba69c6ee01875d38ed8a94b864fbf51c4971a811d5483a61b8c | ||
|
||
build: | ||
number: 0 | ||
noarch: generic | ||
run_exports: | ||
- {{ pin_subpackage(name, max_pin='x.x') }} | ||
|
||
requirements: | ||
host: | ||
- python >=3.7 | ||
- poetry | ||
- pip | ||
run: | ||
- python >=3.7 | ||
- requests | ||
- rich-click >=1.6.0 | ||
|
||
test: | ||
imports: | ||
- sizemeup | ||
commands: | ||
- pip check | ||
- sizemeup --version | ||
- sizemeup --help | ||
- sizemeup --query "Staphylococcus aureus" | ||
- sizemeup -q 1280 | ||
- sizemeup-build --help | ||
requires: | ||
- pip | ||
|
||
about: | ||
home: https://github.com/rpetit3/sizemeup | ||
summary: A simple tool to determine the genome size of an organism | ||
license: MIT | ||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- rpetit3 |
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
Oops, something went wrong.