From 300aeadad63ed7587e454da9fb7bf6b912e3d1ee Mon Sep 17 00:00:00 2001 From: Francesco strino Date: Sat, 19 Oct 2024 10:31:01 +0100 Subject: [PATCH] Add gene-trajectory-python recipe (#51476) --- recipes/gene-trajectory-python/LICENSE | 21 ++++++++ recipes/gene-trajectory-python/meta.yaml | 62 ++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 recipes/gene-trajectory-python/LICENSE create mode 100644 recipes/gene-trajectory-python/meta.yaml diff --git a/recipes/gene-trajectory-python/LICENSE b/recipes/gene-trajectory-python/LICENSE new file mode 100644 index 0000000000000..bfa86556228dd --- /dev/null +++ b/recipes/gene-trajectory-python/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 PCMGF-Limited + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/recipes/gene-trajectory-python/meta.yaml b/recipes/gene-trajectory-python/meta.yaml new file mode 100644 index 0000000000000..33d13f239c17c --- /dev/null +++ b/recipes/gene-trajectory-python/meta.yaml @@ -0,0 +1,62 @@ +{% set name = "gene-trajectory-python" %} +{% set version = "1.0.4" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/gene-trajectory/gene_trajectory-{{ version }}.tar.gz + sha256: 133e22dd167cbc83b8d4ecffa98bfc623f98584b91d2ecf31b915aeb11072b73 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + run_exports: + - {{ pin_subpackage(name|lower, max_pin="x") }} + +requirements: + host: + - python >=3.9,<4.0a0 + - flit-core >=3.2,<4 + - pip + run: + - python >=3.9 + - python-igraph >=0.10 + - matplotlib-base >=3.6 + - numpy >=1.25 + - pandas >=1.5 + - pot >=0.8.2 + - scanpy >=1.9.3 + - scikit-misc >=0.1.3 + - scikit-learn >=0.24 + - scipy >=1.8 + - seaborn >=0.13 + - tqdm >=4.64.1 + +test: + imports: + - gene_trajectory + commands: + - pip check + - python -c "import gene_trajectory" + requires: + - pip + +about: + home: https://github.com/KlugerLab/GeneTrajectory-python + summary: Compute gene trajectories + description: | + Gene Trajectory is a Python package that computes and analyzes gene trajectories in single-cell data. + It provides tools for trajectory inference, gene expression analysis along trajectories, and visualization of results. + + license: MIT + license_file: LICENSE + doc_url: https://github.com/KlugerLab/GeneTrajectory-python + dev_url: https://github.com/KlugerLab/GeneTrajectory-python + + +extra: + recipe-maintainers: + - fra-pcmgf