Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add amplici package in bioconda #51847

Merged
merged 17 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions recipes/amplici/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

if [[ `uname` == "Darwin" ]]; then
export CONFIG_ARGS="-DCMAKE_FIND_FRAMEWORK=NEVER -DCMAKE_FIND_APPBUNDLE=NEVER"
else
export CONFIG_ARGS=""
fi

cd src || exit 1
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DCMAKE_C_COMPILER="${CC}" \
-DCMAKE_C_FLAGS="${CFLAGS}" \
"${CONFIG_ARGS}"
cmake --build build --target install -j "${CPU_COUNT}" -v
46 changes: 46 additions & 0 deletions recipes/amplici/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% set version = "2.2" %}

package:
name: amplici
version: {{ version }}

source:
url: https://github.com/DormanLab/AmpliCI/archive/refs/tags/v{{ version }}.tar.gz
sha256: 273362b5449ec29ff411d4c1aa5f89b1ec1eb361c8a9b69a4d89f4409fbdb70e

build:
number: 0
run_exports:
- {{ pin_subpackage("amplici", max_pin="x") }}

requirements:
build:
- cmake
- make
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('fortran') }}
host:
- zlib

about:
home: https://github.com/DormanLab/AmpliCI
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE
summary: "AmpliCI: Cluster amplicon sequences in a fastq file with or without UMIs."
dev_url: https://github.com/DormanLab/AmpliCI

test:
commands:
- run_AmpliCI -h

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
recipe-maintainers:
- xiyupeng
identifiers:
- biotools:amplici
- doi:10.1093/bioinformatics/btaa648
Loading