Skip to content

Commit 9239d22

Browse files
committed
Fix linting
1 parent 4016d20 commit 9239d22

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

modules/nf-core/pbmarkdup/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ channels:
44
- conda-forge
55
- bioconda
66
dependencies:
7-
- bioconda::pbmarkdup==1.2.0
7+
- bioconda::pbmarkdup=1.2.0

modules/nf-core/pbmarkdup/main.nf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ process PBMARKDUP {
1111
tuple val(meta), path(input)
1212

1313
output:
14-
tuple val(meta), path("*.{bam,f*a,/.*f.*\\.gz/}") , emit: markduped
15-
path "versions.yml" , emit: versions
14+
tuple val(meta), path("${prefix}.${suffix}"), emit: markduped
15+
path "versions.yml" , emit: versions
1616

1717
when:
1818
task.ext.when == null || task.ext.when
1919

2020
script:
2121
def args = task.ext.args ?: ''
2222

23-
def prefix = task.ext.prefix ?: "${meta.id}"
24-
def suffix = input.getExtension()
23+
prefix = task.ext.prefix ?: "${meta.id}"
24+
suffix = input.getExtension()
2525

2626
"""
2727
pbmarkdup \\
@@ -37,8 +37,8 @@ process PBMARKDUP {
3737
"""
3838

3939
stub:
40-
def prefix = task.ext.prefix ?: "${meta.id}"
41-
def suffix = input.getExtension()
40+
prefix = task.ext.prefix ?: "${meta.id}"
41+
suffix = input.getExtension()
4242
"""
4343
touch ${prefix}.${suffix}
4444

modules/nf-core/pbmarkdup/meta.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/meta-schema.json
22
name: "pbmarkdup"
33
description: |
4-
Takes one or multiple sequencing chips of an amplified library as HiFi reads and marks or removes
4+
Takes one or multiple sequencing chips of an amplified library as HiFi reads and marks or removes
55
duplicates.
66
keywords:
77
- markdup
@@ -11,9 +11,9 @@ keywords:
1111
tools:
1212
- pbmarkdup:
1313
description: |
14-
pbmarkdup identifies and marks duplicate reads in PacBio HiFi (CCS) data. It clusters
15-
highly similar CCS reads to detect PCR duplicates and flags them in the BAM output
16-
(duplicate bit 0x400), optionally removing duplicates.
14+
pbmarkdup identifies and marks duplicate reads in PacBio HiFi (CCS) data. It clusters
15+
highly similar CCS reads to detect PCR duplicates and flags them in the BAM output
16+
(duplicate bit 0x400), optionally removing duplicates.
1717
homepage: https://github.com/PacificBiosciences/pbmarkdup
1818
documentation: https://github.com/PacificBiosciences/pbmarkdup
1919
licence: ["BSD-3-Clause"]
@@ -31,20 +31,24 @@ input:
3131
pattern: "*.{bam,f*a,/.*f.*\\.gz/}"
3232
ontologies:
3333
- edam: http://edamontology.org/format_2546 # FASTA-like
34+
- edam: "http://edamontology.org/format_1930" # FASTQ
35+
- edam: "http://edamontology.org/format_2572" # BAM
3436
output:
3537
markduped:
3638
- - meta:
3739
type: map
3840
description: |
3941
Groovy Map containing sample information
4042
e.g. `[ id:'sample1' ]`
41-
- "*.${suffix}":
43+
- ${prefix}.${suffix}:
4244
type: file
4345
description: |
4446
Markduplicated sequencing reads in the same format as the input file.
4547
pattern: "*.{bam,f*a,/.*f.*\\.gz/}"
4648
ontologies:
47-
- edam: http://edamontology.org/format_3003
49+
- edam: http://edamontology.org/format_2546 # FASTA-like
50+
- edam: "http://edamontology.org/format_1930" # FASTQ
51+
- edam: "http://edamontology.org/format_2572" # BAM
4852
versions:
4953
- versions.yml:
5054
type: file
@@ -55,4 +59,4 @@ output:
5559
authors:
5660
- "@sainsachiko"
5761
maintainers:
58-
- "@sainsachiko"
62+
- "@sainsachiko"

modules/nf-core/pbmarkdup/tests/main.nf.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nextflow_process {
66
process "PBMARKDUP"
77

88
tag "modules"
9-
tag "modules_sangertol"
9+
tag "modules_nfcore"
1010
tag "pbmarkdup"
1111

1212
config './nextflow.config'

0 commit comments

Comments
 (0)