Skip to content

Commit

Permalink
Merge pull request #34 from hoelzer/nf_version
Browse files Browse the repository at this point in the history
nf version check failed for new v21
  • Loading branch information
MarieLataretu authored May 17, 2021
2 parents bbcdc55 + 3c5c681 commit d1eff47
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
5 changes: 0 additions & 5 deletions clean.nf
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/usr/bin/env nextflow

if( !nextflow.version.matches('20.01+') ) {
println "This workflow requires Nextflow version 20.01 or greater -- You are running version $nextflow.version"
exit 1
}

nextflow.enable.dsl=2

/*
Expand Down
2 changes: 1 addition & 1 deletion configs/container.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
process {
withLabel: basics { container = 'nanozoo/basics:1.0--9992be5' }
withLabel: minimap2 { container = 'nanozoo/minimap2:2.17--7066fef' }
withLabel: minimap2 { container = 'nanozoo/minimap2:2.18--618fb68' }
withLabel: bbmap { container = 'nanozoo/bbmap:38.79--8e915d7' }
withLabel: multiqc { container = 'nanozoo/multiqc:1.9--aba729b' }
withLabel: fastqc { container = 'nanozoo/fastqc:0.11.9--f61b8b4' }
Expand Down
4 changes: 2 additions & 2 deletions envs/minimap2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ channels:
- bioconda
- conda-forge
dependencies:
- minimap2=2.17
- samtools=1.9
- minimap2=2.18
- samtools=1.11
- pigz=2.3.4
1 change: 1 addition & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
manifest {
mainScript = 'clean.nf'
nextflowVersion = '>=21.04.0'
}

// default parameters
Expand Down

0 comments on commit d1eff47

Please sign in to comment.