From ca03d7563b923b0ae9c75533af8564ffb7ea3d4a Mon Sep 17 00:00:00 2001 From: Vikram Shivakumar Date: Tue, 31 Dec 2024 03:05:48 -0500 Subject: [PATCH 1/5] added mumemto v1.1.0 recipe --- recipes/mumemto/meta.yaml | 69 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 recipes/mumemto/meta.yaml diff --git a/recipes/mumemto/meta.yaml b/recipes/mumemto/meta.yaml new file mode 100644 index 0000000000000..07ab9688981fb --- /dev/null +++ b/recipes/mumemto/meta.yaml @@ -0,0 +1,69 @@ +{% set name = "mumemto" %} +{% set version = "1.1.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/vikshiv/mumemto/archive/refs/tags/v{{ version }}.tar.gz + sha256: e0a42fd5d3afde6366dbc43bb16cc38b5a0c87468a4c6978c4225d361d789f95 + +build: + number: 0 + pkg_format: '.conda' + run_exports: + - {{ pin_subpackage(name, max_pin='x.x') }} + script: + - mkdir build + - cd build + - cmake .. + - make install + - cd .. + - mkdir -p $PREFIX/bin + - mkdir -p $SP_DIR/mumemto + - cp build/mumemto $PREFIX/bin/mumemto_exec + - cp build/bin/newscanNT.x $PREFIX/bin/ + - cp mumemto/*.py $SP_DIR/mumemto/ + - cp mumemto/mumemto $PREFIX/bin/ + - mkdir -p $PREFIX/share/licenses/{{ name }} + - cp LICENSE $PREFIX/share/licenses/{{ name }}/ + - chmod +x $PREFIX/bin/mumemto + - touch $SP_DIR/mumemto/__init__.py + +requirements: + build: + - {{ compiler('cxx') }} + - cmake + - make + host: + - python + run: + - python + - matplotlib-base + - numpy + - tqdm + - numba + - plotly + +test: + commands: + - mumemto --help + - mumemto viz --help + - mumemto coverage --help + - mumemto inversions --help + imports: + - mumemto.utils + +about: + home: https://github.com/vikshiv/mumemto + summary: Finding maximal unique matches across pangenomes + description: | + Mumemto is a tool for finding a variety of matches across collections of sequences like a pangenome. + It includes a visualization tool for visualizing pangenome synteny. + license: GPL-3.0 + license_file: LICENSE + +extra: + recipe-maintainers: + - vikshiv From 484f0b6ae8038c92156027d314882603eef5cec1 Mon Sep 17 00:00:00 2001 From: Vikram Shivakumar <41488337+vikshiv@users.noreply.github.com> Date: Tue, 31 Dec 2024 12:00:13 -0500 Subject: [PATCH 2/5] Update recipes/mumemto/meta.yaml Co-authored-by: Martin Grigorov --- recipes/mumemto/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/mumemto/meta.yaml b/recipes/mumemto/meta.yaml index 07ab9688981fb..c709433c00578 100644 --- a/recipes/mumemto/meta.yaml +++ b/recipes/mumemto/meta.yaml @@ -18,7 +18,7 @@ build: - mkdir build - cd build - cmake .. - - make install + - make -j"${CPU_COUNT}" install - cd .. - mkdir -p $PREFIX/bin - mkdir -p $SP_DIR/mumemto From 18adc4918f49aff8be996558ed621994fc0e162b Mon Sep 17 00:00:00 2001 From: Vikram Shivakumar <41488337+vikshiv@users.noreply.github.com> Date: Tue, 31 Dec 2024 12:00:51 -0500 Subject: [PATCH 3/5] Update recipes/mumemto/meta.yaml Co-authored-by: Martin Grigorov --- recipes/mumemto/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/mumemto/meta.yaml b/recipes/mumemto/meta.yaml index c709433c00578..a3ef43089aed2 100644 --- a/recipes/mumemto/meta.yaml +++ b/recipes/mumemto/meta.yaml @@ -61,7 +61,7 @@ about: description: | Mumemto is a tool for finding a variety of matches across collections of sequences like a pangenome. It includes a visualization tool for visualizing pangenome synteny. - license: GPL-3.0 + license: GPL-3.0-only license_file: LICENSE extra: From f78869ec2af0bf80fa91421fc97a324b7155fddd Mon Sep 17 00:00:00 2001 From: Vikram Shivakumar Date: Tue, 31 Dec 2024 12:07:21 -0500 Subject: [PATCH 4/5] moved to build.sh --- recipes/mumemto/build.sh | 19 +++++++++++++++++++ recipes/mumemto/meta.yaml | 16 ---------------- 2 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 recipes/mumemto/build.sh diff --git a/recipes/mumemto/build.sh b/recipes/mumemto/build.sh new file mode 100644 index 0000000000000..b22f85178d4c4 --- /dev/null +++ b/recipes/mumemto/build.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +mkdir build +cd build +cmake .. +make -j"${CPU_COUNT}" install +cd .. + +mkdir -p $PREFIX/bin +mkdir -p $SP_DIR/mumemto +mkdir -p $PREFIX/share/licenses/$PKG_NAME + +cp build/mumemto $PREFIX/bin/mumemto_exec +cp build/bin/newscanNT.x $PREFIX/bin/ +cp mumemto/*.py $SP_DIR/mumemto/ +cp mumemto/mumemto $PREFIX/bin/ +cp LICENSE $PREFIX/share/licenses/$PKG_NAME/ +chmod +x $PREFIX/bin/mumemto +touch $SP_DIR/mumemto/__init__.py \ No newline at end of file diff --git a/recipes/mumemto/meta.yaml b/recipes/mumemto/meta.yaml index a3ef43089aed2..66ce0d99c21f3 100644 --- a/recipes/mumemto/meta.yaml +++ b/recipes/mumemto/meta.yaml @@ -14,22 +14,6 @@ build: pkg_format: '.conda' run_exports: - {{ pin_subpackage(name, max_pin='x.x') }} - script: - - mkdir build - - cd build - - cmake .. - - make -j"${CPU_COUNT}" install - - cd .. - - mkdir -p $PREFIX/bin - - mkdir -p $SP_DIR/mumemto - - cp build/mumemto $PREFIX/bin/mumemto_exec - - cp build/bin/newscanNT.x $PREFIX/bin/ - - cp mumemto/*.py $SP_DIR/mumemto/ - - cp mumemto/mumemto $PREFIX/bin/ - - mkdir -p $PREFIX/share/licenses/{{ name }} - - cp LICENSE $PREFIX/share/licenses/{{ name }}/ - - chmod +x $PREFIX/bin/mumemto - - touch $SP_DIR/mumemto/__init__.py requirements: build: From 0f5203e36871b559e1885d4a2d1e275260ddad65 Mon Sep 17 00:00:00 2001 From: Vikram Shivakumar Date: Tue, 31 Dec 2024 13:20:39 -0500 Subject: [PATCH 5/5] changed release hash --- recipes/mumemto/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/mumemto/meta.yaml b/recipes/mumemto/meta.yaml index 66ce0d99c21f3..8794d8d89c32a 100644 --- a/recipes/mumemto/meta.yaml +++ b/recipes/mumemto/meta.yaml @@ -7,7 +7,7 @@ package: source: url: https://github.com/vikshiv/mumemto/archive/refs/tags/v{{ version }}.tar.gz - sha256: e0a42fd5d3afde6366dbc43bb16cc38b5a0c87468a4c6978c4225d361d789f95 + sha256: 189591f01677c806982bdb63b87d15431afbaf32f226ca706d6b02847bac8ae2 build: number: 0