mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
Add suggestions from code review
This commit is contained in:
parent
32b0fdc9d9
commit
a43bc940d6
3 changed files with 29 additions and 6 deletions
|
@ -37,6 +37,7 @@ output:
|
||||||
- meryl_db:
|
- meryl_db:
|
||||||
type: directory
|
type: directory
|
||||||
description: A Meryl k-mer database
|
description: A Meryl k-mer database
|
||||||
|
pattern: "*.meryldb"
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- "@mahesh-panchal"
|
- "@mahesh-panchal"
|
||||||
|
|
|
@ -4,12 +4,25 @@ nextflow.enable.dsl = 2
|
||||||
|
|
||||||
include { MERYL_COUNT } from '../../../../modules/meryl/count/main.nf'
|
include { MERYL_COUNT } from '../../../../modules/meryl/count/main.nf'
|
||||||
|
|
||||||
workflow test_meryl_count {
|
workflow test_meryl_count_single_end {
|
||||||
|
|
||||||
input = [
|
input = [
|
||||||
[ id:'test' ], // meta map
|
[ id:'test' , single_end: true ], // meta map
|
||||||
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
|
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
|
||||||
]
|
]
|
||||||
|
|
||||||
MERYL_COUNT ( input )
|
MERYL_COUNT ( input )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
workflow test_meryl_count_paired_end {
|
||||||
|
|
||||||
|
input = [
|
||||||
|
[ id:'test' , single_end: false ], // meta map
|
||||||
|
[
|
||||||
|
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
|
||||||
|
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true)
|
||||||
|
]
|
||||||
|
]
|
||||||
|
|
||||||
|
MERYL_COUNT ( input )
|
||||||
|
}
|
||||||
|
|
|
@ -1,8 +1,17 @@
|
||||||
- name: meryl count test_meryl_count
|
- name: meryl count test_meryl_count_single_end
|
||||||
command: nextflow run tests/modules/meryl/count -entry test_meryl_count -c tests/config/nextflow.config
|
command: nextflow run tests/modules/meryl/count -entry test_meryl_count_single_end -c tests/config/nextflow.config
|
||||||
tags:
|
tags:
|
||||||
- meryl
|
|
||||||
- meryl/count
|
- meryl/count
|
||||||
|
- meryl
|
||||||
files:
|
files:
|
||||||
- path: output/meryl/versions.yml
|
- path: output/meryl/versions.yml
|
||||||
md5sum: 9bc9470c2eff996026781d5ff8c2b369
|
md5sum: 5fe537d873925ccbcc4edf0983e9eda0
|
||||||
|
|
||||||
|
- name: meryl count test_meryl_count_paired_end
|
||||||
|
command: nextflow run tests/modules/meryl/count -entry test_meryl_count_paired_end -c tests/config/nextflow.config
|
||||||
|
tags:
|
||||||
|
- meryl/count
|
||||||
|
- meryl
|
||||||
|
files:
|
||||||
|
- path: output/meryl/versions.yml
|
||||||
|
md5sum: 4961f13cfb60ba8764ed666e70dbf12c
|
||||||
|
|
Loading…
Reference in a new issue