-
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.
* Recipe for SparCC * Remove maintainers lines * Add license info * Mention pull request for patch * Fix lint * Build noarch
- Loading branch information
Showing
3 changed files
with
53 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,6 @@ | ||
#!/bin/bash | ||
|
||
cp *.py $PREFIX/bin | ||
for script in SparCC.py PseudoPvals.py MakeBootstraps.py ; do | ||
chmod a+x $PREFIX/bin/$script | ||
done |
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,40 @@ | ||
{% set name = "SparCC" %} | ||
{% set version = "0.1.0" %} | ||
{% set commit = "3aff6141c3f1" %} | ||
{% set sha256 = "00f00acb700de381d79d9d4d244f9834eb7b223780b3d018533d0ef2c853d63e" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://bitbucket.org/yonatanf/sparcc/get/{{ commit }}.zip | ||
sha256: {{ sha256 }} | ||
patches: | ||
- pseudopvals.patch # https://bitbucket.org/yonatanf/sparcc/pull-requests/2/add-line-for-pseudopvalspy/diff | ||
|
||
build: | ||
noarch: python | ||
number: 0 | ||
|
||
requirements: | ||
run: | ||
- python <3 | ||
- pandas | ||
- numpy | ||
- scipy | ||
|
||
test: | ||
commands: | ||
- SparCC.py --help |grep SparCC | ||
- PseudoPvals.py --help |grep PseudoPvals | ||
- MakeBootstraps.py --help |grep MakeBootstraps | ||
|
||
about: | ||
home: https://bitbucket.org/yonatanf/sparcc | ||
license: MIT | ||
license_file: readme.rst | ||
summary: 'SparCC is a python module for computing correlations in compositional data (16S, metagenomics, etc).' | ||
extra: | ||
identifiers: | ||
- doi:10.1371/journal.pcbi.1002687 |
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,7 @@ | ||
--- PseudoPvals.py.orig 2018-11-23 06:13:47.531461000 +0000 | ||
+++ PseudoPvals.py 2018-11-23 06:13:56.611567000 +0000 | ||
@@ -1,3 +1,4 @@ | ||
+#!/usr/bin/env python | ||
''' | ||
Created on Apr 8, 2013 | ||
|