2022-07-14 23:40:58 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { EMBOSS_SEQRET } from '../../../../modules/emboss/seqret/main.nf'
|
2022-07-18 15:02:33 +00:00
|
|
|
include { GUNZIP } from '../../../modules/gunzip/main.nf'
|
|
|
|
|
|
|
|
workflow test_emboss_seqret_gb2embl {
|
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
file(params.test_data['bacteroides_fragilis']['genome']['genome_gbff_gz'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
|
|
|
GUNZIP ( input )
|
|
|
|
EMBOSS_SEQRET ( GUNZIP.out.gunzip, 'embl' )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_emboss_seqret_gb2gff {
|
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
file(params.test_data['bacteroides_fragilis']['genome']['genome_gbff_gz'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
|
|
|
GUNZIP ( input )
|
|
|
|
EMBOSS_SEQRET ( GUNZIP.out.gunzip, 'gff' )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_emboss_seqret_gb2pir {
|
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
file(params.test_data['bacteroides_fragilis']['genome']['genome_gbff_gz'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
|
|
|
GUNZIP ( input )
|
|
|
|
EMBOSS_SEQRET ( GUNZIP.out.gunzip, 'pir' )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_emboss_seqret_gb2fasta {
|
2022-07-14 23:40:58 +00:00
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
2022-07-18 15:02:33 +00:00
|
|
|
file(params.test_data['bacteroides_fragilis']['genome']['genome_gbff_gz'], checkIfExists: true)
|
2022-07-14 23:40:58 +00:00
|
|
|
]
|
|
|
|
|
2022-07-18 15:02:33 +00:00
|
|
|
GUNZIP ( input )
|
|
|
|
EMBOSS_SEQRET ( GUNZIP.out.gunzip, 'fasta' )
|
2022-07-14 23:40:58 +00:00
|
|
|
}
|