mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Update bedtools modules with config logic (#369)
This commit is contained in:
parent
83a500e6b0
commit
c7155d023e
8 changed files with 16 additions and 16 deletions
|
@ -6,9 +6,9 @@ include { BEDTOOLS_COMPLEMENT } from '../../../../software/bedtools/complement/m
|
|||
|
||||
workflow test_bedtools_complement {
|
||||
input = [ [ id:'test'],
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/genome/bed/test.bed", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true)
|
||||
]
|
||||
sizes = file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.sizes", checkIfExists: true)
|
||||
sizes = file(params.test_data['sarscov2']['genome']['genome_sizes'], checkIfExists: true)
|
||||
|
||||
BEDTOOLS_COMPLEMENT ( input, sizes )
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ include { BEDTOOLS_GENOMECOV } from '../../../../software/bedtools/genomecov/mai
|
|||
|
||||
workflow test_bedtools_genomecov {
|
||||
input = [ [ id:'test'],
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.bam", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true)
|
||||
]
|
||||
|
||||
BEDTOOLS_GENOMECOV ( input )
|
||||
|
|
|
@ -5,8 +5,8 @@ nextflow.enable.dsl = 2
|
|||
include { BEDTOOLS_GETFASTA } from '../../../../software/bedtools/getfasta/main.nf' addParams( options: [:] )
|
||||
|
||||
workflow test_bedtools_getfasta {
|
||||
bed = [ file("${launchDir}/tests/data/genomics/sarscov2/genome/bed/test.bed", checkIfExists: true) ]
|
||||
fasta = [ file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.fasta", checkIfExists: true) ]
|
||||
|
||||
bed = file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true)
|
||||
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||||
|
||||
BEDTOOLS_GETFASTA ( bed, fasta )
|
||||
}
|
||||
|
|
|
@ -6,8 +6,8 @@ include { BEDTOOLS_INTERSECT } from '../../../../software/bedtools/intersect/mai
|
|||
|
||||
workflow test_bedtools_intersect {
|
||||
input = [ [ id:'test' ],
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/genome/bed/test.bed", checkIfExists: true),
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/genome/bed/test2.bed", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true),
|
||||
file(params.test_data['sarscov2']['genome']['test2_bed'], checkIfExists: true)
|
||||
]
|
||||
|
||||
BEDTOOLS_INTERSECT ( input )
|
||||
|
|
|
@ -6,9 +6,9 @@ include { BEDTOOLS_MASKFASTA } from '../../../../software/bedtools/maskfasta/mai
|
|||
|
||||
workflow test_bedtools_maskfasta {
|
||||
bed = [ [ id:'test'],
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/genome/bed/test.bed", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true)
|
||||
]
|
||||
fasta = [ file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.fasta", checkIfExists: true) ]
|
||||
|
||||
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||||
|
||||
BEDTOOLS_MASKFASTA ( bed, fasta )
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ include { BEDTOOLS_MERGE } from '../../../../software/bedtools/merge/main.nf' ad
|
|||
|
||||
workflow test_bedtools_merge {
|
||||
input = [ [ id:'test'],
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/genome/bed/test.bed", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true)
|
||||
]
|
||||
|
||||
BEDTOOLS_MERGE ( input )
|
||||
|
|
|
@ -6,10 +6,10 @@ include { BEDTOOLS_SLOP } from '../../../../software/bedtools/slop/main.nf' addP
|
|||
|
||||
workflow test_bedtools_slop {
|
||||
input = [ [ id:'test'],
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/genome/bed/test.bed", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true)
|
||||
]
|
||||
sizes = file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.sizes", checkIfExists: true)
|
||||
|
||||
sizes = file(params.test_data['sarscov2']['genome']['genome_sizes'], checkIfExists: true)
|
||||
|
||||
BEDTOOLS_SLOP ( input, sizes )
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ include { BEDTOOLS_SORT } from '../../../../software/bedtools/sort/main.nf' addP
|
|||
|
||||
workflow test_bedtools_sort {
|
||||
input = [ [ id:'test'],
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/genome/bed/test.bed", checkIfExists: true)
|
||||
file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true)
|
||||
]
|
||||
|
||||
BEDTOOLS_SORT ( input )
|
||||
|
|
Loading…
Reference in a new issue