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

bug fixes for CAMPneu #51527

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 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
9 changes: 9 additions & 0 deletions recipes/CAMPneu/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# $PYTHON -m pip install . -vv

mkdir -p $PREFIX/bin/

cp CAMPneu.nf nextflow.config $PREFIX/bin/

chmod +x $PREFIX/bin/CAMPneu.nf $PREFIX/bin/nextflow.config
59 changes: 59 additions & 0 deletions recipes/CAMPneu/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{% set name = "CAMPneu" %}
{% set version = "1.1.1" %}
{% set hash = "1fab075c22e8f70c5677fa845018c2dcb489f7c540e14a553f0f387fe7d0f91c" %}
{% set user = "appliedbinf" %}

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

source:
url: https://github.com/{{ user }}/{{ name }}/archive/refs/tags/{{ version }}.tar.gz
sha256: {{ hash }}

build:
number: 0
noarch: generic
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing run_exports

script:
- mkdir -p $PREFIX/bin/
- cp CAMPneu.nf nextflow.config $PREFIX/bin/
- chmod +x $PREFIX/bin/CAMPneu.nf $PREFIX/bin/nextflow.config

run_exports:
- {{ pin_subpackage(name, max_pin='x') }}

requirements:
build:
- python
- setuptools
- skip: True # [win]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be part of root > build, not root > requirements > build

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not resolve conversations if you haven't addressed the issue.


host:
- python
- pip

run:
- nextflow
- python <3.11
- minimap2==2.28
- samtools
- fastp
- fastANI
- bcftools
- kraken2
- unicycler
- freebayes
- jq

mmkadam marked this conversation as resolved.
Show resolved Hide resolved
test:
commands:
- CAMPneu.nf --help
mmkadam marked this conversation as resolved.
Show resolved Hide resolved

about:
home: "https://github.com/{{ user }}/{{ name }}"
license: MIT
mmkadam marked this conversation as resolved.
Show resolved Hide resolved
license_family: MIT
license_file: LICENSE
summary: "CAMPneu is a scalable and reproducible Nextflow pipeline designed for bioinformatics analysis, targeting Illumina paired-end sequence data. Its primary objectives are to identify Mycoplasma pneumoniae species, classify its subtype (type 1 or type 2), and detect known SNPs associated with macrolide resistance in the sample."
dev_url: "https://github.com/{{ user }}/{{ name }}"
doc_url: "https://github.com/appliedbinf/campneu/blob/{{ version }}/README.md"
Loading