nf-core_modules/tests/modules/seqtk/rename/main.nf
Hunter Seabolt a69faefee8
Seqtk rename (#1304)
* Added seqtk/rename module and tests code

* Updated files and testing code for seqtk rename

* Added meta map to seqtk/rename module def

* updated prefix parameter usage

* updated test.yml to remove local filepaths --> change to output

* Added empty line to main.nf
2022-02-16 17:28:08 +01:00

19 lines
561 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { SEQTK_RENAME } from '../../../../modules/seqtk/rename/main.nf'
workflow test_seqtk_rename {
input = [ [ id:'test' ], // meta map
[ file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true) ]
]
SEQTK_RENAME ( input )
}
workflow test_seqtk_rename_fq {
input = [ [ id:'test' ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true) ]
]
SEQTK_RENAME ( input )
}