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 r-ggrasp #10129

Merged
merged 2 commits into from
Jul 29, 2018
Merged
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
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