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

ucsc: fix fasta missing variable

parent 189c84a3
No related branches found
No related tags found
No related merge requests found
...@@ -117,8 +117,8 @@ process wig_to_bigwig_sub { ...@@ -117,8 +117,8 @@ process wig_to_bigwig_sub {
script: script:
""" """
cut -f 1,2 ${fasta_idx} > ${fasta}.sizes cut -f 1,2 ${fasta_idx} > ${fasta_idx.simpleName}.sizes
wigToBigWig -clip ${w} ${fasta}.sizes ${w.simpleName}.bw wigToBigWig -clip ${w} ${fasta_idx.simpleName}.sizes ${w.simpleName}.bw
""" """
} }
...@@ -156,8 +156,8 @@ process wig2_to_bigwig2_sub { ...@@ -156,8 +156,8 @@ process wig2_to_bigwig2_sub {
script: script:
""" """
cut -f 1,2 ${fasta_idx} > ${fasta}.sizes cut -f 1,2 ${fasta_idx} > ${fasta_idx.simpleName}.sizes
wigToBigWig -clip ${w_a} ${fasta}.sizes ${w_a.simpleName}.bw wigToBigWig -clip ${w_a} ${fasta_idx.simpleName}.sizes ${w_a.simpleName}.bw
wigToBigWig -clip ${w_b} ${fasta}.sizes ${w_b.simpleName}.bw wigToBigWig -clip ${w_b} ${fasta_idx.simpleName}.sizes ${w_b.simpleName}.bw
""" """
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment