# HG changeset patch # User iuc # Date 1476713615 14400 # Node ID 7308cc546a3699adb7b9586473505c44c598cb3d # Parent c78cf6fe3018f142f2198394a8642be1ebf90a98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811 diff -r c78cf6fe3018 -r 7308cc546a36 annotateBed.xml --- a/annotateBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/annotateBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -1,4 +1,4 @@ - + annotate coverage of features from multiple files macros.xml @@ -52,10 +52,10 @@ diff -r c78cf6fe3018 -r 7308cc546a36 closestBed.xml --- a/closestBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/closestBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -25,7 +25,7 @@ #end if -a '$inputA' -b '$inputBs' - > $output + > '$output' ]]> diff -r c78cf6fe3018 -r 7308cc546a36 clusterBed.xml --- a/clusterBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/clusterBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -10,16 +10,16 @@ bedtools cluster $strand -d $distance - -i $inputA - > $output + -i '$inputA' + > '$output' ]]> - - diff -r c78cf6fe3018 -r 7308cc546a36 coverageBed.xml --- a/coverageBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/coverageBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -1,4 +1,4 @@ - + of features in file B on the features in file A (bedtools coverage) macros.xml @@ -24,7 +24,7 @@ - $output + > '$output' ]]> diff -r c78cf6fe3018 -r 7308cc546a36 flankBed.xml --- a/flankBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/flankBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -11,7 +11,7 @@ $pct $strand -g $genome - -i $input + -i '$input' #if $addition.addition_select == 'b': -b $addition.b @@ -19,7 +19,7 @@ -l $addition.l -r $addition.r #end if - > $output + > '$output' ]]> diff -r c78cf6fe3018 -r 7308cc546a36 genomeCoverageBed.xml --- a/genomeCoverageBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/genomeCoverageBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -1,4 +1,4 @@ - + compute the coverage over an entire genome macros.xml @@ -158,7 +158,7 @@ * 5. The fraction of bases on chromosome (or entire genome) with depth equal to column 2. **Example Output**: - + chr2L 0 1379895 23011544 0.0599653 chr2L 1 837250 23011544 0.0363839 chr2L 2 904442 23011544 0.0393038 diff -r c78cf6fe3018 -r 7308cc546a36 getfastaBed.xml --- a/getfastaBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/getfastaBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -24,7 +24,6 @@ - @@ -36,7 +35,7 @@ - + "${output}" ]]> - diff -r c78cf6fe3018 -r 7308cc546a36 jaccardBed.xml --- a/jaccardBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/jaccardBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -12,9 +12,9 @@ $split $reciprocal -f $overlap - -a $inputA - -b $inputB - > $output + -a '$inputA' + -b '$inputB' + > '$output' ]]> @@ -22,7 +22,7 @@ - diff -r c78cf6fe3018 -r 7308cc546a36 macros.xml --- a/macros.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/macros.xml Mon Oct 17 10:13:35 2016 -0400 @@ -1,11 +1,11 @@ - bedtools + bedtools - 2.24 + 2.26.0 @@ -55,19 +55,19 @@ diff -r c78cf6fe3018 -r 7308cc546a36 makeWindowsBed.xml --- a/makeWindowsBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/makeWindowsBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -9,9 +9,9 @@ $output + > '$output' ]]> diff -r c78cf6fe3018 -r 7308cc546a36 mapBed.xml --- a/mapBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/mapBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -1,4 +1,4 @@ - + apply a function to a column for each overlapping interval macros.xml @@ -26,7 +26,7 @@ - diff -r c78cf6fe3018 -r 7308cc546a36 mergeBed.xml --- a/mergeBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/mergeBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -1,4 +1,4 @@ - + combine overlapping/nearby intervals into a single interval macros.xml @@ -120,12 +120,12 @@ ========================================================================== -*-d* Controlling how close two features must be in order to merge +*-d* Controlling how close two features must be in order to merge ========================================================================== -By default, only overlapping or book-ended features are combined into a new -feature. However, one can force ``merge`` to combine more distant features -with the ``-d`` option. For example, were one to set ``-d`` to 1000, any -features that overlap or are within 1000 base pairs of one another will be +By default, only overlapping or book-ended features are combined into a new +feature. However, one can force ``merge`` to combine more distant features +with the ``-d`` option. For example, were one to set ``-d`` to 1000, any +features that overlap or are within 1000 base pairs of one another will be combined. :: @@ -133,7 +133,7 @@ $ cat A.bed chr1 100 200 chr1 501 1000 - + $ bedtools merge -i A.bed chr1 100 200 chr1 501 1000 diff -r c78cf6fe3018 -r 7308cc546a36 multiCov.xml --- a/multiCov.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/multiCov.xml Mon Oct 17 10:13:35 2016 -0400 @@ -13,10 +13,10 @@ #end for bedtools multicov - -bed $input + -bed '$input' -bams #for $i, $bam in enumerate( $bams ): - ${i}.bam + '${i}.bam' #end for $strand -f $overlap @@ -26,7 +26,7 @@ $duplicate $failed $proper - > $output + > '$output' ]]> @@ -43,7 +43,7 @@ label="Include duplicate reads" help="Default counts non-duplicates only. (-D)" /> - $output + -fi '$fasta' + -bed '$input' + > '$output' ]]> diff -r c78cf6fe3018 -r 7308cc546a36 overlapBed.xml --- a/overlapBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/overlapBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -8,9 +8,9 @@ $output + > '$output' ]]> diff -r c78cf6fe3018 -r 7308cc546a36 shuffleBed.xml --- a/shuffleBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/shuffleBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -8,8 +8,8 @@ $output + > '$output' ]]> diff -r c78cf6fe3018 -r 7308cc546a36 slopBed.xml --- a/slopBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/slopBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -10,8 +10,8 @@ bedtools slop $pct $strand - -g $genome - -i $inputA + -g '$genome' + -i '$inputA' #if $addition.addition_select == 'b': -b $addition.b #else: @@ -19,7 +19,7 @@ -r $addition.r #end if $header - > $output + > '$output' ]]> diff -r c78cf6fe3018 -r 7308cc546a36 sortBed.xml --- a/sortBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/sortBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -7,14 +7,14 @@ $output + sortBed + -i '$input' + $option + > '$output' ]]> - + @@ -27,7 +27,7 @@ - + diff -r c78cf6fe3018 -r 7308cc546a36 spacingBed.xml --- a/spacingBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/spacingBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -8,8 +8,8 @@ $output + -i '$input' + > '$output' ]]> diff -r c78cf6fe3018 -r 7308cc546a36 subtractBed.xml --- a/subtractBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/subtractBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -9,11 +9,11 @@ $output + > '$output' ]]> diff -r c78cf6fe3018 -r 7308cc546a36 test-data/annotateBed_result.bed --- a/test-data/annotateBed_result.bed Mon Oct 03 07:36:08 2016 -0400 +++ b/test-data/annotateBed_result.bed Mon Oct 17 10:13:35 2016 -0400 @@ -1,4 +1,4 @@ -# annotateBed2.bed annotateBed3.bed annotateBed4.bed +# annotateBed2.bed annotateBed3.bed annotateBed4.bed chr1 100 200 nasty 1 - 0.500000 1.000000 0.300000 chr2 500 1000 ugly 2 + 0.000000 0.600000 1.000000 chr3 1000 5000 big 3 - 1.000000 0.250000 0.000000 diff -r c78cf6fe3018 -r 7308cc546a36 test-data/makeWindowBed_result3.bed --- a/test-data/makeWindowBed_result3.bed Mon Oct 03 07:36:08 2016 -0400 +++ b/test-data/makeWindowBed_result3.bed Mon Oct 17 10:13:35 2016 -0400 @@ -1,100 +1,100 @@ -chr1 0 1971955 -chr1 1971955 3943910 -chr1 3943910 5915865 -chr1 5915865 7887820 -chr1 7887820 9859775 -chr1 9859775 11831730 -chr1 11831730 13803685 -chr1 13803685 15775640 -chr1 15775640 17747595 -chr1 17747595 19719550 -chr1 19719550 21691505 -chr1 21691505 23663460 -chr1 23663460 25635415 -chr1 25635415 27607370 -chr1 27607370 29579325 -chr1 29579325 31551280 -chr1 31551280 33523235 -chr1 33523235 35495190 -chr1 35495190 37467145 -chr1 37467145 39439100 -chr1 39439100 41411055 -chr1 41411055 43383010 -chr1 43383010 45354965 -chr1 45354965 47326920 -chr1 47326920 49298875 -chr1 49298875 51270830 -chr1 51270830 53242785 -chr1 53242785 55214740 -chr1 55214740 57186695 -chr1 57186695 59158650 -chr1 59158650 61130605 -chr1 61130605 63102560 -chr1 63102560 65074515 -chr1 65074515 67046470 -chr1 67046470 69018425 -chr1 69018425 70990380 -chr1 70990380 72962335 -chr1 72962335 74934290 -chr1 74934290 76906245 -chr1 76906245 78878200 -chr1 78878200 80850155 -chr1 80850155 82822110 -chr1 82822110 84794065 -chr1 84794065 86766020 -chr1 86766020 88737975 -chr1 88737975 90709930 -chr1 90709930 92681885 -chr1 92681885 94653840 -chr1 94653840 96625795 -chr1 96625795 98597750 -chr1 98597750 100569705 -chr1 100569705 102541660 -chr1 102541660 104513615 -chr1 104513615 106485570 -chr1 106485570 108457525 -chr1 108457525 110429480 -chr1 110429480 112401435 -chr1 112401435 114373390 -chr1 114373390 116345345 -chr1 116345345 118317300 -chr1 118317300 120289255 -chr1 120289255 122261210 -chr1 122261210 124233165 -chr1 124233165 126205120 -chr1 126205120 128177075 -chr1 128177075 130149030 -chr1 130149030 132120985 -chr1 132120985 134092940 -chr1 134092940 136064895 -chr1 136064895 138036850 -chr1 138036850 140008805 -chr1 140008805 141980760 -chr1 141980760 143952715 -chr1 143952715 145924670 -chr1 145924670 147896625 -chr1 147896625 149868580 -chr1 149868580 151840535 -chr1 151840535 153812490 -chr1 153812490 155784445 -chr1 155784445 157756400 -chr1 157756400 159728355 -chr1 159728355 161700310 -chr1 161700310 163672265 -chr1 163672265 165644220 -chr1 165644220 167616175 -chr1 167616175 169588130 -chr1 169588130 171560085 -chr1 171560085 173532040 -chr1 173532040 175503995 -chr1 175503995 177475950 -chr1 177475950 179447905 -chr1 179447905 181419860 -chr1 181419860 183391815 -chr1 183391815 185363770 -chr1 185363770 187335725 -chr1 187335725 189307680 -chr1 189307680 191279635 -chr1 191279635 193251590 -chr1 193251590 195223545 -chr1 195223545 197195432 +chr1 0 1971954 +chr1 1971954 3943908 +chr1 3943908 5915862 +chr1 5915862 7887816 +chr1 7887816 9859770 +chr1 9859770 11831724 +chr1 11831724 13803678 +chr1 13803678 15775632 +chr1 15775632 17747586 +chr1 17747586 19719540 +chr1 19719540 21691494 +chr1 21691494 23663448 +chr1 23663448 25635402 +chr1 25635402 27607356 +chr1 27607356 29579310 +chr1 29579310 31551264 +chr1 31551264 33523218 +chr1 33523218 35495172 +chr1 35495172 37467126 +chr1 37467126 39439080 +chr1 39439080 41411034 +chr1 41411034 43382988 +chr1 43382988 45354942 +chr1 45354942 47326896 +chr1 47326896 49298850 +chr1 49298850 51270804 +chr1 51270804 53242758 +chr1 53242758 55214712 +chr1 55214712 57186666 +chr1 57186666 59158620 +chr1 59158620 61130574 +chr1 61130574 63102528 +chr1 63102528 65074482 +chr1 65074482 67046436 +chr1 67046436 69018390 +chr1 69018390 70990344 +chr1 70990344 72962298 +chr1 72962298 74934252 +chr1 74934252 76906206 +chr1 76906206 78878160 +chr1 78878160 80850114 +chr1 80850114 82822068 +chr1 82822068 84794022 +chr1 84794022 86765976 +chr1 86765976 88737930 +chr1 88737930 90709884 +chr1 90709884 92681838 +chr1 92681838 94653792 +chr1 94653792 96625746 +chr1 96625746 98597700 +chr1 98597700 100569654 +chr1 100569654 102541608 +chr1 102541608 104513562 +chr1 104513562 106485516 +chr1 106485516 108457470 +chr1 108457470 110429424 +chr1 110429424 112401378 +chr1 112401378 114373332 +chr1 114373332 116345286 +chr1 116345286 118317240 +chr1 118317240 120289194 +chr1 120289194 122261148 +chr1 122261148 124233102 +chr1 124233102 126205056 +chr1 126205056 128177010 +chr1 128177010 130148964 +chr1 130148964 132120918 +chr1 132120918 134092872 +chr1 134092872 136064826 +chr1 136064826 138036780 +chr1 138036780 140008734 +chr1 140008734 141980688 +chr1 141980688 143952642 +chr1 143952642 145924596 +chr1 145924596 147896550 +chr1 147896550 149868504 +chr1 149868504 151840458 +chr1 151840458 153812412 +chr1 153812412 155784366 +chr1 155784366 157756320 +chr1 157756320 159728274 +chr1 159728274 161700228 +chr1 161700228 163672182 +chr1 163672182 165644136 +chr1 165644136 167616090 +chr1 167616090 169588044 +chr1 169588044 171559998 +chr1 171559998 173531952 +chr1 173531952 175503906 +chr1 175503906 177475860 +chr1 177475860 179447814 +chr1 179447814 181419768 +chr1 181419768 183391722 +chr1 183391722 185363676 +chr1 185363676 187335630 +chr1 187335630 189307584 +chr1 189307584 191279538 +chr1 191279538 193251492 +chr1 193251492 195223446 +chr1 195223446 197195432 diff -r c78cf6fe3018 -r 7308cc546a36 test-data/makeWindowBed_result4.bed --- a/test-data/makeWindowBed_result4.bed Mon Oct 03 07:36:08 2016 -0400 +++ b/test-data/makeWindowBed_result4.bed Mon Oct 17 10:13:35 2016 -0400 @@ -1,45 +1,45 @@ -chr5 60000 60667 -chr5 60667 61334 -chr5 61334 62001 -chr5 62001 62668 -chr5 62668 63335 -chr5 63335 64002 -chr5 64002 64669 -chr5 64669 65336 -chr5 65336 66003 -chr5 66003 66670 -chr5 66670 67337 -chr5 67337 68004 -chr5 68004 68671 -chr5 68671 69338 -chr5 69338 70000 -chr5 73000 74134 -chr5 74134 75268 -chr5 75268 76402 -chr5 76402 77536 -chr5 77536 78670 -chr5 78670 79804 -chr5 79804 80938 -chr5 80938 82072 -chr5 82072 83206 -chr5 83206 84340 -chr5 84340 85474 -chr5 85474 86608 -chr5 86608 87742 -chr5 87742 88876 -chr5 88876 90000 -chr5 100000 100067 -chr5 100067 100134 -chr5 100134 100201 -chr5 100201 100268 -chr5 100268 100335 -chr5 100335 100402 -chr5 100402 100469 -chr5 100469 100536 -chr5 100536 100603 -chr5 100603 100670 -chr5 100670 100737 -chr5 100737 100804 -chr5 100804 100871 -chr5 100871 100938 -chr5 100938 101000 +chr5 60000 60666 +chr5 60666 61332 +chr5 61332 61998 +chr5 61998 62664 +chr5 62664 63330 +chr5 63330 63996 +chr5 63996 64662 +chr5 64662 65328 +chr5 65328 65994 +chr5 65994 66660 +chr5 66660 67326 +chr5 67326 67992 +chr5 67992 68658 +chr5 68658 69324 +chr5 69324 70000 +chr5 73000 74133 +chr5 74133 75266 +chr5 75266 76399 +chr5 76399 77532 +chr5 77532 78665 +chr5 78665 79798 +chr5 79798 80931 +chr5 80931 82064 +chr5 82064 83197 +chr5 83197 84330 +chr5 84330 85463 +chr5 85463 86596 +chr5 86596 87729 +chr5 87729 88862 +chr5 88862 90000 +chr5 100000 100066 +chr5 100066 100132 +chr5 100132 100198 +chr5 100198 100264 +chr5 100264 100330 +chr5 100330 100396 +chr5 100396 100462 +chr5 100462 100528 +chr5 100528 100594 +chr5 100594 100660 +chr5 100660 100726 +chr5 100726 100792 +chr5 100792 100858 +chr5 100858 100924 +chr5 100924 101000 diff -r c78cf6fe3018 -r 7308cc546a36 tool_dependencies.xml --- a/tool_dependencies.xml Mon Oct 03 07:36:08 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ - - - - - - - - - diff -r c78cf6fe3018 -r 7308cc546a36 unionBedGraphs.xml --- a/unionBedGraphs.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/unionBedGraphs.xml Mon Oct 17 10:13:35 2016 -0400 @@ -132,7 +132,7 @@ **Examples using the Zero Coverage checkbox** Output example (*without* checking "Report regions with zero coverage"):: - + chr1 900 1000 0 60 0 chr1 1000 1500 10 60 0 chr1 1500 1600 0 60 0 @@ -145,7 +145,7 @@ Output example (*with* checking "Report regions with zero coverage"). The lines marked with (*) are not covered in any input file, but are still reported (The asterisk marking does not appear in the file).:: - + chr1 0 900 0 0 0 (*) chr1 900 1000 0 60 0 chr1 1000 1500 10 60 0 @@ -157,7 +157,7 @@ chr1 2050 2070 20 0 80 chr1 2070 2090 20 0 0 chr1 2090 2100 20 0 20 - chr1 2100 247249719 0 0 0 (*) + chr1 2100 247249719 0 0 0 (*) ------ @@ -167,7 +167,7 @@ The default value is '0', but you can use any other value. Output example with **filler = N/A**:: - + chr1 900 1000 N/A 60 N/A chr1 1000 1500 10 60 N/A chr1 1500 1600 N/A 60 N/A @@ -204,14 +204,14 @@ The input BedGraph files can contain any kind of value in the fourth column, not necessarily a numeric value. Input Example:: - - File-1 File-2 + + File-1 File-2 chr1 200 300 Sample1 chr1 100 240 0.75 chr1 400 450 Sample1 chr1 250 700 0.43 chr1 530 600 Sample2 Output Example:: - + chr1 100 200 0 0.75 chr1 200 240 Sample1 0.75 chr1 240 250 Sample1 0 diff -r c78cf6fe3018 -r 7308cc546a36 windowBed.xml --- a/windowBed.xml Mon Oct 03 07:36:08 2016 -0400 +++ b/windowBed.xml Mon Oct 17 10:13:35 2016 -0400 @@ -9,11 +9,11 @@ $output + > '$output' ]]>