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

r-pctgcdata #11715

Merged
merged 4 commits into from
Oct 30, 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
11 changes: 11 additions & 0 deletions recipes/r-pctgcdata/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

if [[ $target_platform =~ linux.* ]] || [[ $target_platform == win-32 ]] || [[ $target_platform == win-64 ]] || [[ $target_platform == osx-64 ]]; then
export DISABLE_AUTOBREW=1
mv DESCRIPTION DESCRIPTION.old
grep -v '^Priority: ' DESCRIPTION.old > DESCRIPTION
$R CMD INSTALL --build .
else
mkdir -p $PREFIX/lib/R/library/pctGCdata
mv * $PREFIX/lib/R/library/pctGCdata
fi
30 changes: 30 additions & 0 deletions recipes/r-pctgcdata/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package:
name: r-pctgcdata
version: 0.2.0

source:
url: https://github.com/mskcc/pctGCdata/archive/v0.2.0.tar.gz
sha256: e217f8adfae848f0b12095f8d72cfb3044b7eb87e81849b6ff931b178b185fff

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

requirements:
host:
- r-base
run:
- r-base

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

about:
home: https://github.com/mskcc/pctGCdata
license: GPL (>= 2)
summary: Provides GC percentage of a 1 kilobase window at a genomic position for different
builds of human and mouse genomes.
license_family: GPL3