Skip to content

Commit

Permalink
Smudgeplot (#17140)
Browse files Browse the repository at this point in the history
* 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
RomainFeron authored and dpryan79 committed Aug 28, 2019
1 parent 9c95f10 commit aa5c39d
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
10 changes: 10 additions & 0 deletions recipes/smudgeplot/build.sh
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
39 changes: 39 additions & 0 deletions recipes/smudgeplot/meta.yaml
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

0 comments on commit aa5c39d

Please sign in to comment.