Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anwarMZ committed Dec 16, 2024
1 parent bdc1cd9 commit 770e250
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 44 deletions.
36 changes: 2 additions & 34 deletions .github/workflows/nextflow_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,9 @@ jobs:
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Install Singularity
run: |
sudo apt-get update && sudo apt-get install -y \
build-essential \
libssl-dev \
uuid-dev \
libgpgme11-dev \
squashfs-tools \
libseccomp-dev \
wget \
pkg-config \
git \
cryptsetup
wget https://github.com/sylabs/singularity/releases/download/v3.10.0/singularity-ce_3.10.0-focal_amd64.deb
sudo dpkg -i singularity-ce_3.10.0-focal_amd64.deb
- name: Run pipeline test (user)
run: |
nextflow run main.nf -profile singularity --prefix "covidmvp-user-$(date +%Y-%m-%d)" -params-file covidmvp_user.yaml
nextflow run main.nf -profile docker --prefix "covidmvp-user-$(date +%Y-%m-%d)" -params-file covidmvp_user.yaml
test_sarscov2_reference:
name: Run pipeline test (reference)
Expand All @@ -48,22 +32,6 @@ jobs:
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Install Singularity
run: |
sudo apt-get update && sudo apt-get install -y \
build-essential \
libssl-dev \
uuid-dev \
libgpgme11-dev \
squashfs-tools \
libseccomp-dev \
wget \
pkg-config \
git \
cryptsetup
wget https://github.com/sylabs/singularity/releases/download/v3.10.0/singularity-ce_3.10.0-focal_amd64.deb
sudo dpkg -i singularity-ce_3.10.0-focal_amd64.deb
- name: Run pipeline test (reference)
run: |
nextflow run main.nf -profile singularity --prefix "covidmvp-$(date +%Y-%m-%d)" -params-file covidmvp_clinical_params.yaml
nextflow run main.nf -profile docker --prefix "covidmvp-$(date +%Y-%m-%d)" --end_date $(date +%Y-%m-%d) -params-file covidmvp_clinical_params.yaml
2 changes: 1 addition & 1 deletion conf/profiles.config
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ profiles {
}
wave {
wave.enabled = true
wave.strategy = ['singularity', 'container']
wave.strategy = ['singularity']
}
eagle { includeConfig 'eagle.config' }
}
1 change: 0 additions & 1 deletion covidmvp_clinical_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ skip_postprocessing: false
skip_posting: true
skip_harmonize: true
start_date: "2020-01-01"
end_date: "(date +%Y-%m-%d)"
metadata_source: "ViralAi_EpiCoV"
metadata_config: "metadata_conf/metadata.yaml"
outdir: "results/covidmvp"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/convertgff2json.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ process CONVERTGFFTOJSON {
conda "conda-forge::pandas=1.4.3"
container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
? 'https://depot.galaxyproject.org/singularity/pandas:1.4.3'
: 'community.wave.seqera.io/library/pip_pandas:f80b46869e03f6ef'}"
: 'amancevice/pandas:1.4.3'}"

input:
tuple val(meta), path(gff)
Expand Down
2 changes: 1 addition & 1 deletion modules/local/extractMetadata.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process EXTRACTMETADATA {
conda "conda-forge::pandas=1.4.3"
container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
? 'https://depot.galaxyproject.org/singularity/pandas:1.4.3'
: 'community.wave.seqera.io/library/pip_pandas:f80b46869e03f6ef'}"
: 'amancevice/pandas:1.4.3'}"

input:
tuple val(meta), path(metadata)
Expand Down
2 changes: 1 addition & 1 deletion modules/local/extractVariants.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process EXTRACTVARIANTS {
conda "conda-forge::pandas=1.4.3"
container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
? 'https://depot.galaxyproject.org/singularity/pandas:1.4.3'
: 'community.wave.seqera.io/library/pip_pandas:f80b46869e03f6ef'}"
: 'amancevice/pandas:1.4.3'}"

input:
tuple val(meta), path(variants)
Expand Down
2 changes: 1 addition & 1 deletion modules/local/harmonize_metadata.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ process METADATA_HARMONIZER {
conda "conda-forge::pandas=1.4.3"
container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
? 'https://depot.galaxyproject.org/singularity/pandas:1.4.3'
: 'community.wave.seqera.io/library/pip_pandas:f80b46869e03f6ef'}"
: 'amancevice/pandas:1.4.3'}"

input:
tuple val(meta), path(metadata)
Expand Down
2 changes: 1 addition & 1 deletion modules/local/merge_classification_report.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process MERGE_CLASSIFFICATION_METADATA {
conda "conda-forge::pandas=1.4.3"
container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
? 'https://depot.galaxyproject.org/singularity/pandas:1.4.3'
: 'community.wave.seqera.io/library/pip_pandas:f80b46869e03f6ef'}"
: 'amancevice/pandas:1.4.3'}"

input:
tuple val(meta), path(metadata)
Expand Down
2 changes: 1 addition & 1 deletion modules/local/splitmutations_gvf.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ process NCOVSPLITMUTATIONSGVF {
conda "conda-forge::pandas=1.4.3"
container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
? 'https://depot.galaxyproject.org/singularity/pandas:1.4.3'
: 'community.wave.seqera.io/library/pip_pandas:f80b46869e03f6ef'}"
: 'amancevice/pandas:1.4.3'}"

input:
tuple val(meta), path(gvf)
Expand Down
2 changes: 1 addition & 1 deletion modules/local/splitmutations_pokay.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ process NCOVSPLITMUTATIONSPOKAY {
conda "conda-forge::pandas=1.4.3"
container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
? 'https://depot.galaxyproject.org/singularity/pandas:1.4.3'
: 'community.wave.seqera.io/library/pip_pandas:f80b46869e03f6ef'}"
: 'amancevice/pandas:1.4.3'}"

input:
tuple val(meta), path(annotations)
Expand Down
2 changes: 1 addition & 1 deletion modules/local/vcftogvf.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process VCFTOGVF {
conda "conda-forge::pandas=1.4.3"
container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
? 'https://depot.galaxyproject.org/singularity/pandas:1.4.3'
: 'community.wave.seqera.io/library/pip_pandas:f80b46869e03f6ef'}"
: 'amancevice/pandas:1.4.3'}"

input:
tuple val(meta), path(vcf)
Expand Down

0 comments on commit 770e250

Please sign in to comment.