-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add recipe for CRAN package locuszoomr
- Loading branch information
1 parent
e03a132
commit 845d318
Showing
2 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
export DISABLE_AUTOBREW=1 | ||
mv DESCRIPTION DESCRIPTION.old | ||
grep -va '^Priority: ' DESCRIPTION.old > DESCRIPTION | ||
${R} CMD INSTALL --build . ${R_ARGS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{% set version = '0.3.5' %} | ||
|
||
package: | ||
name: r-locuszoomr | ||
version: {{ version|replace("-", "_") }} | ||
|
||
source: | ||
url: | ||
- {{ cran_mirror }}/src/contrib/locuszoomr_{{ version }}.tar.gz | ||
- {{ cran_mirror }}/src/contrib/Archive/locuszoomr/locuszoomr_{{ version }}.tar.gz | ||
sha256: 92c8bb3a84ceed82e3cf142129eb83c21a1eb780cd6c0fb4b084e099917c2c3d | ||
|
||
build: | ||
merge_build_host: True # [win] | ||
number: 0 | ||
|
||
rpaths: | ||
- lib/R/lib/ | ||
- lib/ | ||
|
||
requirements: | ||
host: | ||
- r-base | ||
- r-annotationfilter | ||
- r-biocgenerics | ||
- r-genomeinfodb | ||
- r-genomicranges | ||
- r-iranges | ||
- r-ldlinkr | ||
- r-cowplot | ||
- r-dplyr | ||
- r-ensembldb | ||
- r-gggrid | ||
- r-ggplot2 | ||
- r-ggrepel | ||
- r-memoise | ||
- r-plotly | ||
- r-rlang | ||
- r-rtracklayer | ||
- r-zoo | ||
|
||
run: | ||
- r-base | ||
- r-annotationfilter | ||
- r-biocgenerics | ||
- r-genomeinfodb | ||
- r-genomicranges | ||
- r-iranges | ||
- r-ldlinkr | ||
- r-cowplot | ||
- r-dplyr | ||
- r-ensembldb | ||
- r-gggrid | ||
- r-ggplot2 | ||
- r-ggrepel | ||
- r-memoise | ||
- r-plotly | ||
- r-rlang | ||
- r-rtracklayer | ||
- r-zoo | ||
|
||
test: | ||
commands: | ||
- $R -e "library('locuszoomr')" | ||
|
||
about: | ||
home: https://github.com/myles-lewis/locuszoomr | ||
license: GPL-3 | ||
summary: Publication-ready regional gene locus plots similar to those produced by the web interface | ||
'LocusZoom' <https://my.locuszoom.org>, but running locally in R. Genetic or genomic | ||
data with gene annotation tracks are plotted via R base graphics, 'ggplot2' or 'plotly', | ||
allowing flexibility and easy customisation including laying out multiple locus | ||
plots on the same page. It uses the 'LDlink' API <https://ldlink.nih.gov/?tab=apiaccess> | ||
to query linkage disequilibrium data from the 1000 Genomes Project and can overlay | ||
this on plots. | ||
license_family: GPL3 | ||
license_file: | ||
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3' |