nf-core_modules/tests/modules/amplify/predict/main.nf
louperelo 6c45773c0b
add module AMPlify (#1498)
* add module AMPlify

* Apply suggestions from code review

Thanks for the review!

Co-authored-by: Moritz E. Beber <midnighter@posteo.net>

* removed trailing whitespaces

* Apply suggestions from code review

Thanks again!

Co-authored-by: Moritz E. Beber <midnighter@posteo.net>

* Apply suggestions from code review

Thank you for the suggestions!

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Apply suggestions from code review

Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>

* including review suggestions

* fix versions.yml

* add model_dir input

* add model_dir to meta.yml

* complete faa pattern in meta.yml

* add fa.gz to pattern

Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-04-20 11:53:26 +02:00

18 lines
558 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { PRODIGAL } from '../../../modules/prodigal/main.nf' addParams( options: [:] )
include { AMPLIFY_PREDICT } from '../../../../modules/amplify/predict/main.nf' addParams( options: [:] )
workflow amplify_predict {
input = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['contigs_fasta'], checkIfExists: true)
]
model_dir = []
PRODIGAL ( input, "gff" )
AMPLIFY_PREDICT ( PRODIGAL.out.amino_acid_fasta, model_dir)
}