Skip to content

Commit

Permalink
add r-chromvarmotifs (#51395)
Browse files Browse the repository at this point in the history
* add r-chromvarmotifs

* add build.sh

* include R 4.1

* hash
  • Loading branch information
mfansler authored Oct 15, 2024
1 parent 904752e commit b8a6a96
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/r-chromvarmotifs/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
export DISABLE_AUTOBREW=1
# shellcheck disable=SC2086
${R} CMD INSTALL --build . ${R_ARGS}
4 changes: 4 additions & 0 deletions recipes/r-chromvarmotifs/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
r_base:
- 4.1
- 4.2
- 4.3
45 changes: 45 additions & 0 deletions recipes/r-chromvarmotifs/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{% set version = "0.2.0" %}
{% set github = "https://github.com/GreenleafLab/chromVARmotifs" %}
{% set commit = "38bed559c1f4770b6c91c80bf3f8ea965da26076" %}

package:
name: r-chromvarmotifs
version: "{{ version }}"

source:
url: "{{ github }}/archive/{{ commit }}.zip"
sha256: 4e3bd3201bb4680d78e7786a6c85af06f935a3be8117a87ef03ba375926ebe74

build:
noarch: generic
number: 0
rpaths:
- lib/R/lib/
- lib/
run_exports:
- {{ pin_subpackage("r-chromvarmotifs", max_pin="x.x") }}

requirements:
host:
- r-base
- bioconductor-tfbstools
run:
- r-base
- bioconductor-tfbstools

test:
commands:
- $R -e "library(chromVARmotifs)"

about:
home: {{ github }}
license: MIT
license_family: MIT
license_file:
- {{ environ["PREFIX"] }}/lib/R/share/licenses/MIT
- LICENSE
summary: Stores several motifs as PWMatrixList objects for use in R with packages like motifmatchr and chromVAR.

extra:
recipe-maintainers:
- mfansler

0 comments on commit b8a6a96

Please sign in to comment.