Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngscheckmate - migrate to python3 and enable linux-aarch64 and osx-arm64 #53196

Merged
merged 17 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions recipes/ngscheckmate/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ export NCM_HOME=$PREFIX/NGSCheckMate
python $PREFIX/NGSCheckMate/vaf_ncm.py "\$@"
EOF

ln -s $PREFIX/NGSCheckMate/ngscheckmate_fastq $PREFIX/bin/ngscheckmate_fastq

cd $PREFIX/NGSCheckMate/ngscheckmate_fastq-source
make COMPILER=${CC} CFLAGS="${CFLAGS} -c" DFLAGS="${LDFLAGS}"
cd $PREFIX
ln -sf $PREFIX/NGSCheckMate/ngscheckmate_fastq-source/ngscheckmate_fastq $PREFIX/bin/
cat << EOF > $PREFIX/bin/makesnvpattern.pl
#!/usr/bin/env bash

Expand Down
39 changes: 27 additions & 12 deletions recipes/ngscheckmate/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,44 +1,59 @@
{% set name = "ngscheckmate" %}
{% set version = "1.0.1" %}

package:
name: {{ name }}
version: 1.0.1
version: {{ version }}

source:
url: https://github.com/parklab/NGSCheckMate/archive/ef7a38c51dadbd4ef5b6b6db60775f239926f0a8.zip
md5: 42d4578e02a81e4e55857f126ae719af
patches:
- py3.patch # from https://github.com/parklab/NGSCheckMate/compare/master...dslarm:NGSCheckMate:master.patch

build:
number: 2
noarch: generic
number: 3
run_exports:
- {{ pin_subpackage(name, max_pin='x.x') }}
- {{ pin_subpackage(name, max_pin='x') }}

requirements:
build:
- {{ compiler('c') }}
- make
host:
- python =2.7
- r-base >=4
- perl
- python >=2.7
- samtools
- bcftools
- bowtie
- zlib
run:
- python =2.7
- python >=2.7
- r-base >=4
- perl
- samtools
- bcftools
- bowtie

test:
commands:
- ncm.py -h
- ncm_fastq.py -h
- vaf_ncm.py -h
- ngscheckmate_fastq
- makesnvpattern.pl

about:
home: https://github.com/parklab/NGSCheckMate
home: "https://github.com/parklab/NGSCheckMate"
license: MIT
summary: Software package for identifying next generation sequencing (NGS) data files from the same individual.
description: This version is built from a pull request which fixes a handful of known bugs.
license_family: MIT
summary: "Software package for identifying next generation sequencing (NGS) data files from the same individual."
description: "This version is built from a pull request which fixes a handful of known bugs."
dev_url: "https://github.com/parklab/NGSCheckMate"
doc_url: "https://github.com/parklab/NGSCheckMate/blob/master/Documentation.pdf"

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
identifiers:
- biotools:ngscheckmate
Loading