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

ucsc: add scape :55

parent 3b38b233
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ process bigwig_to_wig {
bigWigToBedGraph ${params.bigwig_to_wig} \
${bg} \
${bg.simpleName}.bg
awk '{if(NR>1) {if($1!=lastChrom){printf("variableStep chrom=%s\n",$1);lastChrom=$1;}print $2,$4}}' ${bg.simpleName}.bg > ${bg.simpleName}.wig
awk '{if(NR>1) {if(\$1!=lastChrom){printf("variableStep chrom=%s\\n",\$1);lastChrom=\$1;}print \$2,\$4}}' ${bg.simpleName}.bg > ${bg.simpleName}.wig
"""
}
......
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