diff --git a/recipes/get_mnv/meta.yaml b/recipes/get_mnv/meta.yaml new file mode 100644 index 0000000000000..f50f8d985c706 --- /dev/null +++ b/recipes/get_mnv/meta.yaml @@ -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 \ No newline at end of file