Skip to content

Commit

Permalink
add snp2cell (#52359)
Browse files Browse the repository at this point in the history
* add snp2cell

* lint matplotlib

* fix license lint

* Update meta.yaml

* drop pip check

pybiomart doesn't pass pip check

* fix test

* avoid container test
  • Loading branch information
mfansler authored Nov 25, 2024
1 parent c4c9fc3 commit 30505ec
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions recipes/snp2cell/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{% set name = "snp2cell" %}
{% set version = "0.2.0" %}
{% set github = "https://github.com/Teichlab/snp2cell" %}

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

source:
url: {{ github }}/archive/refs/tags/{{ version }}.tar.gz
sha256: 0ebb7a82dc7e126c4ea1e75c68a491cc9fa0d50de362f5dba2cc269dc6b99aab

build:
number: 0
noarch: python
entry_points:
- snp2cell=snp2cell.cli:app
run_exports:
- {{ pin_subpackage('snp2cell', max_pin='x.x') }}
script: "{{ PYTHON }} -m pip install . --no-deps --no-build-isolation --no-cache-dir -vvv"

requirements:
host:
- python >=3.8,<3.12
- pip
- setuptools
run:
- python >=3.8,<3.12
- dill
- joblib
- matplotlib-base
- networkx
- numpy
- pandas
- pybiomart
- pyranges
- rich
- scanpy
- scipy
- seaborn
- statsmodels
- tqdm
- typer
- typing_extensions

test:
imports:
- snp2cell
requires:
- pytest
source_files:
- tests
commands:
- snp2cell --help
- if command -v pytest; then pytest tests; fi

about:
home: {{ github }}
license: BSD-3-Clause
license_file: LICENSE.txt
license_family: BSD
summary: A package for finding enriched regulatory networks from GWAS and single cell data.
description: "A package for identifying gene regulation involved in specific traits and cell types. It combines three elements: (i) GWAS summary statistics, (ii) single cell data and (iii) a base gene regulatory network."


extra:
maintainers:
- mfansler

0 comments on commit 30505ec

Please sign in to comment.