Skip to content

Commit

Permalink
Add bam2plot (#51975)
Browse files Browse the repository at this point in the history
* Add bam2plot

* Fix typo

* Fixes

* Add mosdepth

* Fix help section
  • Loading branch information
druvus authored Nov 7, 2024
1 parent 1df0e06 commit 498c2ee
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions recipes/bam2plot/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{% set name = "bam2plot" %}
{% set version = "0.3.6" %}

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

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/bam2plot-{{ version }}.tar.gz
sha256: 7be991b42db59d0c06ca2f354f906238be3c4f4d0588d85dd1cfd1ec7752a541

build:
entry_points:
- bam2plot=bam2plot.main:cli
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0
run_exports:
- {{ pin_subpackage('bam2plot', max_pin="x.x") }}

requirements:
host:
- python >=3.10
- pip
- setuptools
run:
- python >=3.10
- pysam >=0.22.0
- seaborn >=0.13.2
- polars >=0.20.15
- mappy >=2.28
- pyfastx
- pyarrow
- mosdepth

test:
imports:
- bam2plot
commands:
- bam2plot from_bam --help
- bam2plot from_reads --help
- bam2plot guci --help

about:
home: https://github.com/willros/bam2plot
summary: Plot of coverage from bam file
license: GPL-3.0-only
license_file: LICENSE

0 comments on commit 498c2ee

Please sign in to comment.