Skip to content

Commit

Permalink
added process create_uropa_config
Browse files Browse the repository at this point in the history
  • Loading branch information
renewiegandt committed Nov 8, 2018
1 parent 603c814 commit 9f4e480
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pipeline.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Channel.fromPath(params.input).map {it -> [it.simpleName, it]}.set {bigwig_input}
Channel.fromPath(params.genome_fasta).into {fa_overlap; fa_scan}
Channel.fromPath(params.jaspar_db).into {db_for_motivscan; db_for_tomtom}
Channel.fromPath(params.config).set {config}

process footprint_extraction {

Expand Down Expand Up @@ -212,15 +213,23 @@ process create_GTF {
}


process create_UROPA_config {
bed_for_final_filter.combine(gtf_for_uropa).set {uropa_in}


process create_uropa_config {

publishDir '/mnt/agnerds/Rene.Wiegandt/10_Master/', mode: 'copy'

input:
set val(bed), val(gtf) from uropa_in.toList()
file (conf) from config

output:
file ('uropa.config') into uropa_config

script:
"""
sed -- 's/placeholder_gtf/${gtf}/g; s/placeholder_bed/${bed}/g' ${conf} > uropa.config.final
"""
}

Expand Down

0 comments on commit 9f4e480

Please sign in to comment.