Skip to content

Commit

Permalink
Add get_mnv (#51178)
Browse files Browse the repository at this point in the history
* add get_mnv

* add get_mnv

* Fix typo, add categories

* Add run_exports to get_mnv recipe

* fix run_exports to get_mnv recipe

* fix dependencies

* fix dependencies

* fix open error

* try connect

* Update license

Co-authored-by: Martin Grigorov <[email protected]>

* libraries to host and add license_fam

* add rabit sugg pins in run, license and ver

---------

Co-authored-by: Martin Grigorov <[email protected]>
  • Loading branch information
Paururo and martin-g authored Oct 7, 2024
1 parent 7928ae1 commit 01acafb
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions recipes/get_mnv/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{% set name = "get_mnv" %}
{% set version = "1.0.0" %}
{% set sha256 = "b9ba6fe1a5f5f73afa98cde9e348f7861d44690f795338816a8a0724a66e1aa8" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: "https://github.com/PathoGenOmics-Lab/{{ name }}/archive/refs/tags/{{ version }}.tar.gz"
sha256: "{{ sha256 }}"

build:
number: 0
script: |
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
export RUST_BACKTRACE=1
export OPENSSL_NO_VENDOR=1
export OPENSSL_DIR=$PREFIX
export OPENSSL_INCLUDE_DIR=$PREFIX/include
export OPENSSL_LIB_DIR=$PREFIX/lib
export CURL_STATIC_SSL=1
export CURL_SYS_STATIC=1
#export CARGO_NET_OFFLINE=true
export HTS_LIB_DIR=$PREFIX/lib
export HTS_INCLUDE_DIR=$PREFIX/include
export HTS_STATIC=1
export HTS_SYS_BUNDLED=0
cargo install --no-track --locked --verbose --root "${PREFIX}" --path .
run_exports:
- {{ pin_subpackage(name, max_pin="x") }}

requirements:
build:
- {{ compiler('rust') }}

host:
- openssl
- curl
- pkg-config
- htslib
- bzip2
- xz
- zlib

run:
- {{ pin_compatible('openssl') }}
- {{ pin_compatible('curl') }}
- {{ pin_compatible('htslib') }}
- {{ pin_compatible('bzip2') }}
- {{ pin_compatible('xz') }}
- {{ pin_compatible('zlib') }}

test:
commands:
- get_mnv --help
- get_mnv --version

about:
home: "https://github.com/PathoGenOmics-Lab/get_mnv"
license: "GPL-3.0"
license_family: GPL3
license_file: LICENSE
summary: "Tool to identify Multi-Nucleotide Variants (MNVs) in genomic sequences."
description: |
get_MNV is a tool designed to identify Multi-Nucleotide Variants (MNVs) within the same codon in genomic sequences, providing more accurate annotation for genomic data.
doc_url: "https://github.com/PathoGenOmics-Lab/get_mnv"
dev_url: "https://github.com/PathoGenOmics-Lab/get_mnv"

extra:
recipe-maintainers:
- PathoGenOmics-Lab
categories:
- Genomics
- Variant Analysis

0 comments on commit 01acafb

Please sign in to comment.