# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Dan Blankenberg <dan@bx.psu.edu> # Date 1283383585 14400 # Node ID a37dacb261540967fb21a2f5fe928464346a897a # Parent 77753eec8e43449075a8f5599860e6c5a3d7c9b3 Fix for tools/filters/wig_to_bigwig.xml when coordinates extend beyond chromosome boundaries and -clip was specified. --- a/tools/filters/wig_to_bigwig.xml +++ b/tools/filters/wig_to_bigwig.xml @@ -1,6 +1,6 @@ <tool id="wig_to_bigWig" name="Wig to bigWig" version="1.0.0"><description>converter</description> - <command>grep -v "^track" $input1 | wigToBigWig stdin $chromInfo $out_file1 -blockSize=$blockSize -itemsPerSlot=$itemsPerSlot $clip $unc</command> + <command>grep -v "^track" $input1 | wigToBigWig stdin $chromInfo $out_file1 -blockSize=$blockSize -itemsPerSlot=$itemsPerSlot $clip $unc 2>&1 || echo "Error running wigToBigWig." >&2</command><requirements><requirement type="binary">wigToBigWig</requirement></requirements>