Skip to content

Commit

Permalink
Add r-ngsplot package (#9149)
Browse files Browse the repository at this point in the history
* Add recipe for r-ngsplot

* Add doi

* Added tests for subcommands

* Add Recipe for r-ngs.plot
  • Loading branch information
apeltzer authored and bgruening committed Jun 5, 2018
1 parent ba0fc7b commit 4d6bed0
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
11 changes: 11 additions & 0 deletions recipes/r-ngsplot/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
outdir=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM
mkdir -p $outdir
mkdir -p $PREFIX/bin
cp -R * $outdir
#Set up links for
for f in $outdir/*; do
ln -s $outdir/* $PREFIX/bin
fbname=$(basename "$f")
chmod 0755 ${PREFIX}/bin/$fbname
done
41 changes: 41 additions & 0 deletions recipes/r-ngsplot/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{% set version = "2.63" %}
package:
name: r-ngsplot
version: {{ version }}

source:
url: https://github.com/shenlab-sinai/ngsplot/archive/{{ version }}.tar.gz
md5: 811815e5f5ef7bdc1cb028ecd59fb2a7

build:
number: 0
skip: True
rpaths:
- lib/R/lib/
- lib/

requirements:

run:
- r-base
- r-catools
- r-domc
- bioconductor-rsamtools
- bioconductor-bsgenome
- bioconductor-shortread

test:
commands:
- ngsplotdb.py list | true
- ngs.plot.r 2>&1 | true
- replot.r 2>&1 | true
- plotCorrGram.r 2>&1 | true

about:
license: GPL-2.0
summary: 'Quick mining and visualization of NGS data by integrating genomic databases'
home: https://github.com/shenlab-sinai/ngsplot

extra:
identifiers:
- doi:10.1186/1471-2164-15-284

0 comments on commit 4d6bed0

Please sign in to comment.