mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
e8b33e6eb1
* hifiasm copied from fastqc * hifiasm tests init from fastqc * meta.yml init; test.yml and main.nf for printing version * Add hifiasm version printing * Removed spaced on an empty line * Reverted hifiasm from main * Added genomecov scale module * Updated tagging * Removed extra module - began merging * Removed extra module tests * Updated genomecov to take a scale value * Updated line endings * Removed redundant test * Update tests/modules/bedtools/genomecov/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Added checking for existing -bg arg * Update modules/bedtools/genomecov/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/bedtools/genomecov/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> Co-authored-by: Sviatoslav Sidorov <sviatoslav.sidorov@crick.ac.uk> Co-authored-by: Svyatoslav Sidorov <svet.sidorov@gmail.com> Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
57 lines
1.5 KiB
Text
57 lines
1.5 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { BEDTOOLS_GENOMECOV } from '../../../../modules/bedtools/genomecov/main.nf' addParams( options: [suffix: '_out'] )
|
|
|
|
workflow test_bedtools_genomecov_noscale {
|
|
input = [
|
|
[ id:'test'],
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true),
|
|
1
|
|
]
|
|
|
|
sizes = []
|
|
extension = 'txt'
|
|
|
|
BEDTOOLS_GENOMECOV ( input, sizes, extension )
|
|
}
|
|
|
|
workflow test_bedtools_genomecov_nonbam_noscale {
|
|
input = [
|
|
[ id:'test'],
|
|
file(params.test_data['sarscov2']['genome']['baits_bed'], checkIfExists: true),
|
|
1
|
|
]
|
|
|
|
sizes = file(params.test_data['sarscov2']['genome']['genome_sizes'], checkIfExists: true)
|
|
extension = 'txt'
|
|
|
|
BEDTOOLS_GENOMECOV ( input, sizes, extension )
|
|
}
|
|
|
|
workflow test_bedtools_genomecov_scale {
|
|
input = [
|
|
[ id:'test'],
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true),
|
|
0.5
|
|
]
|
|
|
|
sizes = file('dummy_chromosome_sizes')
|
|
extension = 'txt'
|
|
|
|
BEDTOOLS_GENOMECOV ( input, sizes, extension )
|
|
}
|
|
|
|
workflow test_bedtools_genomecov_nonbam_scale {
|
|
input = [
|
|
[ id:'test'],
|
|
file(params.test_data['sarscov2']['genome']['baits_bed'], checkIfExists: true),
|
|
0.5
|
|
]
|
|
|
|
sizes = file(params.test_data['sarscov2']['genome']['genome_sizes'], checkIfExists: true)
|
|
extension = 'txt'
|
|
|
|
BEDTOOLS_GENOMECOV ( input, sizes, extension )
|
|
}
|