Skip to content

Commit 3a8ca31

Browse files
committed
Fix lintting errors
- Correct meta.yml output - tag all modules included in tests - remove final TODOs
1 parent d873c67 commit 3a8ca31

File tree

20 files changed

+35
-100
lines changed

20 files changed

+35
-100
lines changed

modules/nf-core/autocycler/cluster/environment.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,4 @@ channels:
44
- conda-forge
55
- bioconda
66
dependencies:
7-
# TODO nf-core: List required Conda package(s).
8-
# Software MUST be pinned to channel (i.e. "bioconda"), version (i.e. "1.10").
9-
# For Conda, the build (i.e. "h9402c20_2") must be EXCLUDED to support installation on different operating systems.
107
- "bioconda::autocycler=0.5.2"

modules/nf-core/autocycler/cluster/tests/main.nf.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ nextflow_process {
55
process "AUTOCYCLER_CLUSTER"
66

77
tag "modules"
8-
tag "modules_"
8+
tag "modules_nfcore"
99
tag "autocycler"
10+
tag "autocycler/compress"
1011
tag "autocycler/cluster"
1112

1213
test("sarscov2 - assembly - fasta") {

modules/nf-core/autocycler/combine/environment.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,4 @@ channels:
44
- conda-forge
55
- bioconda
66
dependencies:
7-
# TODO nf-core: List required Conda package(s).
8-
# Software MUST be pinned to channel (i.e. "bioconda"), version (i.e. "1.10").
9-
# For Conda, the build (i.e. "h9402c20_2") must be EXCLUDED to support installation on different operating systems.
107
- "bioconda::autocycler=0.5.2"

modules/nf-core/autocycler/combine/meta.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ output:
3535
description: |
3636
Groovy Map containing sample information
3737
e.g. `[ id:'sample1' ]`
38-
- "*/consensus_assembly.fasta":
38+
- "$prefix/consensus_assembly.fasta":
3939
type: file
4040
description: Consensus genome sequence generated by Autocycler.
4141
pattern: "*/consensus_assembly.fasta"
@@ -47,21 +47,22 @@ output:
4747
description: |
4848
Groovy Map containing sample information
4949
e.g. `[ id:'sample1' ]`
50-
- "*/consensus_assembly.gfa":
50+
- "$prefix/consensus_assembly.gfa":
5151
type: file
5252
description: Consensus assembly graph generated by Autocycler.
53-
pattern: "*/consensus_assembly.gfa"
53+
pattern: "$prefix/consensus_assembly.gfa"
5454
ontologies:
55-
- edam: "http://edamontology.org/format_3975" #GFA1 stats:
55+
- edam: "http://edamontology.org/format_3975" #GFA1
56+
stats:
5657
- - meta:
5758
type: map
5859
description: |
5960
Groovy Map containing sample information
6061
e.g. `[ id:'sample1' ]`
61-
- "*/consensus_assembly.yaml":
62+
- "$prefix/consensus_assembly.yaml":
6263
type: file
6364
description: Run statistics for the combine step.
64-
pattern: "*/consensus_assembly.yaml"
65+
pattern: "$prefix/consensus_assembly.yaml"
6566
ontologies:
6667
- edam: "http://edamontology.org/format_3750" # YAML
6768
versions:

modules/nf-core/autocycler/combine/tests/main.nf.test

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ nextflow_process {
55
process "AUTOCYCLER_COMBINE"
66

77
tag "modules"
8-
tag "modules_"
8+
tag "modules_nfcore"
99
tag "autocycler"
10+
tag "autocycler/compress"
11+
tag "autocycler/cluster"
12+
tag "autocycler/trim"
13+
tag "autocycler/resolve"
1014
tag "autocycler/combine"
1115

1216
test("sarscov2 - assemblies -fasta") {

modules/nf-core/autocycler/compress/environment.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,4 @@ channels:
44
- conda-forge
55
- bioconda
66
dependencies:
7-
# TODO nf-core: List required Conda package(s).
8-
# Software MUST be pinned to channel (i.e. "bioconda"), version (i.e. "1.10").
9-
# For Conda, the build (i.e. "h9402c20_2") must be EXCLUDED to support installation on different operating systems.
107
- "bioconda::autocycler=0.5.2"

modules/nf-core/autocycler/compress/meta.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ output:
3838
description: |
3939
Groovy Map containing sample information
4040
e.g. `[ id:'sample1' ]`
41-
- "*/*.gfa":
41+
- "$prefix/*.gfa":
4242
type: file
4343
description: Assembly graph files ready for clustering.
44-
pattern: "*/*.gfa"
44+
pattern: "$prefix/*.gfa"
4545
ontologies:
4646
- edam: "http://edamontology.org/format_3975" #GFA1
4747

@@ -51,7 +51,7 @@ output:
5151
description: |
5252
Groovy Map containing sample information
5353
e.g. `[ id:'sample1' ]`
54-
- "*/*.yaml":
54+
- "$prefix/*.yaml":
5555
type: file
5656
description: Summary statistics generated during compression.
5757
pattern: "*/*.yaml"

modules/nf-core/autocycler/compress/tests/main.nf.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ nextflow_process {
55
process "AUTOCYCLER_COMPRESS"
66

77
tag "modules"
8-
tag "modules_"
8+
tag "modules_nfcore"
99
tag "autocycler"
1010
tag "autocycler/compress"
1111

modules/nf-core/autocycler/resolve/environment.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,4 @@ channels:
44
- conda-forge
55
- bioconda
66
dependencies:
7-
# TODO nf-core: List required Conda package(s).
8-
# Software MUST be pinned to channel (i.e. "bioconda"), version (i.e. "1.10").
9-
# For Conda, the build (i.e. "h9402c20_2") must be EXCLUDED to support installation on different operating systems.
107
- "bioconda::autocycler=0.5.2"

modules/nf-core/autocycler/resolve/main.nf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@ process AUTOCYCLER_RESOLVE {
3636
stub:
3737
def args = task.ext.args ?: ''
3838
def prefix = task.ext.prefix ?: "${meta.id}"
39-
// TODO nf-core: A stub section should mimic the execution of the original module as best as possible
40-
// Have a look at the following examples:
41-
// Simple example: https://github.com/nf-core/modules/blob/818474a292b4860ae8ff88e149fbcda68814114d/modules/nf-core/bcftools/annotate/main.nf#L47-L63
42-
// Complex example: https://github.com/nf-core/modules/blob/818474a292b4860ae8ff88e149fbcda68814114d/modules/nf-core/bedtools/split/main.nf#L38-L54
4339
"""
44-
4540
touch 3_bridged.gfa
4641
touch 4_merged.gfa
4742
touch 5_final.gfa

0 commit comments

Comments
 (0)