nf-core_modules/tests/modules/diamond/blastp/main.nf

16 lines
639 B
Text
Raw Normal View History

Diamond (#710) * Added diamond * minor tweaks & yml fix * Fixed spacing issues due to failing lint * Update modules/diamond/blastp/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/blastp/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/blastp/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/blastp/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/blastp/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/blastx/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/blastx/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/blastx/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/blastx/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/makedb/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/makedb/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/modules/diamond/blastp/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/modules/diamond/blastx/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/modules/diamond/blastx/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/modules/diamond/blastp/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/diamond/blastp/meta.yml Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-09-23 08:13:04 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { DIAMOND_MAKEDB } from '../../../../modules/diamond/makedb/main.nf' addParams( options: [:] )
include { DIAMOND_BLASTP } from '../../../../modules/diamond/blastp/main.nf' addParams( options: [ suffix: '.diamond_blastp' ] )
workflow test_diamond_blastp {
db = [ file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true) ]
fasta = [ file(params.test_data['sarscov2']['genome']['transcriptome_fasta'], checkIfExists: true) ]
DIAMOND_MAKEDB ( db )
DIAMOND_BLASTP ( [ [id:'test'], fasta ], DIAMOND_MAKEDB.out.db )
}