-
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.
Added the devider recipe (rename of dbghaplo recipe)
- Loading branch information
1 parent
8b3a321
commit 4cb106f
Showing
2 changed files
with
57 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,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.1" %} | ||
|
||
package: | ||
name: devider | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/bluenote-1577/devider/archive/v{{ version }}.tar.gz | ||
sha256: e2c5e4a2faa51dbfd0ad4cb867d0dc25ea4012e83ec8fea27c1624592fce7dce | ||
|
||
build: | ||
number: 0 | ||
run_exports: | ||
- {{ pin_subpackage('devider', 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: | ||
- devider -h | ||
- run_devider_pipeline -h | ||
- haplotag_bam -h | ||
|
||
about: | ||
home: https://github.com/bluenote-1577/devider | ||
license: MIT | ||
license_file: | ||
- LICENSE | ||
- THIRDPARTY.yml | ||
summary: Haplotyping small sequences from heterogeneous long-read sequencing samples with a SNP-encoded positional de Bruijn graphs. | ||
|
||
extra: | ||
recipe-maintainers: | ||
- bluenote-1577 |