# HG changeset patch # User iuc # Date 1705607100 0 # Node ID a2f83a375bf2fe2d2d75ce2c535b2f57496b2fe1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/wigtobigwig commit ab36a3ca5954067b66e6290b988a94919c111db0 diff -r 000000000000 -r a2f83a375bf2 readme.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/readme.rst Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,33 @@ +wigtobigwig +=========== + + +Derived from a built-in filter tool + +History +======= + +- 1.1.2 Moved to IUC + + + +Wrapper License (MIT/BSD Style) +=============================== + +Permission to use, copy, modify, and distribute this software and its +documentation with or without modifications and for any purpose and +without fee is hereby granted, provided that any copyright notices +appear in all copies and that both those copyright notices and this +permission notice appear in supporting documentation, and that the names +of the contributors or copyright holders not be used in advertising or +publicity pertaining to distribution of the software without specific +prior permission. + +THE CONTRIBUTORS AND COPYRIGHT HOLDERS OF THIS SOFTWARE DISCLAIM ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE +CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff -r 000000000000 -r a2f83a375bf2 test-data/1.bedgraph --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/1.bedgraph Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,30 @@ +chr1 0 14361 0 +chr1 14361 14829 1 +chr1 14829 14969 0 +chr1 14969 15038 1 +chr1 15038 15795 0 +chr1 15795 15947 1 +chr1 15947 16606 0 +chr1 16606 16765 1 +chr1 16765 16857 0 +chr1 16857 17055 1 +chr1 17055 17232 0 +chr1 17232 17368 1 +chr1 17368 17605 0 +chr1 17605 17742 1 +chr1 17742 17914 0 +chr1 17914 18061 1 +chr1 18061 18267 0 +chr1 18267 18366 1 +chr1 18366 24737 0 +chr1 24737 24891 1 +chr1 24891 29320 0 +chr1 29320 29370 1 +chr1 29370 34610 0 +chr1 34610 35174 2 +chr1 35174 35276 0 +chr1 35276 35481 2 +chr1 35481 35720 0 +chr1 35720 36081 2 +chr1 36081 69090 0 +chr1 69090 69093 3 diff -r 000000000000 -r a2f83a375bf2 test-data/1.bigwig Binary file test-data/1.bigwig has changed diff -r 000000000000 -r a2f83a375bf2 test-data/1.wig --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/1.wig Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,3 @@ +track type=wiggle_0 name="tb_knownGene" description="table browser query on knownGene" visibility=3 url= +chr7 127475 127491 1 +chr7 1274801 1294883 2 diff -r 000000000000 -r a2f83a375bf2 test-data/3.bigwig Binary file test-data/3.bigwig has changed diff -r 000000000000 -r a2f83a375bf2 test-data/dbkeys.loc.test --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/dbkeys.loc.test Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,3 @@ +# +hg17 hg17 ${__HERE__}/hg17.len + diff -r 000000000000 -r a2f83a375bf2 test-data/hg17.fa diff -r 000000000000 -r a2f83a375bf2 test-data/hg17.len --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/hg17.len Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,25 @@ +dummy_chr 100000000 +super_1 100000000 +chr1 100000000 +chr7 200000000 +chrX 200000000 +phiX174 100000000 +random_phiX_region_1 100000000 +random_phiX_region_2 100000000 +random_phiX_region_3 100000000 +random_phiX_region_4 100000000 +random_phiX_region_5 100000000 +random_phiX_region_6 100000000 +random_phiX_region_7 100000000 +random_phiX_region_8 100000000 +random_phiX_region_9 100000000 +random_phiX_region_10 100000000 +random_phiX_region_11 100000000 +random_phiX_region_12 100000000 +random_phiX_region_13 100000000 +random_phiX_region_14 100000000 +random_phiX_region_15 100000000 +random_phiX_region_16 100000000 +random_phiX_region_17 100000000 +random_phiX_region_18 100000000 +random_phiX_region_19 100000000 diff -r 000000000000 -r a2f83a375bf2 test-data/merlin.bigwig Binary file test-data/merlin.bigwig has changed diff -r 000000000000 -r a2f83a375bf2 test-data/merlin.len --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/merlin.len Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,1 @@ +Merlin 172788 diff -r 000000000000 -r a2f83a375bf2 test-data/merlin.wig --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/merlin.wig Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,2 @@ +Merlin 49 1452 1 +Merlin 1457 3630 1 diff -r 000000000000 -r a2f83a375bf2 tool-data/dbkeys.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/dbkeys.loc.sample Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,1 @@ +# \ No newline at end of file diff -r 000000000000 -r a2f83a375bf2 tool_data_table_conf.xml.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_data_table_conf.xml.sample Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,7 @@ + + + + value, name, len_path + +
+
diff -r 000000000000 -r a2f83a375bf2 tool_data_table_conf.xml.test --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_data_table_conf.xml.test Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,8 @@ + + + + value, name, len_path + +
+
+ diff -r 000000000000 -r a2f83a375bf2 wigtobigwig.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wigtobigwig.xml Thu Jan 18 19:45:00 2024 +0000 @@ -0,0 +1,171 @@ + + bedGraph or Wig to bigWig converter + + 447 + + + UCSC_Genome_Browser_Utilities + + + ucsc-wigtobigwig + + + + + + + trackless && + wigToBigWig trackless + #if $hist_or_builtin.genome_type_select == "indexed": + '$hist_or_builtin.index.fields.len_path' + #else + '$chromfile' + #end if + '$out_file1' + #if $settings.settingsType == "full": + -blockSize=${settings.blockSize} + -itemsPerSlot=${settings.itemsPerSlot} + ${settings.clip} + ${settings.unc} + #else: + -clip + #end if + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**Purpose** + +This tool converts bedgraph or wiggle data into bigWig data for visualisation in browsers. The JBrowse tool can display these with other interesting tracks. + +**Technical format details** + +- **Wiggle format**: The .wig format is line-oriented. Wiggle data is preceded by a UCSC track definition line. Following the track definition line is the track data, which can be entered in three different formats described below. + + - **BED format** with no declaration line and four columns of data:: + + chromA chromStartA chromEndA dataValueA + chromB chromStartB chromEndB dataValueB + + - **variableStep** two column data; started by a declaration line and followed with chromosome positions and data values:: + + variableStep chrom=chrN [span=windowSize] + chromStartA dataValueA + chromStartB dataValueB + + - **fixedStep** single column data; started by a declaration line and followed with data values:: + + fixedStep chrom=chrN start=position step=stepInterval [span=windowSize] + dataValue1 + dataValue2 + +- The **BedGraph format** is described in detail at the `UCSC Bioinformatics website`_ + +.. _UCSC Bioinformatics website: http://genome.ucsc.edu/goldenPath/help/bedgraph.html + + + + 10.1093/bioinformatics/btq351 + +