Skip to content

Commit b528669

Browse files
authored
Merge pull request #18 from B-UMMI/dev-dsl2
LMAS 2.0.0: Update to DSL2
2 parents 5ff4bcd + a6efa74 commit b528669

29 files changed

+1856
-1331
lines changed

.github/workflows/ci_nextflow.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ jobs:
2525
--reference "test/data/tiny_reference.fasta" --max_cpus 2 --max_memory 4.GB \
2626
--abyss false --bcalm false --gatb_minia false --idba false --metahipmer2 false \
2727
--minia false --megahit false --metaspades false --spades false --unicycler false \
28-
--velvetoptimiser false
28+
--velvetoptimiser false
29+
FILE=report/index.html
30+
if [ ! -f "$FILE" ]; then echo "Run failed!"; exit 1; else echo "Run successful!"; fi

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,4 @@ docs/resources/.DS_Store
160160
.DS_Store
161161
results/
162162
report/
163+
!modules/

LMAS

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
3+
# This is a wrapper around LMAS-nf.
4+
# By default `LMAS` will attempt to execute the main Nextflow pipeline.
5+
# If no user input is provided, it prints the help message
6+
7+
# If no user input, print usage
8+
if [[ $# == 0 ]]; then
9+
nextflow run main.nf --help
10+
exit
11+
fi
12+
13+
# Run the pipeline
14+
nextflow run main.nf $@

0 commit comments

Comments
 (0)