Skip to content

Commit

Permalink
Add r-ggrasp (#10129)
Browse files Browse the repository at this point in the history
* Add r-ggrasp

* trivial change to restart checks now the r-bgmm is on conda-forge
  • Loading branch information
nick-youngblut authored Jul 29, 2018
1 parent 4d6faca commit 44ea979
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
8 changes: 8 additions & 0 deletions recipes/r-ggrasp/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
if [[ $target_platform =~ linux.* ]] || [[ $target_platform == win-32 ]] || [[ $target_platform == win-64 ]] || [[ $target_platform == osx-64 ]]; then
export DISABLE_AUTOBREW=1
$R CMD INSTALL --build .
else
mkdir -p $PREFIX/lib/R/library/ggrasp
mv * $PREFIX/lib/R/library/ggrasp
fi
56 changes: 56 additions & 0 deletions recipes/r-ggrasp/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% set version = '1.0' %}
{% set posix = '' %}
{% set native = '' %}

package:
name: r-ggrasp
version: {{ version|replace("-", "_") }}

source:
url: {{ cran_mirror }}/src/contrib/ggrasp_{{ version }}.tar.gz
sha256: 0133019df762cd19d7daf1b5f2b353c43568124ade6e34fa04837656138a3652

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

requirements:
build:
host:
- r-base
- r-ape
- r-bgmm
- r-colorspace
- r-ggplot2
- r-mixtools
run:
- r-base
- r-ape
- r-bgmm
- r-colorspace
- r-ggplot2
- r-mixtools

test:
commands:
- $R -e "library('ggrasp')"

about:
home: https://CRAN.R-project.org/package=ggrasp
license: GPL-2
summary: 'Given a group of genomes and their relationship with each other, the package clusters
the genomes and selects the most representative members of each cluster. Additional
data can be provided to the prioritize certain genomes. The results can be printed
out as a list or a new phylogeny with graphs of the trees and distance distributions
also available. For detailed introduction see: Thomas H Clarke, Lauren M Brinkac,
Granger Sutton, and Derrick E Fouts (2018), GGRaSP: a R-package for selecting representative
genomes using Gaussian mixture models, Bioinformatics, bty300,
<doi:10.1093/bioinformatics/bty300>.'
license_family: GPL2
license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2'

extra:
recipe-maintainers:
- nick-youngblut

0 comments on commit 44ea979

Please sign in to comment.