nf-core_modules/tests/software/nanoplot/main.nf
Yuk Kei Wan 16e8d21477
Nanoplot and sequencing_summary.txt for Nanopore test data (#364)
* add nanoplot

* add Nanopore 100 read subset bam and fastq

* add nanoplot module and sequencing_summary.txt

* Update pytest_software.yml

* Update main.nf

* test directory path

* testing one output file

* Update main.nf

* fix typo

* remove path to test outputs (it worked locally)

* use test_data.config in test

* add meta.yml

* allowing either summary.txt or fastq.gz inputs

* fix linting and test.yml

* test whether github check can catch the output

* add summary.txt test output paths

* check Nanoplot-report.html output
2021-04-09 08:31:38 +01:00

21 lines
608 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { NANOPLOT } from '../../../software/nanoplot/main.nf' addParams( options: [:] )
workflow test_nanoplot_summary {
def input = []
input = [ [ id:'test' ], // meta map
[ file(params.test_data['sarscov2']['nanopore']['test_sequencing_summary'], checkIfExists: true) ] ]
NANOPLOT ( input )
}
workflow test_nanoplot_fastq {
def input = []
input = [ [ id:'test' ], // meta map
[ file(params.test_data['sarscov2']['nanopore']['test_fastq_gz'], checkIfExists: true) ] ]
NANOPLOT ( input )
}