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."