-
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.
* First attempt at recipe * Added R package dependencies * Added numpy dependency * Added scipy * Fixed test * Testing suggestions from PR * Final polishing after PR comments - passed local tests * Get the R stuff in the right place to ensure the pinning works
- Loading branch information
1 parent
9c95f10
commit aa5c39d
Showing
2 changed files
with
49 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,10 @@ | ||
#!/bin/sh | ||
|
||
mkdir -p $PREFIX/bin | ||
|
||
# Install the current codebase as an R package | ||
Rscript install.R | ||
|
||
# Install executables | ||
install -C exec/smudgeplot.py $PREFIX/bin | ||
install -C exec/smudgeplot_plot.R $PREFIX/bin |
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,39 @@ | ||
{% set version = "0.2.1" %} | ||
|
||
package: | ||
name: smudgeplot | ||
version: {{ version }} | ||
|
||
build: | ||
number: 0 | ||
|
||
source: | ||
url: https://github.com/KamilSJaron/smudgeplot/archive/v{{ version }}.tar.gz | ||
sha256: 2445564d12a852dcd5ade521b522cabde0df23512687b4ab5b46f73f9b315608 | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
- make | ||
host: | ||
- r-devtools | ||
- r-argparse | ||
- r-base | ||
- r-viridis | ||
run: | ||
- python >=3.6 | ||
- r-base | ||
- r-viridis | ||
- r-argparse | ||
- numpy | ||
- scipy | ||
|
||
test: | ||
commands: | ||
- smudgeplot.py --version 2>&1 | grep 'Running' | ||
|
||
about: | ||
home: https://github.com/KamilSJaron/smudgeplot | ||
license: Apache-2.0 | ||
license_file: LICENSE | ||
summary: Inference of ploidy and heterozygosity structure using whole genome sequencing data |