Skip to content

Commit

Permalink
Update pipeline.nf
Browse files Browse the repository at this point in the history
renewiegandt authored Dec 15, 2018
1 parent 1bb8521 commit 76b07f9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pipeline.nf
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
params.tfbs_path=""
params.create_known_tfbs_path = "./"
params.help = 0
params.out = "./out/"

//peak_calling
params.window_length = 200
@@ -57,9 +58,9 @@
params.organism="hg38"
params.tissue=""

if (params.bigwig == "" || params.bed == "" || params.genome_fasta == "" || params.motif_db == "" || params.config == "" || "${params.help}" == "1"){
if (params.bigwig == "" || params.bed == "" || params.genome_fasta == "" || params.motif_db == "" || params.config == "" || "${params.help}" != "0"){
log.info """
Usage: nextflow run pipeline.nf --bigwig [BigWig-file] --bed [BED-file] --genome_fasta [FASTA-file] --motif_db [MEME-file]
Usage: nextflow run pipeline.nf --bigwig [BigWig-file] --bed [BED-file] --genome_fasta [FASTA-file] --motif_db [MEME-file] --config [UROPA-config-file]
Required arguments:
--bigwig Path to BigWig-file
@@ -69,9 +70,12 @@ Required arguments:
--config Path to UROPA configuration file
--create_known_tfbs_path Path to directory where output from tfbsscan (known motifs) are stored.
Path can be set as tfbs_path in next run. (Default: './')
--out Output Directory (Default: './out/')
Optional arguments:
--tfbs_path Path to directory with output from tfbsscan. If given tfbsscan will not be run.
--help [0|1] 1 to show this help message. (Default: 0)
--tfbs_path Path to directory with output from tfbsscan. If given tfbsscan will not be run.
Footprint extraction:
--window_length INT This parameter sets the length of a sliding window. (Default: 200)

0 comments on commit 76b07f9

Please sign in to comment.