Standardizing process names to BEDTOOLS_FOO and same with some variables

This commit is contained in:
JoseEspinosa 2020-07-14 17:25:32 +02:00
parent 99a8196776
commit 8c3d7aa2d8
3 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -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}
"""
}

View file

@ -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()
}