Skip to content

Commit

Permalink
Add mumemto recipe (#53000)
Browse files Browse the repository at this point in the history
* added mumemto v1.1.0 recipe

* Update recipes/mumemto/meta.yaml

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

* Update recipes/mumemto/meta.yaml

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

* moved to build.sh

* changed release hash

---------

Co-authored-by: Martin Grigorov <[email protected]>
  • Loading branch information
vikshiv and martin-g authored Jan 2, 2025
1 parent fc2688d commit 35ad93b
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
19 changes: 19 additions & 0 deletions recipes/mumemto/build.sh
Original file line number Diff line number Diff line change
@@ -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
53 changes: 53 additions & 0 deletions recipes/mumemto/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% 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: 189591f01677c806982bdb63b87d15431afbaf32f226ca706d6b02847bac8ae2

build:
number: 0
pkg_format: '.conda'
run_exports:
- {{ pin_subpackage(name, max_pin='x.x') }}

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-only
license_file: LICENSE

extra:
recipe-maintainers:
- vikshiv

0 comments on commit 35ad93b

Please sign in to comment.