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 gfaviz #52752

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
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
17 changes: 17 additions & 0 deletions recipes/gfaviz/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

#qmake bugfix: qmake fails if there is no g++ executable available, even if QMAKE_CXX is explicitly set
ln -s $CXX $BUILD_PREFIX/bin/g++
export PATH=$BUILD_PREFIX/bin/:$PATH

# Build part
qmake
make

# Install part
mkdir -p "${PREFIX}/bin"
if [ "$(uname)" = "Darwin" ]; then
cp "${SRC_DIR}/gfaviz.app/Contents/MacOS/gfaviz" "${PREFIX}/bin/"
else
cp "${SRC_DIR}/gfaviz" "${PREFIX}/bin/"
fi
48 changes: 48 additions & 0 deletions recipes/gfaviz/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{% set name = "gfaviz" %}
{% set version="1.0.0" %}
{% set hash="4bc4327dd182812a9cfd53a39632bf41f461170e142df62ebbd0ba441239a6d4" %}

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

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

source:
url: https://github.com/ggonnella/gfaviz/archive/refs/tags/v{{ version }}.tar.gz
sha256: {{ hash }}

requirements:
build:
- {{ compiler('cxx') }}
- make
host:
- qt-main =5
- libgl-devel # [ linux ]
martin-g marked this conversation as resolved.
Show resolved Hide resolved
run:
- {{ pin_compatible('qt-main', max_pin='x.x.x') }}

test:
commands:
- which gfaviz
- xvfb-run gfaviz --help
requires:
- {{ cdt('xorg-x11-server-xvfb') }} # [ linux ]

about:
home: https://github.com/ggonnella/gfaviz
license: ISC
license_file: LICENSE.txt
summary: GfaViz is a graphical interactive tool for the visualization of sequence graphs in GFA format. It supports both the GFA1 and GFA2 formats.

extra:
container:
# needed for libGL
extended-base: true
identifiers:
- doi:10.1093/bioinformatics/bty1046
recipe-maintainers:
- pbordron
Loading