# HG changeset patch # User iuc # Date 1556531662 14400 # Node ID df28283b37786b8639d218b09ceeab5ad7c4b827 # Parent 5074e81a5ce1fa169f40fce1dc12b453fdb8a14e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95 diff -r 5074e81a5ce1 -r df28283b3778 annotateBed.xml --- a/annotateBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/annotateBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,65 +1,65 @@ - + annotate coverage of features from multiple files macros.xml - - "${output}" -]]> - + -names + #for $bed in $names.beds: + '${bed.inputName}' + #end for +#else: + -files + #for $bed in $names.beds: + '$bed' + #end for + -names + #for $bed in $names.beds: + '${bed.display_name}' + #end for +#end if +$strand +$counts +$both +> '${output}' + ]]> - - - + + - + - + - + - - + + help="Default is to report solely the fraction of the input file covered by each file" /> - + @@ -69,14 +69,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 bamToBed.xml --- a/bamToBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/bamToBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,4 +1,4 @@ - + converter macros.xml @@ -7,41 +7,38 @@ samtools - - "${output}" -]]> - +bedtools bamtobed +$option +$ed_score +$split +#if $tag and str($tag).strip(): + -tag '${tag}' +#end if +-i ./input.bam +> '${output}' + ]]> - + - - + + - + @@ -57,8 +54,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 bamToFastq.xml --- a/bamToFastq.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/bamToFastq.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,28 +1,28 @@ - + macros.xml - - bedtools bamtofastq - $tags - -i '$input' - -fq '$output' - #if $fq2: - -fq2 '$output2' - #end if - + - - - + + + - - + + fq2 is True @@ -32,14 +32,12 @@ - - + + ]]> diff -r 5074e81a5ce1 -r df28283b3778 bed12ToBed6.xml --- a/bed12ToBed6.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/bed12ToBed6.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,22 +1,20 @@ - + converter macros.xml - - '$output' -]]> - + '$output' + ]]> - + - + @@ -24,14 +22,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 bedToBam.xml --- a/bedToBam.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/bedToBam.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,31 +1,29 @@ - + converter macros.xml - - '$output' -]]> - + '$output' + ]]> - - + + help="If Selected, bedToBam will convert blocked BED features (e.g., gene annotaions) into 'spliced' BAM alignments by creating an appropriate CIGAR string"/> - + - + @@ -35,14 +33,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 bedToIgv.xml --- a/bedToIgv.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/bedToIgv.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,26 +1,24 @@ - + create batch script for taking IGV screenshots macros.xml - - '$output' -]]> - + '$output' + ]]> - + @@ -30,17 +28,17 @@ - - - - - - - + + + + + + + - + @@ -48,8 +46,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 bedpeToBam.xml --- a/bedpeToBam.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/bedpeToBam.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,28 +1,25 @@ - + converter macros.xml - - '$output' -]]> - + '$output' + ]]> - + - + - + @@ -32,8 +29,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 closestBed.xml --- a/closestBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/closestBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,4 +1,4 @@ - + find the closest, potentially non-overlapping interval macros.xml @@ -24,13 +24,15 @@ #if str($overlap_with.source) == "data_table": -b '$overlap_with.table.fields.path' #else - #set inputBs = "' '".join([str( $file ) for $file in $overlap_with.inputB]) - -b '$inputBs' + -b + #for $file in $overlap_with.inputB: + '$file' + #end for #end if > '$output' ]]> - + @@ -46,7 +48,7 @@ - + @@ -100,7 +102,7 @@ - + diff -r 5074e81a5ce1 -r df28283b3778 clusterBed.xml --- a/clusterBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/clusterBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,29 +1,27 @@ - + cluster overlapping/nearby intervals macros.xml - - '$output' -]]> - + '$output' + ]]> - - + - - + @@ -31,8 +29,7 @@ - - in.sorted.bed for BED files). @REFERENCES@ -]]> - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 complementBed.xml --- a/complementBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/complementBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,24 +1,22 @@ - + Extract intervals not represented by an interval file macros.xml - - "$output" -]]> - + '$output' + ]]> - + - + @@ -28,8 +26,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 coverageBed.xml --- a/coverageBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/coverageBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,4 +1,4 @@ - + of features in file B on the features in file A (bedtools coverage) macros.xml @@ -7,87 +7,75 @@ samtools - - '$output' -]]> - + '$output' + ]]> - + - - - + + + - - + + - - + - - + - + - - - - - - - - - - - + + + - + + help="If -e is used with -f 0.90 and -F 0.10 this requires that either 90% of A is covered OR 10% of B is covered. Without -e, both fractions would have to be satisfied" /> - + @@ -115,13 +103,12 @@ - + - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 expandBed.xml --- a/expandBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/expandBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,24 +1,22 @@ - + replicate lines based on lists of values in columns macros.xml - - "${output}" -]]> - + '${output}' + ]]> - + - + @@ -32,14 +30,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 fisherBed.xml --- a/fisherBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/fisherBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,37 +1,35 @@ - + calculate Fisher statistic between two feature files macros.xml - - '$output' -]]> - + '$output' + ]]> - - + + - + - + @@ -42,14 +40,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 flankBed.xml --- a/flankBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/flankBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,40 +1,38 @@ - + create new intervals from the flanks of existing intervals macros.xml - - '$output' -]]> - +#if $addition.addition_select == 'b': + -b $addition.b +#else: + -l $addition.l + -r $addition.r +#end if +> '$output' + ]]> - + - - + + help="For example, if used, -l 500 for a negative-stranded feature, it will add 500 bp to the end coordinate" /> - + @@ -55,8 +53,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 genomeCoverageBed.xml --- a/genomeCoverageBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/genomeCoverageBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,41 +1,38 @@ - + compute the coverage over an entire genome macros.xml - - '$output' -]]> - + #if str($report.scale): + -scale $report.scale + #end if +#else: + #if str($report.max): + -max $report.max + #end if +#end if +$d +$dz +$five +$three +> '$output' + ]]> @@ -43,11 +40,11 @@ - + - + @@ -56,35 +53,35 @@ - - + + help="Each bedGraph coverage value is multiplied by this factor before being reported. Useful for normalizing coverage by, e.g., reads per million (RPM)." /> - + - + - - - - + + + + - + @@ -100,8 +97,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 getfastaBed.xml --- a/getfastaBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/getfastaBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,36 +1,34 @@ - + use intervals to extract sequences from a FASTA file macros.xml - - - + - + - - + + - + @@ -38,19 +36,17 @@ - - - + + + help="If the feature occupies the antisense strand, the sequence will be reverse complemented" /> - + @@ -72,8 +68,7 @@ - -chrom>:<start>-<end>”. @@ -87,7 +82,6 @@ 2. You can use the UNIX fold command to set the line width of the FASTA output. For example, fold -w 60 will make each line of the FASTA file have at most 60 nucleotides for easy viewing. @REFERENCES@ -]]> - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 groupbyBed.xml --- a/groupbyBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/groupbyBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,32 +1,30 @@ - + group by common cols and summarize other cols macros.xml - - "${output}" -]]> - + '${output}' + ]]> - + - + help="Columns may be comma-separated with each column must be explicitly listed. Or, ranges (e.g. 1-4) are also allowed."> - - + + @@ -38,7 +36,7 @@ - + @@ -63,14 +61,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 intersectBed.xml --- a/intersectBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/intersectBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,4 +1,4 @@ - + find overlapping intervals in various ways macros.xml @@ -8,76 +8,82 @@ '${output}' -]]> - + $fraction_cond.reciprocal_cond.disjoint + #end if +#end if +$invert +$once +$header +$modes +$sorted +#if str($sorted) != '': + #if str($reduce_or_iterate.reduce_or_iterate_selector) == 'iterate' and $reduce_or_iterate.inputB.is_of_type('bam'): + -g <(samtools view -H $reduce_or_iterate.inputB | tr ':' '\t' | grep SN | cut -f 3,5) + #else if str($reduce_or_iterate.reduce_or_iterate_selector) == 'reduce' and str($reduce_or_iterate.inputB) != 'None' and $reduce_or_iterate.inputB[0].is_of_type('bam'): + -g <(samtools view -H $reduce_or_iterate.inputB[0] | tr ':' '\t' | grep SN | cut -f 3,5) + #end if +#end if +$bed +$count +> '${output}' + ]]> - + - - - + + + - - + + - - + - + - + @@ -87,46 +93,45 @@ - - - + + + - + - - + - + - + help="Just report the fact >=1 hit was found" /> - + help="Reports 0 for A entries that have no overlap with B" /> - - - + @@ -137,7 +142,7 @@ - + @@ -145,7 +150,7 @@ - + @@ -153,7 +158,7 @@ - + @@ -161,10 +166,10 @@ - + - + @@ -175,7 +180,7 @@ - + @@ -185,12 +190,12 @@ - + - + @@ -199,7 +204,7 @@ - + @@ -208,7 +213,7 @@ - + @@ -217,7 +222,7 @@ - + @@ -226,7 +231,7 @@ - + @@ -235,7 +240,7 @@ - + @@ -244,7 +249,7 @@ - + @@ -253,7 +258,7 @@ - + @@ -262,7 +267,7 @@ - + @@ -271,7 +276,7 @@ - + @@ -280,12 +285,12 @@ - + - + @@ -293,12 +298,12 @@ - + - + @@ -309,12 +314,12 @@ - + - + @@ -325,12 +330,12 @@ - + - + @@ -362,8 +367,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 jaccardBed.xml --- a/jaccardBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/jaccardBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,35 +1,37 @@ - + calculate the distribution of relative distances between two files macros.xml - - '$output' -]]> - + '$output' + ]]> - - + + + - + help="That is, only report hits in B that overlap A on the same strand. By default, overlaps are reported without respect to strand." /> - + @@ -44,8 +46,7 @@ - - + in.sorted.bed for BED files). @REFERENCES@ - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 linksBed.xml --- a/linksBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/linksBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,26 +1,24 @@ - + create a HTML page of links to UCSC locations macros.xml - - "${output}" -]]> - + '${output}' + ]]> - - + - - + + @@ -41,14 +39,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 macros.xml --- a/macros.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/macros.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,14 +1,14 @@ - bedtools + bedtools - 2.27.1 + 2.27.1 1.9 bed,bedgraph,gff,vcf - bed,bedgraph,gff,vcf + BED/bedGraph/GFF/VCF @@ -22,44 +22,49 @@ - + - - + + + + + - - - + - + - - + + - + - + help="If set, the coverage will be calculated based the spliced intervals only. For BAM files, this inspects the CIGAR N operation to infer the blocks for computing coverage. For BED12 files, this inspects the BlockCount, BlockStarts, and BlockEnds fields (i.e., columns 10,11,12). If this option is not set, coverage will be calculated based on the interval's START/END coordinates, and would include introns in the case of RNAseq data." /> - + @@ -107,38 +112,38 @@ #end if -#if $input_type.input_type_select == "bed": +#if $input_type.input_type_select == "bam": + -ibam '$input_type.input' +#else: -i '$input_type.input' #if $input_type.genome_file_opts.genome_file_opts_selector == "loc": -g '$input_type.genome_file_opts.genome.fields.len_path' #elif $input_type.genome_file_opts.genome_file_opts_selector == "hist": -g '$input_type.genome_file_opts.genome' #end if -#elif $input_type.input_type_select == "bam": - -ibam '$input_type.input' #end if - + help="This option requires -D and follows its orientation rules for determining what is 'upstream'" /> - + help="This option requires -D and follows its orientation rules for determining what is 'downstream'" /> - + help="This option requires -D and follows its orientation rules for determining what is 'upstream'" /> - + help="This option requires -D and follows its orientation rules for determining what is 'downstream'" /> - + @@ -151,8 +156,8 @@ - + @@ -162,9 +167,9 @@ - + help="Comma separated"> @@ -201,7 +206,7 @@ - + diff -r 5074e81a5ce1 -r df28283b3778 makeWindowsBed.xml --- a/makeWindowsBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/makeWindowsBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,39 +1,37 @@ - + make interval windows across a genome macros.xml - - '$output' -]]> - + '$output' + ]]> - + - + @@ -41,11 +39,11 @@ - + - @@ -53,23 +51,23 @@ label="Specify Step size? i.e. how many base pairs to step before creating a new window" help="Used to create 'sliding' windows. Defaults to window size (non-sliding windows)."> - + - + - - + help="I.e. same number of windows, with varying window sizes" /> + - + @@ -115,14 +113,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 mapBed.xml --- a/mapBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/mapBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,32 +1,34 @@ - + apply a function to a column for each overlapping interval macros.xml - - '${output}' -]]> - + ]]> - - + + - + + help="If set, the overlap between the BAM alignment and the BED interval must affect the above fraction of both the alignment and the BED interval" /> @@ -34,7 +36,7 @@ - @@ -46,7 +48,7 @@ - + @@ -101,8 +103,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 maskFastaBed.xml --- a/maskFastaBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/maskFastaBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,36 +1,34 @@ - + use intervals to mask sequences from a FASTA file macros.xml - - - + - - - + + - + + help="That is, instead of masking with Ns, use another character" /> - + @@ -53,8 +51,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 mergeBed.xml --- a/mergeBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/mergeBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,39 +1,37 @@ - + combine overlapping/nearby intervals into a single interval macros.xml - - "${output}" -]]> - + '${output}' + ]]> - + - - - - + + + + - + help="That is, overlapping and/or book-ended features are merged"/> - + - + @@ -65,8 +63,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 multiCov.xml --- a/multiCov.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/multiCov.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,75 +1,70 @@ - + counts coverage from multiple BAMs at specific intervals macros.xml - - '$output' -]]> - +bedtools multicov +-bed '$input' +-bams +#for $i, $bam in enumerate($bams): + '${i}.bam' +#end for +$strand +@OVERLAP@ +$reciprocal +$split +-q $q +$duplicate +$failed +$proper +> '$output' + ]]> - + - + - - + - + - + + help="Default counts all alignments with MAPQ > -q argument, regardless of the BAM FLAG field" /> - + - + - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 multiIntersectBed.xml --- a/multiIntersectBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/multiIntersectBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,36 +1,35 @@ - + identifies common intervals among multiple interval files macros.xml - - '$output' -]]> - +#if str($tag.tag_select) == "tag": + -i + #for $file in $tag.inputs + '$file' + #end for +#else: + -i + #for $file in $tag.beds: + '${file.input}' + #end for + -names + #for $file in $tag.beds: + '{$file.custom_name}' + #end for +#end if +> '$output' + ]]> @@ -38,18 +37,17 @@ - + - + - + @@ -60,14 +58,13 @@ - + help="Can be 0.0, N/A, - or any other value" /> - - + @@ -92,8 +89,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 nucBed.xml --- a/nucBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/nucBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,40 +1,38 @@ - + profile the nucleotide content of intervals in a FASTA file macros.xml - - '$output' -]]> - + '$output' + ]]> - - + + - - ^[A-Za-z]*$ - - + @@ -56,14 +54,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 overlapBed.xml --- a/overlapBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/overlapBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,26 +1,24 @@ - + computes the amount of overlap from two intervals macros.xml - - '$output' -]]> - + '$output' + ]]> - - + - + @@ -29,14 +27,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 randomBed.xml --- a/randomBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/randomBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,30 +1,28 @@ - + generate random intervals in a genome macros.xml - - "$output" -]]> - + '$output' + ]]> - - + + - + @@ -41,14 +39,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 reldist.xml --- a/reldist.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/reldist.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,27 +1,25 @@ - + calculate the distribution of relative distances macros.xml - - '$output' -]]> - + '$output' + ]]> - - - + + + - + @@ -30,8 +28,7 @@ - - - + ]]> 10.1371/journal.pcbi.1002529 diff -r 5074e81a5ce1 -r df28283b3778 shuffleBed.xml --- a/shuffleBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/shuffleBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,68 +1,68 @@ - + randomly redistrubute intervals in a genome macros.xml - - '$output' -]]> - + '$output' + ]]> - - + + - + help="Solely permute their location on the chromosome. By default, both the chromosome and position are randomly chosen." /> - + - - + + - + - - - - + help="Instead of choosing a position randomly among the entire genome (the default), first choose a chrom randomly, and then choose a random start coordinate on that chrom. This leads to features being ~uniformly distributed among the chroms, as opposed to features being distribute as a function of chrom size." /> + + + - + @@ -102,8 +102,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 slopBed.xml --- a/slopBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/slopBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,41 +1,39 @@ - + adjust the size of intervals macros.xml - - '$output' -]]> - + '$output' + ]]> - + - - - + @@ -56,8 +54,7 @@ - -,$3+<slop>}', bedtools slop will restrict the resizing to the size of the chromosome (i.e. no start < 0 and no end > chromosome size). @@ -67,8 +64,8 @@ .. class:: warningmark In order to prevent the extension of intervals beyond chromosome boundaries, bedtools slop requires a genome file defining the length of each chromosome or contig. + @REFERENCES@ -]]> - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 sortBed.xml --- a/sortBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/sortBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,20 +1,18 @@ - + order the intervals macros.xml - - '$output' -]]> - + '$output' + ]]> - + @@ -27,7 +25,7 @@ - + @@ -36,8 +34,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 spacingBed.xml --- a/spacingBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/spacingBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,22 +1,20 @@ - + reports the distances between features macros.xml - - '$output' -]]> - + '$output' + ]]> - + - + @@ -24,15 +22,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 subtractBed.xml --- a/subtractBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/subtractBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,34 +1,32 @@ - + remove intervals based on overlaps macros.xml - - '$output' -]]> - + '$output' + ]]> - - + + - - - + + + - + @@ -49,8 +47,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 tagBed.xml --- a/tagBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/tagBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,38 +1,38 @@ - + tag BAM alignments based on overlaps with interval files macros.xml - - "${output}" -]]> - + '${output}' + ]]> - - + + - - + + - + - + @@ -42,14 +42,12 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 test-data/coverageBed_result3_f1r.bed --- a/test-data/coverageBed_result3_f1r.bed Mon Dec 17 14:20:10 2018 -0500 +++ b/test-data/coverageBed_result3_f1r.bed Mon Apr 29 05:54:22 2019 -0400 @@ -1,4 +1,4 @@ -chr1 10 20 0 0 10 0.0000000 -chr1 20 30 0 0 10 0.0000000 -chr1 30 40 0 0 10 0.0000000 +chr1 10 20 1 10 10 1.0000000 +chr1 20 30 1 10 10 1.0000000 +chr1 30 40 1 10 10 1.0000000 chr1 100 200 1 100 100 1.0000000 diff -r 5074e81a5ce1 -r df28283b3778 unionBedGraphs.xml --- a/unionBedGraphs.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/unionBedGraphs.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,34 +1,34 @@ - + combines coverage intervals from multiple BEDGRAPH files macros.xml - - "${output}" -]]> - +#if str($tag.tag_select) == "tag": + -i + #for $file in $tag.inputs: + '${file}' + #end for +#else: + -i + #for $bg in $tag.bedgraphs: + '${bg.input}' + #end for + -names + #for $bg in $tag.bedgraphs: + '${bg.custom_name}' + #end for +#end if +> '${output}' + ]]> @@ -36,12 +36,12 @@ - + - - - + + + @@ -55,9 +55,9 @@ - + help="Can be 0.0, N/A, - or any other value" /> @@ -105,8 +105,7 @@ - - - + ]]> diff -r 5074e81a5ce1 -r df28283b3778 windowBed.xml --- a/windowBed.xml Mon Dec 17 14:20:10 2018 -0500 +++ b/windowBed.xml Mon Apr 29 05:54:22 2019 -0400 @@ -1,74 +1,71 @@ - + find overlapping intervals within a window around an interval macros.xml - - '$output' -]]> - + '$output' + ]]> - - - + + + - + - - + + help="Allows one to create assymetrical “windows”. Default is 1000bp." /> - + - - + - + help="Reports 0 for A entries that have no overlap with B" /> + - + @@ -92,8 +89,7 @@ - - - + ]]>