Skip to content
Open
14 changes: 14 additions & 0 deletions recipes/earlgrey-partea/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

# Install wrapper scripts to bin/
mkdir -p $PREFIX/bin
install -m 755 earlGreyParTEA $PREFIX/bin/
install -m 755 earlGreyParTEA_LibConstruct $PREFIX/bin/
install -m 755 earlGreyParTEA_AnnotationOnly $PREFIX/bin/

# Install Snakemake workflow to share directory
mkdir -p $PREFIX/share/${PKG_NAME}-${PKG_VERSION}
cp Snakefile $PREFIX/share/${PKG_NAME}-${PKG_VERSION}/
cp -r rules $PREFIX/share/${PKG_NAME}-${PKG_VERSION}/
cp -r scripts $PREFIX/share/${PKG_NAME}-${PKG_VERSION}/
cp -r config $PREFIX/share/${PKG_NAME}-${PKG_VERSION}/
50 changes: 50 additions & 0 deletions recipes/earlgrey-partea/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{% set name = "earlgrey-partea" %}
{% set version = "0.1.2" %}

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

source:
url: https://github.com/TobyBaril/EarlGreyParTEA/archive/refs/tags/v{{ version }}.tar.gz
sha256: 117c0ea4ad51cf5bde4585af5bbaf2bcdb8f90a34bd131cd582dbc70d5231e8b

build:
number: 0
noarch: generic
run_exports:
- {{ pin_subpackage('earlgrey-partea', max_pin="x") }}

requirements:
host:
- python >=3.9,<3.10
run:
- python >=3.9,<3.10
- earlgrey >=7.0.3
- snakemake-minimal >=7.0,<8.0
- cd-hit
- graphviz

test:
commands:
- earlGreyParTEA --help
- earlGreyParTEA_LibConstruct --help
- earlGreyParTEA_AnnotationOnly --help
- earlGreyParTEA --generate-config test_config.yaml
- test -f test_config.yaml

about:
home: https://github.com/TobyBaril/EarlGreyParTEA
license: OSL-2.1
license_file: LICENSE
summary: 'Pangenome transposable element annotation pipeline using EarlGrey'
description: |
EarlGrey ParTEA extends EarlGrey for pangenome-scale transposable element
annotation. It processes multiple genomes in parallel, performs cross-species
clustering, and generates comprehensive repeat annotations.
doc_url: https://github.com/TobyBaril/EarlGreyParTEA
dev_url: https://github.com/TobyBaril/EarlGreyParTEA

extra:
recipe-maintainers:
- TobyBaril
Loading