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

nf_modules: add ucsc bg to bw sorting step

parent b0f22ec2
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,8 @@ process bedgraph_to_bigwig {
# transform bed file of start-stop chromosome size to stop chromosome size
awk -v OFS="\\t" '{print \$1, \$3}' ${bed} > chromsize.txt
bedGraphToBigWig ${bg} \
sort -T ./ -k1,1 -k2,2n ${bg} > \
bedGraphToBigWig - \
chromsize.txt \
${bg.simpleName}_norm.bw
"""
......
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