-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into r-pgenlibr
- Loading branch information
Showing
34 changed files
with
399 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o errexit | ||
set -o nounset | ||
set -o xtrace | ||
|
||
mkdir -vp "${PREFIX}/bin" | ||
|
||
# Define installation manifest | ||
declare -A files=( | ||
["bam_depth.sh"]="0755" | ||
["halfdeep.sh"]="0755" | ||
["halfdeep.r"]="0755" | ||
["scaffold_lengths.py"]="0755" | ||
) | ||
|
||
# Install files | ||
for file in "${!files[@]}"; do | ||
if [[ ! -f "$SRC_DIR/$file" ]]; then | ||
echo "Source file $file not found in $SRC_DIR" >&2 | ||
exit 1 | ||
fi | ||
|
||
if ! install -v -m "${files[$file]}" "$SRC_DIR/$file" "$PREFIX/bin/$file"; then | ||
echo "Failed to install $file" >&2 | ||
exit 1 | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{% set name = "HalfDeep" %} | ||
{% set version = "0.1.0" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/richard-burhans/{{ name }}/archive/refs/tags/{{ version }}.zip | ||
sha256: 308341c567298703fb99d4ceac7b34f0718cf6a37b02fc166f68d661a7f44f27 | ||
|
||
requirements: | ||
run: | ||
- bash | ||
- coreutils | ||
- gawk | ||
- genodsp | ||
- grep | ||
- gzip | ||
- minimap2 | ||
- python >={{ python_min | default("3.9") }} | ||
- r-base >={{ r_base | default("4.3.*") }} | ||
- samtools | ||
- sed | ||
|
||
build: | ||
number: 0 | ||
noarch: generic | ||
run_exports: | ||
- {{ pin_subpackage(name|lower, max_pin="x.x") }} | ||
|
||
test: | ||
commands: | ||
- ${PREFIX}/bin/genodsp --help | ||
|
||
about: | ||
home: https://github.com/richard-burhans/{{ name }} | ||
summary: Automated detection of intervals covered at half depth by sequenced reads. | ||
license: BSD-3-Clause | ||
license_file: LICENSE | ||
license_url: https://github.com/richard-burhans/{{ name }}/blob/master/LICENSE |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.