Skip to content

Commit

Permalink
add LC_COLLATE=C to sort command (issue #85)
Browse files Browse the repository at this point in the history
  • Loading branch information
markrobinsonuzh committed Apr 27, 2019
1 parent c94ce27 commit 9b19418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Snakefile
Expand Up @@ -498,7 +498,7 @@ rule bigwig:
"envs/environment.yaml"
shell:
"echo 'bedtools version:\n' > {log}; bedtools --version >> {log}; "
"bedtools genomecov -split -ibam {input.bam} -bg | sort -k1,1 -k2,2n > "
"bedtools genomecov -split -ibam {input.bam} -bg | LC_COLLATE=C sort -k1,1 -k2,2n > "
"{params.STARbigwigdir}/{wildcards.sample}_Aligned.sortedByCoord.out.bedGraph; "
"bedGraphToBigWig {params.STARbigwigdir}/{wildcards.sample}_Aligned.sortedByCoord.out.bedGraph "
"{input.chrl} {output}; rm -f {params.STARbigwigdir}/{wildcards.sample}_Aligned.sortedByCoord.out.bedGraph"
Expand Down

0 comments on commit 9b19418

Please sign in to comment.