From 39847e9e61aa0549fe4682b410b81d5befaafaeb Mon Sep 17 00:00:00 2001 From: Habib-human <86194893+Habib-human@users.noreply.github.com> Date: Fri, 3 Jan 2025 02:55:23 -0500 Subject: [PATCH] Add plasann recipe (#53008) * Add plasann recipe * Fix bioconda lint issues: replace matplotlib with matplotlib-base * Remove sha256 hash for local build * Update meta.yaml with source URL and SHA256 * Update meta.yaml with source URL and SHA256 * Fix sha256 * Add license_file * Add prodigal and blast to the `run` requirements --------- Co-authored-by: Martin Grigorov --- recipes/plasann/meta.yaml | 54 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 recipes/plasann/meta.yaml diff --git a/recipes/plasann/meta.yaml b/recipes/plasann/meta.yaml new file mode 100644 index 0000000000000..ce8c23293085a --- /dev/null +++ b/recipes/plasann/meta.yaml @@ -0,0 +1,54 @@ +{% set name = "PlasAnn" %} +{% set version = "1.0.1" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/ajlopatkin/PlasAnn/archive/refs/tags/V1.0.1.tar.gz + sha256: 9fbb99d6cad1d337fa001616b1844e88204e996df9e621c3d47853ee4a3a2592 +build: + number: 0 + noarch: python + script: {{ PYTHON }} -m pip install --no-deps --ignore-installed . + entry_points: + - PlasAnn = plasann.annotate_plasmid:main + run_exports: + - {{ pin_subpackage('plasann', max_pin='x.x') }} + +requirements: + host: + - python >=3.7 + - pip + - setuptools + run: + - python >=3.7 + - pandas + - matplotlib-base + - pycirclize + - biopython + - gdown + - prodigal # [not arm64] + - blast # [not arm64] + +test: + commands: + - PlasAnn --help + +about: + home: https://github.com/ajlopatkin/PlasAnn + license: MIT + license_family: MIT + license_file: LICENSE + summary: 'A tool for plasmid annotation and visualization' + description: | + PlasAnn is a tool for plasmid annotation and visualization. + + For Mac (Apple Silicon) users, please install these additional dependencies: + - brew install prodigal + - brew install blast + +extra: + recipe-maintainers: + - habib-human