Skip to content

Commit

Permalink
Add recipe for softsv
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Dec 13, 2024
1 parent c9e62b9 commit 7acfc7a
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
10 changes: 10 additions & 0 deletions recipes/softsv/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

set -xe

CXX="${CXX} -std=c++14" make -j"${CPU_COUNT}"

ls -la

mkdir -p ${PREFIX}/bin
install -m 755 softsv ${PREFIX}/bin
13 changes: 13 additions & 0 deletions recipes/softsv/makefile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git i/Makefile w/Makefile
index de28bc8..e352ed0 100644
--- i/Makefile
+++ w/Makefile
@@ -6,7 +6,7 @@ SRCS := $(shell find $(SRC_DIR) -type f -name *.cpp)
OBJS := $(patsubst $(SRC_DIR)/%,$(BUILD_DIR)/%,$(SRCS:.cpp=.o))

# Compiler
-CXX = g++ -std=c++14
+CXX ?= g++ -std=c++14
CC = $(CXX)

# SeqAn
43 changes: 43 additions & 0 deletions recipes/softsv/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{% set name = "softsv" %}
{% set version = "1.4.2" %}

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

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

source:
url: https://sourceforge.net/projects/{{ name }}/files/SoftSV_{{ version }}.zip
sha256: b3caea962569f7c30f1257ad148fd1e833f8d0737105b9983579d91da2bed6e8
patches:
- softsv.patch

requirements:
build:
- make
- {{ compiler('cxx') }}
host:
- boost-cpp
- bamtools
- seqan

test:
commands:
- ls -la # temporary

about:
home: https://sourceforge.net/projects/softsv
license: GPL-3.0-only
license_family: GPL3
license_file: license.txt
summary: SoftSV is a tool for the detection of small and large deletions, inversions, tandem duplications and translocations from paired-end sequencing data.
doc_url: https://sourceforge.net/projects/softsv

extra:
additional-platforms:
- linux-aarch64
- osx-arm64

0 comments on commit 7acfc7a

Please sign in to comment.