|
| 1 | +{% set name = "cenmap" %} |
| 2 | +{% set version = "1.2.0" %} |
| 3 | + |
| 4 | +package: |
| 5 | + name: {{ name }} |
| 6 | + version: {{ version }} |
| 7 | + |
| 8 | +source: |
| 9 | + url: https://github.com/logsdon-lab/CenMAP/releases/download/v{{ version }}/srcs-full-CenMAP.tar.gz |
| 10 | + sha256: b3d9b0978c44e7b04837f67ae336c097052c9b89383226cea4185e7dcff1e4a5 |
| 11 | + |
| 12 | +build: |
| 13 | + number: 1 |
| 14 | + skip: True # [osx] |
| 15 | + run_exports: |
| 16 | + - {{ pin_subpackage(name, max_pin="x") }} |
| 17 | + |
| 18 | +requirements: |
| 19 | + build: |
| 20 | + - make |
| 21 | + - {{ compiler('c') }} |
| 22 | + - {{ stdlib('c') }} |
| 23 | + host: |
| 24 | + - zlib |
| 25 | + run: |
| 26 | + - python >=3.12 |
| 27 | + - findutils |
| 28 | + - coreutils |
| 29 | + - bedops |
| 30 | + - hmmer |
| 31 | + - gzip |
| 32 | + - gawk |
| 33 | + - bedtools |
| 34 | + - kmc >=3.2.4 |
| 35 | + - minimap2 >=2.29 |
| 36 | + # introduced breaking changes to pileup API in minor version 0.6.0 |
| 37 | + - ont-modkit >=0.6.0 |
| 38 | + - pbmm2 >=1.17.0 |
| 39 | + # Last compatible repeatmasker version. post-link script removed in 4.1.8, 4.1.7p1 corrupts Dfam.h5. |
| 40 | + # https://github.com/bioconda/bioconda-recipes/commit/8fdb7a3556da35a6e2bc2ef7bbd4895377867a05 |
| 41 | + # https://github.com/bioconda/bioconda-recipes/issues/54634 |
| 42 | + - repeatmasker ==4.1.2.p1 |
| 43 | + - rustybam |
| 44 | + - samtools >=1.13 |
| 45 | + - seqkit |
| 46 | + - seqtk |
| 47 | + - srf-n-trf >=0.1.1 |
| 48 | + - stringdecomposer |
| 49 | + # cenmap uses faster subsample jobs introduced in 8.24 |
| 50 | + # https://github.com/snakemake/snakemake/pull/3112 |
| 51 | + # After 9.5.0 config defaults are not filled in. Fixed in 9.13.1 but cannot update without major refactor. |
| 52 | + # https://github.com/snakemake/snakemake/issues/3648 |
| 53 | + # Rule inheritance rename rules changed in 9.11.4. |
| 54 | + # https://github.com/snakemake/snakemake/pull/3714 |
| 55 | + - snakemake >=8.24.0,<=9.5.0 |
| 56 | + - intervaltree |
| 57 | + - matplotlib-base |
| 58 | + - numpy |
| 59 | + - polars |
| 60 | + - pyarrow |
| 61 | + - pyyaml |
| 62 | + - scipy |
| 63 | + - seaborn |
| 64 | + - nucflag >=0.3.7,<1.0.0 |
| 65 | + - cenplot >=0.1.4 |
| 66 | + # Features in >=1.2.0 require >=0.1.3 |
| 67 | + - censtats >=0.1.3 |
| 68 | + |
| 69 | +test: |
| 70 | + commands: |
| 71 | + - cenmap --version |
| 72 | + # Do dry-run to ensure snakemake workflow is correct. |
| 73 | + - touch test.fa && cenmap -i test.fa -s example --snake-opts="-n" -o results && rm -rf results |
| 74 | + import: |
| 75 | + - numpy |
| 76 | + - scipy |
| 77 | + - pysam |
| 78 | + - cenplot |
| 79 | + - censtats |
| 80 | + |
| 81 | +about: |
| 82 | + home: "https://github.com/logsdon-lab/CenMAP" |
| 83 | + license: MIT |
| 84 | + license_family: MIT |
| 85 | + summary: "A centromere mapping and annotation pipeline for T2T human and primate genome assemblies implemented in Snakemake." |
| 86 | + dev_url: "https://github.com/logsdon-lab/CenMAP" |
| 87 | + doc_url: "https://github.com/logsdon-lab/CenMAP/blob/v{{ version }}/README.md" |
| 88 | + |
| 89 | +extra: |
| 90 | + recipe-maintainers: |
| 91 | + - koisland |
0 commit comments