2022-01-27 09:36:18 -05:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2022-05-03 04:42:56 -04:00
|
|
|
include { BUSCO } from '../../../modules/busco/main.nf'
|
2022-01-27 09:36:18 -05:00
|
|
|
|
2022-05-04 05:22:43 -04:00
|
|
|
workflow test_busco_genome_single_fasta {
|
|
|
|
|
|
|
|
input = [
|
2022-05-06 07:48:21 -04:00
|
|
|
[ id:'test' ], // meta map
|
2022-05-04 05:22:43 -04:00
|
|
|
file( params.test_data['bacteroides_fragilis']['genome']['genome_fna_gz'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
|
|
|
BUSCO (
|
|
|
|
input,
|
2022-09-29 16:35:51 -04:00
|
|
|
'bacteria_odb10', // Launch with 'auto' to use --auto-lineage, and specified lineages // 'auto' removed from test due to memory issues
|
2022-05-04 05:22:43 -04:00
|
|
|
[], // Download busco lineage
|
2022-08-30 04:25:01 -04:00
|
|
|
[] // No config
|
2022-05-04 05:22:43 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_busco_genome_multi_fasta {
|
2022-05-03 04:42:56 -04:00
|
|
|
|
|
|
|
input = [
|
2022-05-06 07:48:21 -04:00
|
|
|
[ id:'test' ], // meta map
|
2022-05-03 09:26:49 -04:00
|
|
|
[
|
|
|
|
file( params.test_data['bacteroides_fragilis']['genome']['genome_fna_gz'], checkIfExists: true),
|
|
|
|
file( params.test_data['candidatus_portiera_aleyrodidarum']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
]
|
2022-05-03 04:42:56 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
BUSCO (
|
|
|
|
input,
|
|
|
|
'bacteria_odb10',
|
|
|
|
[], // Download busco lineage
|
2022-08-30 04:25:01 -04:00
|
|
|
[] // No config
|
2022-05-03 04:42:56 -04:00
|
|
|
)
|
|
|
|
|
2022-05-04 05:22:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_busco_eukaryote_metaeuk {
|
|
|
|
|
|
|
|
input = [
|
2022-05-06 07:48:21 -04:00
|
|
|
[ id:'test' ], // meta map
|
2022-05-04 05:22:43 -04:00
|
|
|
file( params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
|
|
|
BUSCO (
|
|
|
|
input,
|
|
|
|
'eukaryota_odb10',
|
|
|
|
[], // Download busco lineage
|
2022-08-30 04:25:01 -04:00
|
|
|
[] // No config
|
2022-05-04 05:22:43 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_busco_eukaryote_augustus {
|
|
|
|
|
|
|
|
input = [
|
2022-05-06 07:48:21 -04:00
|
|
|
[ id:'test' ], // meta map
|
2022-05-04 05:22:43 -04:00
|
|
|
file( params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
|
|
|
BUSCO (
|
|
|
|
input,
|
|
|
|
'eukaryota_odb10',
|
|
|
|
[], // Download busco lineage
|
2022-08-30 04:25:01 -04:00
|
|
|
[] // No config
|
2022-05-04 05:22:43 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_busco_protein {
|
|
|
|
|
|
|
|
input = [
|
2022-05-06 07:48:21 -04:00
|
|
|
[ id:'test' ], // meta map
|
2022-05-04 05:22:43 -04:00
|
|
|
file( params.test_data['candidatus_portiera_aleyrodidarum']['genome']['proteome_fasta'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
|
|
|
BUSCO (
|
|
|
|
input,
|
|
|
|
'bacteria_odb10',
|
|
|
|
[], // Download busco lineage
|
2022-08-30 04:25:01 -04:00
|
|
|
[] // No config
|
2022-05-04 05:22:43 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
}
|
2022-09-29 16:35:51 -04:00
|
|
|
|
2022-05-04 05:22:43 -04:00
|
|
|
workflow test_busco_transcriptome {
|
|
|
|
|
|
|
|
input = [
|
2022-05-06 07:48:21 -04:00
|
|
|
[ id:'test' ], // meta map
|
2022-05-04 05:22:43 -04:00
|
|
|
file( params.test_data['bacteroides_fragilis']['illumina']['test1_contigs_fa_gz'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
|
|
|
BUSCO (
|
|
|
|
input,
|
|
|
|
'bacteria_odb10',
|
|
|
|
[], // Download busco lineage
|
2022-08-30 04:25:01 -04:00
|
|
|
[] // No config
|
2022-05-04 05:22:43 -04:00
|
|
|
)
|
|
|
|
|
2022-01-27 09:36:18 -05:00
|
|
|
}
|