mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Standardizing process names to BEDTOOLS_FOO and same with some variables
This commit is contained in:
parent
99a8196776
commit
8c3d7aa2d8
3 changed files with 10 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
# You can use this file to create a conda environment for this pipeline:
|
||||
# conda env create -f environment.yml
|
||||
name: nf-core-bedtools-complementbed
|
||||
name: nf-core-bedtools-complement
|
||||
channels:
|
||||
- conda-forge
|
||||
- bioconda
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
process COMPLEMENT_BED {
|
||||
process BEDTOOLS_COMPLEMENT {
|
||||
tag {input_file}
|
||||
|
||||
container 'quay.io/biocontainers/bedtools:2.29.2--hc088bd4_0'
|
||||
|
||||
input:
|
||||
path (input_file)
|
||||
path (fasta_sizes)
|
||||
val (complementbed_args)
|
||||
path (input_file)
|
||||
path (fasta_sizes)
|
||||
val (bedtools_complement_args)
|
||||
|
||||
output:
|
||||
stdout()
|
||||
stdout()
|
||||
|
||||
script:
|
||||
"""
|
||||
bedtools complement -i ${input_file} -g ${fasta_sizes} ${complementbed_args}
|
||||
bedtools complement -i ${input_file} -g ${fasta_sizes} ${bedtools_complement_args}
|
||||
"""
|
||||
}
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
nextflow.preview.dsl = 2
|
||||
|
||||
params.complementbed_args = ''
|
||||
params.bedtools_complement_args = ''
|
||||
|
||||
include check_output from '../../../../tests/functions/check_process_outputs.nf' // params(params)
|
||||
include COMPLEMENT_BED from '../main.nf' params(params)
|
||||
include BEDTOOLS_COMPLEMENT from '../main.nf' params(params)
|
||||
|
||||
// Define input channels
|
||||
ch_input = Channel.fromPath('./input_data/A.bed')
|
||||
|
@ -13,6 +13,6 @@ chrom_sizes = Channel.fromPath('./input_data/genome.sizes')
|
|||
|
||||
// Run the workflow
|
||||
workflow {
|
||||
COMPLEMENT_BED(ch_input, chrom_sizes, params.complementbed_args)
|
||||
BEDTOOLS_COMPLEMENT(ch_input, chrom_sizes, params.bedtools_complement_args)
|
||||
// .check_output()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue