Skip to content

Commit

Permalink
Add BioCamLib (bioconda#46309)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Morrison <[email protected]@phe-pf0x5088.eud.unix.phe.gov.uk>
  • Loading branch information
ryanmorrison22 and Ryan Morrison authored Mar 14, 2024
1 parent f8ce087 commit 096252e
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
17 changes: 17 additions & 0 deletions recipes/biocamlib/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
if [ "$(uname)" == "Darwin" ]; then
echo "Installing BiOCamLib for OSX."
else
echo "Installing BiOCamLib for Linux"
fi

mkdir -p $PREFIX/bin
cp $SRC_DIR/FASTools $PREFIX/bin
cp $SRC_DIR/Parallel $PREFIX/bin
cp $SRC_DIR/Octopus $PREFIX/bin
cp $SRC_DIR/RC $PREFIX/bin

chmod +x $PREFIX/bin/FASTools
chmod +x $PREFIX/bin/Parallel
chmod +x $PREFIX/bin/Octopus
chmod +x $PREFIX/bin/RC
47 changes: 47 additions & 0 deletions recipes/biocamlib/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{% set name = "biocamlib" %}
{% set version = "1.0.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
- url: https://github.com/PaoloRibeca/BiOCamLib/releases/download/v{{ version }}/BiOCamLib-{{ version }}-Linux_x86-64.tar.xz # [linux]
sha256: bd08b1fe1949cb2faa98b46b40a99c84f0f5581515e337bab50111b11d9c7f12 # [linux]
- url: https://github.com/PaoloRibeca/BiOCamLib/releases/download/v{{ version }}/BiOCamLib-{{ version }}-MacOS_x86-64.tar.xz # [osx]
sha256: e55766df1e0af12f825ab1fe244841b70b8ccce9c764b60acc56d4386d3ce9bb # [osx]

build:
run_exports:
{{ pin_subpackage(name, max_pin="x") }}
number: 0
skip: true # [win]

test:
commands:
- Parallel -V
- FASTools -V
- Octopus -V
- RC -V

about:
home: https://github.com/PaoloRibeca/BiOCamLib
license: GPL-3.0-only
license_file: LICENSE
summary: 'An OCaml foundation upon which a number of the bioinformatics tools are built.'
description: |
BiOCamLib is an OCaml foundation upon which a number of the bioinformatics tools are built,
including KPop <https://github.com/PaoloRibeca/KPop>. It consists of four tools:
1. RC, which can efficiently compute the reverse complement of sequences.
2. Octopus, which is a high-throughput program to compute the transitive closure of strings.
3. Parallel, which allows the splits and processes an input file chunk-wise using a reader/workers/writer model.
4. FASTools, which is a Swiss-knife tool for the manipulation of FASTA/FASTQ files.
dev_url: https://github.com/PaoloRibeca/BiOCamLib

extra:
recipe-maintainers:
- PaoloRibeca
- ryanmorrison22
skip-lints:
- should_be_noarch_generic

0 comments on commit 096252e

Please sign in to comment.