Skip to content

Commit

Permalink
Scanpy scripts (#11413)
Browse files Browse the repository at this point in the history
Doing squash and merge as requested by @nh3 

* Bump version

* First implementation of scanpy-scripts bioconda recipe.

* fix path in build.sh

* Remove "noarch" flag as requested by bioconda recipe checklist

* Add a post install notice that post install test needs bats-core.

* Add more dependencies

* Skip building for python versions other than 3.6

* Target v0.0.2 which has non-ascii characters removed

* Lower version requirement for pandas and matplotlib to be the same as scanpy

* Requirement matplotlib>=3.0.0, declare noarch
  • Loading branch information
nh3 authored and karel-brinda committed Oct 31, 2018
1 parent 0c99c20 commit 34d423f
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipes/scanpy-scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

mkdir -p $PREFIX/bin
cp *.py $PREFIX/bin
cp *.sh $PREFIX/bin
48 changes: 48 additions & 0 deletions recipes/scanpy-scripts/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{% set version = '0.0.2' %}

package:
name: scanpy-scripts
version: {{ version }}

source:
url: https://github.com/ebi-gene-expression-group/scanpy-scripts/archive/v{{ version }}.tar.gz
sha256: 4d9d3193857e5f801540236db547aa91db6c1db47c43943915f130c4fa8a31b2

build:
number: 0
noarch: generic

requirements:
host:
- python>=3.6
run:
- python>=3.6
- pandas>=0.21
- matplotlib>=3.0.0
- scanpy>=1.3.2

test:
commands:
- scanpy-read-10x.py --help
- scanpy-filter-cells.py --help
- scanpy-filter-genes.py --help
- scanpy-normalise-data.py --help
- scanpy-find-variable-genes.py --help
- scanpy-scale-data.py --help
- scanpy-run-pca.py --help
- scanpy-neighbours.py --help
- scanpy-run-umap.py --help
- scanpy-run-tsne.py --help
- scanpy-find-cluster.py --help
- scanpy-find-markers.py --help
- which scanpy-scripts-post-install-tests.sh

about:
home: https://github.com/ebi-gene-expression-group/scanpy-scripts
dev_url: https://github.com/ebi-gene-expression-group/scanpy-scripts
license: GPL-3
summary: A set of wrappers for individual components of the scanpy package.
Functions in python packages are hard to call when building workflows
outside of python, so this package adds a set of simple wrappers with
robust argument parsing.
license_family: GPL
4 changes: 4 additions & 0 deletions recipes/scanpy-scripts/post-link.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

echo 'Post install test script "scanpy-scripts-post-install-tests.sh" requires'
echo 'conda package "bats-core".'

0 comments on commit 34d423f

Please sign in to comment.