From b623d5bc4ef783c9d94d398141e11e55ee0e6edd Mon Sep 17 00:00:00 2001 From: qdu-bioinfo <74221639+qdu-bioinfo@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:52:41 +0800 Subject: [PATCH] Add fc-virus recipe (#51809) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create meta.yaml * Update meta.yaml * Update meta.yaml * Create LICENSE * Create build.sh * Update meta.yaml * Update meta.yaml * Update build.sh * Update build.sh * Update meta.yaml * Update build.sh * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update meta.yaml * Update build.sh * Delete recipes/fc/build.sh * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Create build.sh * Update meta.yaml * Update build.sh * Update meta.yaml * Update build.sh * Update meta.yaml * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update build.sh * Update meta.yaml * Update build.sh * Update meta.yaml * Update build.sh * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update build.sh * Update build.sh * Update build.sh * Update meta.yaml * Update build.sh * Update meta.yaml * Update meta.yaml * Update build.sh * Update build.sh * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update build.sh * Update meta.yaml * Update build.sh * Update build.sh * Update meta.yaml * Update meta.yaml * Update build.sh * Update meta.yaml * Update meta.yaml * Update build.sh * Update meta.yaml * Update recipes/fc/meta.yaml Co-authored-by: Björn Grüning * Update meta.yaml * Update meta.yaml * Update build.sh * Update meta.yaml * try fc * edit source URL * Update build.sh * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update meta.yaml * Delete recipes/fc/LICENSE --------- Co-authored-by: Björn Grüning Co-authored-by: Joshua Zhuang <71105179+mencian@users.noreply.github.com> --- recipes/fc/build.sh | 7 +++++++ recipes/fc/meta.yaml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 recipes/fc/build.sh create mode 100644 recipes/fc/meta.yaml diff --git a/recipes/fc/build.sh b/recipes/fc/build.sh new file mode 100644 index 0000000000000..6725e40accbf6 --- /dev/null +++ b/recipes/fc/build.sh @@ -0,0 +1,7 @@ +#!/bin/bash +set -xe +make CXX="${CXX}" INCLUDES="-I$PREFIX/include" CFLAGS+="${CFLAGS} -g -Wall -O2 -L$PREFIX/lib" +#chmod +x ./bin/fc-virus +chmod 777 ./bin/fc-virus +mkdir -p ${PREFIX}/bin +cp -f ./bin/fc-virus ${PREFIX}/bin diff --git a/recipes/fc/meta.yaml b/recipes/fc/meta.yaml new file mode 100644 index 0000000000000..15c1e2335f04d --- /dev/null +++ b/recipes/fc/meta.yaml @@ -0,0 +1,37 @@ +{% set name = "fc" %} +{% set version = "1.0.1" %} + +package: + name: {{ name }} + version: {{ version }} + +source: + url: "https://github.com/qdu-bioinfo/fc-virus/archive/refs/tags/v{{ version }}.tar.gz" + sha256: "0f3b5f76ca17c90c7553d35280de6c0248802fad088a7fe653652653e3170944" + +build: + number: 0 + skip: True # [osx] + run_exports: + - {{ pin_subpackage("fc", max_pin="x") }} + +requirements: + build: + - make + - {{ compiler('c') }} + - {{ compiler('cxx') }} + host: + - zlib + - boost-cpp + +test: + commands: + - fc-virus --help + +about: + home: "https://github.com/qdu-bioinfo/fc-virus" + license: MIT + license_family: MIT + license_file: LICENSE + summary: "Accurate Assembly of Full-length Consensus for Viral Quasispecies." + dev_url: "https://github.com/qdu-bioinfo/fc-virus"