nf-core_modules/tests/modules/snapaligner/paired/main.nf
Matthias De Smet 09125979cc
Tool/snap aligner paired (#1509)
* first commit

* edit main.nf

* edit tests

* run prettier

* fix test

* indent script

* Update modules/snapaligner/paired/meta.yml

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Update modules/snapaligner/paired/meta.yml

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* fix version nr

* update meta

* fix versions

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-12 11:02:10 +02:00

17 lines
694 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { SNAPALIGNER_INDEX } from '../../../../modules/snapaligner/index/main.nf'
include { SNAPALIGNER_PAIRED } from '../../../../modules/snapaligner/paired/main.nf'
workflow test_snapaligner_paired {
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)]
]
SNAPALIGNER_INDEX ( file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true),[],[],[])
SNAPALIGNER_PAIRED ( input, SNAPALIGNER_INDEX.out.index )
}