From 496918db9853935982cc10ac9f1159b411fe1032 Mon Sep 17 00:00:00 2001 From: Jayaram Radhakrishnan <97015642+jayramr@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:56:51 +0400 Subject: [PATCH] Initial add telosearchlr-v1.0.0 (#51438) * Initial add telosearchlr-v1.0.0 * build custom telosearchlr-v1.0.0 * build custom telosearchlr-v1.0.0 * build custom telosearchlr-v1.0.0 * build custom telosearchlr-v1.0.0 * build custom telosearchlr-v1.0.0 * build custom telosearchlr-v1.0.1 * build custom telosearchlr-v1.0.1 --- recipes/telosearchlr/build.sh | 11 +++++++++++ recipes/telosearchlr/meta.yaml | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 recipes/telosearchlr/build.sh create mode 100644 recipes/telosearchlr/meta.yaml diff --git a/recipes/telosearchlr/build.sh b/recipes/telosearchlr/build.sh new file mode 100644 index 0000000000000..20e19710bf486 --- /dev/null +++ b/recipes/telosearchlr/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +mkdir -p ${PREFIX}/bin +for f in *.py; +do + if ! grep -q "^#!/usr/bin/env python3" "$f"; then + sed -i "1i #!/usr/bin/env python3" "$f" + fi +done +chmod +x *.py +mv *.py $PREFIX/bin diff --git a/recipes/telosearchlr/meta.yaml b/recipes/telosearchlr/meta.yaml new file mode 100644 index 0000000000000..823ff500a6125 --- /dev/null +++ b/recipes/telosearchlr/meta.yaml @@ -0,0 +1,36 @@ +{% set name = "TeloSearchLR" %} +{% set version = "1.0.1" %} + +package: + name: "{{ name|lower }}" + version: "{{ version }}" + +source: + url: "https://github.com/gchchung/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz" + sha256: "1f3750f062af9996aba3d0bf6ec2096e8176e9a6597fb15cb91514d5264d3225" + +build: + noarch: python + number: 0 + run_exports: + - {{ pin_subpackage('telosearchlr', max_pin="x") }} + +requirements: + host: + - python >=3.9 + run: + - python >=3.9 + - Bio + - pillow + - svgutils + - plotly + - tidehunter + +test: + commands: + - TeloSearchLR.py -h +about: + home: "https://github.com/gchchung/TeloSearchLR" + license: "Academic and Non-Commercial Research Use" + license_file: LICENSE + summary: "TeloSearchLR (telomere search using long sequencing reads) is a Python script for aiding the identificaiton of telomeric repeat motifs."