Skip to content
Snippets Groups Projects
Verified Commit d042ca7d authored by Laurent Modolo's avatar Laurent Modolo
Browse files

danpos: fix call to wig_to_bedgraph

parent 66d36c04
No related branches found
No related tags found
No related merge requests found
...@@ -74,11 +74,12 @@ awk -v FS='\t' -v OFS='\t' 'FNR > 1 { print \$1, \$2-1, \$3, "Interval_"NR-1, \$ ...@@ -74,11 +74,12 @@ awk -v FS='\t' -v OFS='\t' 'FNR > 1 { print \$1, \$2-1, \$3, "Interval_"NR-1, \$
workflow dpos_bw { workflow dpos_bw {
take: take:
fasta
fastq fastq
bw bw
main: main:
dpos_wig(fastq, bigwig2_to_wig2(bw)) dpos_wig(fastq, bigwig2_to_wig2(bw))
wig_to_bedgraph(dpos_wig.out.wig) wig_to_bedgraph(fasta, dpos_wig.out.wig)
emit: emit:
bedgraph = wig_to_bedgraph.out.bedgraph bedgraph = wig_to_bedgraph.out.bedgraph
...@@ -133,6 +134,7 @@ awk -v FS='\t' -v OFS='\t' 'FNR > 1 { print \$1, \$2-1, \$3, "Interval_"NR-1, \$ ...@@ -133,6 +134,7 @@ awk -v FS='\t' -v OFS='\t' 'FNR > 1 { print \$1, \$2-1, \$3, "Interval_"NR-1, \$
workflow dwig_bwvsbw { workflow dwig_bwvsbw {
take: take:
fasta
fastq fastq
bw_a bw_a
bw_b bw_b
...@@ -142,7 +144,7 @@ workflow dwig_bwvsbw { ...@@ -142,7 +144,7 @@ workflow dwig_bwvsbw {
bigwig2_to_wig2(bw_a), bigwig2_to_wig2(bw_a),
bigwig2_to_wig2(bw_b), bigwig2_to_wig2(bw_b),
) )
wig_to_bedgraph(dpos_wigvswig.out.wig) wig_to_bedgraph(fasta, dpos_wigvswig.out.wig)
emit: emit:
bedgraph = wig_to_bedgraph.out.bedgraph bedgraph = wig_to_bedgraph.out.bedgraph
...@@ -254,8 +256,8 @@ workflow dpeak_bw { ...@@ -254,8 +256,8 @@ workflow dpeak_bw {
fastq fastq
bw bw
main: main:
dpeak_wig(fasta, fastq, bigwig2_to_wig2(bw)) dpeak_wig(fastq, bigwig2_to_wig2(bw))
wig2_to_bedgraph2(dpeak_wig.out.wig) wig2_to_bedgraph2(fasta, dpeak_wig.out.wig)
emit: emit:
bedgraph = wig2_to_bedgraph2.out.bedgraph bedgraph = wig2_to_bedgraph2.out.bedgraph
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment