Add suggestions from code review

This commit is contained in:
Mahesh Binzer-Panchal 2022-05-09 11:15:14 +00:00
parent 32b0fdc9d9
commit a43bc940d6
3 changed files with 29 additions and 6 deletions

View file

@ -37,6 +37,7 @@ output:
- meryl_db:
type: directory
description: A Meryl k-mer database
pattern: "*.meryldb"
authors:
- "@mahesh-panchal"

View file

@ -4,12 +4,25 @@ nextflow.enable.dsl = 2
include { MERYL_COUNT } from '../../../../modules/meryl/count/main.nf'
workflow test_meryl_count {
workflow test_meryl_count_single_end {
input = [
[ id:'test' ], // meta map
[ id:'test' , single_end: true ], // meta map
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
]
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 )
}

View file

@ -1,8 +1,17 @@
- name: meryl count test_meryl_count
command: nextflow run tests/modules/meryl/count -entry test_meryl_count -c tests/config/nextflow.config
- name: meryl count test_meryl_count_single_end
command: nextflow run tests/modules/meryl/count -entry test_meryl_count_single_end -c tests/config/nextflow.config
tags:
- meryl
- meryl/count
- meryl
files:
- 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