Skip to content

Commit

Permalink
Merge pull request #15 from hechth/8_conda
Browse files Browse the repository at this point in the history
Added scripts to create conda environments to build and develop the package, as well as a recipe.
  • Loading branch information
martenson authored Jul 2, 2021
2 parents bb65ec4 + ae18c59 commit 6f84931
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 0 deletions.
10 changes: 10 additions & 0 deletions conda/environment-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: recetox-xmsannotator-build
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- anaconda-client
- conda-build
- conda-verify
- r-base
22 changes: 22 additions & 0 deletions conda/environment-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: recetox-xmsannotator-dev
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- r-base >= 3.5
- boost-cpp
- r-biocmanager
- r-flashclust
- r-plyr
- r-wgcna
- r-tidyr
- r-purrr
- r-tibble
- r-dplyr >= 1.0.0
- r-rcpp >= 0.11.0
- r-arrow >= 3.0.0
- bioconductor-rhdf5
- r-data.table
- r-testthat >= 3.0.0
- r-readr
56 changes: 56 additions & 0 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% set name = "recetox-xMSannotator" %}
{% set version = "2.0.1" %}
{% set github = "https://github.com/recetox/recetox-xMSannotator" %}

package:
name: "r-{{ name|lower }}"
version: "{{ version }}"

source:
path: ../xmsannotator

build:
number: 0
noarch: generic
rpaths:
- lib/
- lib/R/lib/
script: R CMD INSTALL --build .


requirements:
host:
- r-base >=3.5
- r-dplyr >=1.0.0
- r-flashclust
- r-wgcna
- r-tidyr
- r-purrr
- r-tibble
run:
- r-base >=3.5
- r-dplyr
- r-flashclust
- r-wgcna
- r-tidyr
- r-purrr
- r-tibble
- r-data.table
- bioconductor-rhdf5
- r-rcpp >=0.11.0
- r-arrow >=3.0.0

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

about:
home: "{{ github }}"
license: GPL2.0
summary: Annotate peak intensity table with compounds from the compounds database. A heavily modified fork of the original xMSannotator by Karan Uppal.

extra:
maintainers:
- RECETOX/conda
identifiers:
- doi:10.1021/acs.analchem.6b01214

0 comments on commit 6f84931

Please sign in to comment.