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 recipe for softsv #52787

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
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
martin-g marked this conversation as resolved.
Show resolved Hide resolved

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
Loading