Skip to content

Commit

Permalink
style: Add back in container elvis operator
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Jun 18, 2024
1 parent 825f86a commit 4bb75f8
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/wave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ jobs:
--tower-token ${{ secrets.TOWER_ACCESS_TOKEN }} \
--tower-workspace-id ${{ secrets.TOWER_WORKSPACE_ID }}
# - name: Build Singularity
# if: matrix.profile == 'singularity'
# run: |
# wave --conda-file "${{ matrix.files }}" \
# --freeze \
# --await \
# --cache-repository quay.io/nf-core/wave-cache/singularity \
# --tower-token ${{ secrets.TOWER_ACCESS_TOKEN }} \
# --tower-workspace-id ${{ secrets.TOWER_WORKSPACE_ID }} \
# --singularity
- name: Build Singularity
if: matrix.profile == 'singularity'
run: |
wave --conda-file "${{ matrix.files }}" \
--freeze \
--await \
--cache-repository quay.io/nf-core/wave-cache/singularity \
--tower-token ${{ secrets.TOWER_ACCESS_TOKEN }} \
--tower-workspace-id ${{ secrets.TOWER_WORKSPACE_ID }} \
--singularity
# TODO Build from Dockerfiles
1 change: 0 additions & 1 deletion modules/nf-core/bowtie/align/environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
name: bowtie_samtools
channels:
- conda-forge
- bioconda
Expand Down
5 changes: 4 additions & 1 deletion modules/nf-core/bowtie/align/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ process BOWTIE_ALIGN {
label 'process_high'

conda "${moduleDir}/environment.yml"
container "community.wave.seqera.io/library/bowtie_samtools:772b3bee982574e4"
container ""
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'nf-core/modules/bowtie_align/singularity:bowtie_align--42e8f624908e260f' :
'community.wave.seqera.io/library/bowtie_samtools:772b3bee982574e4' }"

input:
tuple val(meta), path(reads)
Expand Down
1 change: 0 additions & 1 deletion modules/nf-core/bowtie/build/environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
name: bowtie_samtools
channels:
- conda-forge
- bioconda
Expand Down
4 changes: 3 additions & 1 deletion modules/nf-core/bowtie/build/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ process BOWTIE_BUILD {
label 'process_high'

conda "${moduleDir}/environment.yml"
container "community.wave.seqera.io/library/bowtie_samtools:772b3bee982574e4"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'nf-core/modules/bowtie_align/singularity:bowtie_align--42e8f624908e260f' :
'community.wave.seqera.io/library/bowtie_samtools:772b3bee982574e4' }"

input:
path fasta
Expand Down
1 change: 0 additions & 1 deletion modules/nf-core/samtools/view/environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
name: htslib_samtools
channels:
- conda-forge
- bioconda
Expand Down
4 changes: 3 additions & 1 deletion modules/nf-core/samtools/view/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ process SAMTOOLS_VIEW {
label 'process_low'

conda "${moduleDir}/environment.yml"
container "community.wave.seqera.io/library/htslib_samtools:1.20--11a4e6daa46930ec"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'nf-core/modules/bowtie_align/singularity:bowtie_align--42e8f624908e260f' :
'community.wave.seqera.io/library/bowtie_samtools:772b3bee982574e4' }"

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

0 comments on commit 4bb75f8

Please sign in to comment.