diff --git a/galaxy/wrapper/alignmentSieve.xml b/galaxy/wrapper/alignmentSieve.xml index b6b5ef0d2b..a12daf6469 100644 --- a/galaxy/wrapper/alignmentSieve.xml +++ b/galaxy/wrapper/alignmentSieve.xml @@ -63,7 +63,7 @@ --filteredOutReads '$outFileFiltered' #end if - #if str($shift) != "": + #if $shift: #set shifts = " ".join(["'{}'".format(x) for x in $shift.split(" ")]) --shift $shifts #elif $ATACshift: @@ -72,7 +72,7 @@ #if $BED: --BED -o '$outFile' - #elif str($shift) != "" or $ATACshift: + #elif $shift or $ATACshift: -o foo.bam && samtools sort -o '$outFile' -T foo.tmp -@ "\${GALAXY_SLOTS:-4}" foo.bam && rm foo.bam @@ -85,7 +85,7 @@ - - - - - - @@ -142,34 +130,26 @@ - - - - - - - - - - - - - + + + + + + - - - - + + + @@ -183,19 +163,20 @@ - + - + - + - + + + - - - + + - - - - + + @@ -194,78 +182,78 @@ - + - + - - - + + + - - - + + + - - - + + + - - - + + + - - - - + + + + - + - - - - + + + + - + - - - - + + + + diff --git a/galaxy/wrapper/bamPEFragmentSize.xml b/galaxy/wrapper/bamPEFragmentSize.xml index a7eb0d96e4..d6a8222aeb 100644 --- a/galaxy/wrapper/bamPEFragmentSize.xml +++ b/galaxy/wrapper/bamPEFragmentSize.xml @@ -11,28 +11,25 @@ @BINARY@ @THREADS@ --bamfiles #echo " ".join($files) - #if $samplesLabel: - --samplesLabel #echo " ".join($samplesLabel) - #else: - --samplesLabel #echo " ".join($labels) - #end if + --samplesLabel #echo ' '.join($labels)# #if $histogram: --histogram '$histogram_outfile' --plotFileFormat '$outFileFormat' #end if --plotTitle '$plotTitle' #if $advancedOpt.showAdvancedOpt == 'yes' - --binSize '$advancedOpt.binSize' - --distanceBetweenBins '$advancedOpt.distanceBetweenBins' + --binSize $advancedOpt.binSize + --distanceBetweenBins $advancedOpt.distanceBetweenBins $advancedOpt.logScale - --maxFragmentLength '$advancedOpt.maxFragmentLength' - @blacklist@ + --maxFragmentLength $advancedOpt.maxFragmentLength #if $advancedOpt.table --table '$table' #end if #if $advancedOpt.outRawFragmentLengths --outRawFragmentLengths '$fragLengths' #end if + @blacklist@ + $advancedOpt.ggplot #end if > '$outfile' ]]> @@ -43,43 +40,26 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + @@ -90,7 +70,6 @@ - @@ -102,17 +81,19 @@ - + + - + - - - - + + + + + diff --git a/galaxy/wrapper/bigwigAverage.xml b/galaxy/wrapper/bigwigAverage.xml index 79e613d5c4..c338ea7885 100644 --- a/galaxy/wrapper/bigwigAverage.xml +++ b/galaxy/wrapper/bigwigAverage.xml @@ -16,18 +16,15 @@ --outFileName '$outFileName' --outFileFormat '$outFileFormat' - #if str($region).strip() != '': + #if $region: --region '$region' #end if #if $advancedOpt.showAdvancedOpt == "yes": - $advancedOpt.skipNAs --scaleFactors '$advancedOpt.scaleFactors' --binSize $advancedOpt.binSize - @blacklist@ - #end if ]]> @@ -38,22 +35,15 @@ - - - - - - - - + + - - - - - + + + + @@ -66,33 +56,33 @@ - + - + - + - - + + - + - - + + - + - - + + diff --git a/galaxy/wrapper/bigwigCompare.xml b/galaxy/wrapper/bigwigCompare.xml index 1752842362..72670c70f5 100644 --- a/galaxy/wrapper/bigwigCompare.xml +++ b/galaxy/wrapper/bigwigCompare.xml @@ -21,22 +21,17 @@ --pseudocount $comparison.pseudocount #end if - #if str($region).strip() != '': + #if $region: --region '$region' #end if #if $advancedOpt.showAdvancedOpt == "yes": - $advancedOpt.skipNAs + $advancedOpt.fixedStep $advancedOpt.skipZeroOverZero --scaleFactors '$advancedOpt.scaleFactor1:$advancedOpt.scaleFactor2' --binSize $advancedOpt.binSize - - #if $advancedOpt.plotTitle and str($advancedOpt.plotTitle.value) != "": - --plotTitle '$advancedOpt.plotTitle' - #end if - @blacklist@ - + @blacklist@ #end if ]]> @@ -84,24 +79,17 @@ - - - - - - - - - - - - - - - - + + + + + + + + @@ -115,21 +103,31 @@ - + - - + - + - - + + + + + + + + + + + + + @@ -60,28 +60,21 @@ - - - - - - - - - - - - - + + + + + + @@ -90,7 +83,6 @@ - @@ -105,7 +97,6 @@ - @@ -113,13 +104,13 @@ - - - - - - - + + + + + + + diff --git a/galaxy/wrapper/computeMatrix.xml b/galaxy/wrapper/computeMatrix.xml index b2f46cf742..8673050804 100644 --- a/galaxy/wrapper/computeMatrix.xml +++ b/galaxy/wrapper/computeMatrix.xml @@ -53,24 +53,26 @@ --unscaled3prime $mode.regionStartLength.unscaled3prime #end if - #end if #if $advancedOpt.showAdvancedOpt == "yes": --sortRegions '$advancedOpt.sortRegions' --sortUsing '$advancedOpt.sortUsing' + #if str($advancedOpt.sortUsingSamples).strip() != "": + --sortUsingSamples '$advancedOpt.sortUsingSamples' + #end if --averageTypeBins '$advancedOpt.averageTypeBins' $advancedOpt.skipZeros $advancedOpt.missingDataAsZero --binSize $advancedOpt.binSize - #if $advancedOpt.minThreshold is not None and str($advancedOpt.minThreshold) != '': + #if $advancedOpt.minThreshold: --minThreshold $advancedOpt.minThreshold #end if - #if $advancedOpt.maxThreshold is not None and str($advancedOpt.maxThreshold) != '': + #if $advancedOpt.maxThreshold: --maxThreshold $advancedOpt.maxThreshold #end if - #if $advancedOpt.scale is not None and str($advancedOpt.scale) != '': + #if $advancedOpt.scale: --scale $advancedOpt.scale #end if @@ -105,7 +107,7 @@ - @@ -114,11 +116,11 @@ - - @@ -143,10 +145,10 @@ label="Discard any values after the region end" help="This is useful to visualize the region end when not using the scale-regions mode and when the reference-point is set to the TSS. (--nanAfterEnd)"/> - - @@ -156,62 +158,56 @@ - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + @@ -220,32 +216,35 @@ - - - - - - - - - + + + + + + + + + + - - - - - - - + + + + + + + + - - - - + + + + + diff --git a/galaxy/wrapper/computeMatrixOperations.xml b/galaxy/wrapper/computeMatrixOperations.xml index d0b477b669..9d6413ed50 100755 --- a/galaxy/wrapper/computeMatrixOperations.xml +++ b/galaxy/wrapper/computeMatrixOperations.xml @@ -8,74 +8,80 @@ $outFileTxt - #else if $submodule.command == "relabel": - relabel - -m $submodule.matrixFile - #if $submodule.groupLabels is not None and str($submodule.groupLabels) != '': - --groupLabels $submodule.groupLabels - #end if - #if $submodule.sampleLabels is not None and str($submodule.sampleLabels) != '': - --sampleLabels $submodule.sampleLabels - #end if - #else if $submodule.command == "subset": - subset - -m $submodule.matrixFile - #if $submodule.groups is not None and str($submodule.groups) != '': - --groups $submodule.groups - #end if - #if $submodule.samples is not None and str($submodule.samples) != '': - --samples $submodule.samples - #end if - -o $outFileName - #else if $submodule.command == "filterStrand": - filterStrand - -m $submodule.matrixFile - --strand $submodule.strand - -o $outFileName - #else if $submodule.command == "filterValues": - filterValues - -m $submodule.matrixFile - #if $submodule.minValue is not None and str($submodule.minValue) != '': - --min $submodule.minValue - #end if - #if $submodule.maxValue is not None and str($submodule.maxValue) != '': - --max $submodule.maxValue - #end if - -o $outFileName - #else if $submodule.command == "rbind": - #set $files=[] - #for $f in $submodule.matrixFiles: - #silent $files.append(str($f.matrixFile)) - #end for - rbind - -m '#echo "' '".join($files)#' - -o $outFileName - #else if $submodule.command == "cbind": - cbind - #set $files=[] - #for $f in $submodule.matrixFiles: - #silent $files.append(str($f.matrixFile)) - #end for - -m '#echo "' '".join($files)#' - -o $outFileName - #else if $submodule.command == "sort": - sort - #set $files=[] - #for $f in $submodule.regionsFiles: - #silent $files.append(str($f.regionsFile)) - #end for - -m $submodule.matrixFile - -R '#echo "' '".join($files)#' - -o $outFileName - #else if $submodule.command == "dataRange": - dataRange - -m $submodule.matrixFile - > $outFileTxt + #if $submodule.command == "info": + info + -m '$submodule.matrixFile' + #else if $submodule.command == "relabel": + relabel + -m '$submodule.matrixFile' + #if $submodule.groupLabels: + --groupLabels '$submodule.groupLabels' #end if + #if $submodule.sampleLabels: + --sampleLabels '$submodule.sampleLabels' + #end if + #else if $submodule.command == "subset": + subset + -m '$submodule.matrixFile' + #if $submodule.groups: + --groups '$submodule.groups' + #end if + #if $submodule.samples: + --samples '$submodule.samples' + #end if + #else if $submodule.command == "filterStrand": + filterStrand + -m '$submodule.matrixFile' + #if $submodule.strand: + --strand '$submodule.strand' + #end if + #else if $submodule.command == "filterValues": + filterValues + -m '$submodule.matrixFile' + #if $submodule.min: + --min $submodule.min + #end if + #if $submodule.max: + --max $submodule.max + #end if + #else if $submodule.command == "rbind": + #set $files=[] + #for $f in $submodule.matrixFiles: + #silent $files.append(str($f.matrixFile)) + #end for + rbind + -m '#echo "' '".join($files)#' + #else if $submodule.command == "cbind": + cbind + #set $files=[] + #for $f in $submodule.matrixFiles: + #silent $files.append(str($f.matrixFile)) + #end for + -m '#echo "' '".join($files)#' + #else if $submodule.command == "sort": + sort + #set $files=[] + #for $f in $submodule.regionsFiles: + #silent $files.append(str($f.regionsFile)) + #end for + -m '$submodule.matrixFile' + -R '#echo "' '".join($files)#' + #if $submodule.transcriptID: + --transcriptID '$submodule.transcriptID' + #end if + #if $submodule.transcript_id_designator: + --transcript_id_designator '$submodule.transcript_id_designator' + #end if + #else if $submodule.command == "dataRange": + dataRange + -m '$submodule.matrixFile' + #end if + + #if $submodule.command == "info" or $submodule.command == "dataRange": + > '$outFileTxt' + #else: + -o '$outFileName' + #end if ]]> @@ -92,11 +98,11 @@ - + - + - + - + @@ -122,7 +128,7 @@ - + - + - + - + + + - + @@ -158,30 +173,40 @@ (( - submodule['command'] != "info" + submodule['command'] != "info" and submodule['command'] != "dataRange" )) (( - submodule['command'] == "info" + submodule['command'] == "info" or submodule['command'] == "dataRange" )) - - + + - - - + + + + + + + + + + + + + @@ -40,6 +41,11 @@ + @@ -48,10 +54,10 @@ - - - - + + + + diff --git a/galaxy/wrapper/deepTools_macros.xml b/galaxy/wrapper/deepTools_macros.xml index 4246a18c45..1e2b9c13b5 100755 --- a/galaxy/wrapper/deepTools_macros.xml +++ b/galaxy/wrapper/deepTools_macros.xml @@ -5,8 +5,8 @@ 23.2 - - samtools + deeptools + samtools @BINARY@ --version @@ -26,8 +26,8 @@ - --plotWidth '$advancedOpt.plotWidth' - --plotHeight '$advancedOpt.plotHeight' + --plotWidth $advancedOpt.plotWidth + --plotHeight $advancedOpt.plotHeight @@ -46,7 +46,6 @@ #else if $advancedOpt.doExtendCustom.doExtend == 'yes': --extendReads #end if - $advancedOpt.ignoreDuplicates $advancedOpt.centerReads #if $advancedOpt.minMappingQuality: --minMappingQuality $advancedOpt.minMappingQuality @@ -68,13 +67,13 @@ $advancedOpt.metagene #if $advancedOpt.transcriptID: - --transcriptID $advancedOpt.transcriptID + --transcriptID '$advancedOpt.transcriptID' #end if #if $advancedOpt.exonID: - --exonID $advancedOpt.exonID + --exonID '$advancedOpt.exonID' #end if #if $advancedOpt.transcript_id_designator: - --transcript_id_designator $advancedOpt.transcript_id_designator + --transcript_id_designator '$advancedOpt.transcript_id_designator' #end if @@ -86,10 +85,10 @@ - #if str($plotting_type.zMin) != "": + #if $plotting_type.zMin: --zMin $plotting_type.zMin #end if - #if str($plotting_type.zMax) != "": + #if $plotting_type.zMax: --zMax $plotting_type.zMax #end if --colorMap '$plotting_type.colorMap' @@ -112,7 +111,7 @@ - @@ -126,93 +125,31 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #if $advancedOpt.used_multiple_regions.used_multiple_regions_options == 'no': - #if $advancedOpt.used_multiple_regions.clustering.clustering_options == 'kmeans': - #if int($advancedOpt.used_multiple_regions.clustering.k_kmeans) > 0: - --kmeans $advancedOpt.used_multiple_regions.clustering.k_kmeans - #end if - #end if - #if $advancedOpt.used_multiple_regions.clustering.clustering_options == 'hclust': - #if int($advancedOpt.used_multiple_regions.clustering.n_hclust) > 0: - --hclust $advancedOpt.used_multiple_regions.clustering.n_hclust - #end if - #end if - $advancedOpt.used_multiple_regions.silhouette - #end if - - - - - - - @@ -223,13 +160,13 @@ - - - - + @@ -269,13 +206,13 @@ - + - - + region length + + + + + + + + + + - -.. class:: infomark + + + -For more information on the tools, please visit our `help site`_. + + + -For support or questions please post to `Biostars`_. For bug reports and feature requests please open an issue `on github`_. + + + -This tool is developed by the `Bioinformatics and Deep-Sequencing Unit`_ at the `Max Planck Institute for Immunobiology and Epigenetics`_. + + + + + + + + + -.. _Biostars: http://biostars.org -.. _on github: http://github.com -.. _Bioinformatics and Deep-Sequencing Unit: http://www.ie-freiburg.mpg.de/bioinformaticsfac -.. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de -.. _help site: https://deeptools.readthedocs.org/ + + + + + + + + + + + --outFileName '$outFile' + --labels #echo " ".join($labels)# + + #if $outRawCounts: + --outRawCounts '$outFileRawCounts' + #end if + + #if $mode.modeOpt == "bins": + --binSize $mode.binSize + --distanceBetweenBins $mode.distanceBetweenBins + #else: + --BED '$mode.region_file' + #end if + + #if $region: + --region '$region' + #end if - - - 10.1093/nar/gkw257 - - - @@ -432,57 +420,35 @@ is vital to you, select Yes below."> + - - - - - - - - - - - - - - - - [A-Za-z0-9 =-_/+]+ - - - + + + + + + + + + + + + + + + + [A-Za-z0-9 =-_/+]+ + + + - - - - - - - - - - - - - - - - - - - - - - #end for #if len($files) > 0: --BED #echo ' '.join($files)# - --regionLabels #echo ' '.join($labels)# + --regionLabels + #if $advancedOpt.regionLabels: + $advancedOpt.regionLabels + #else: + #echo ' '.join($labels)# + #end if #end if ]]> @@ -614,7 +585,7 @@ is vital to you, select Yes below."> #if $source.ref_source=="history": - --genome $source.input1 + --genome '$source.input1' #else: --genome '$source.input1_2bit.fields.path' #end if @@ -670,18 +641,6 @@ is vital to you, select Yes below."> - - - - @@ -706,17 +665,16 @@ is vital to you, select Yes below."> - + - - @@ -726,7 +684,6 @@ is vital to you, select Yes below."> - @@ -737,11 +694,14 @@ is vital to you, select Yes below."> - + + + + @@ -943,4 +903,189 @@ is vital to you, select Yes below."> + + + + + + + #if $advancedOpt.plotTitle: + --plotTitle '$advancedOpt.plotTitle' + #end if + $advancedOpt.perGroup + #if $advancedOpt.samplesLabel: + --samplesLabel '$advancedOpt.samplesLabel' + #end if + #if $advancedOpt.startLabel: + --startLabel '$advancedOpt.startLabel' + #end if + #if $advancedOpt.endLabel: + --endLabel '$advancedOpt.endLabel' + #end if + #if $advancedOpt.refPointLabel: + --refPointLabel '$advancedOpt.refPointLabel' + #end if + #if $advancedOpt.regionsLabel: + --regionsLabel '$advancedOpt.regionsLabel' + #end if + #if $advancedOpt.yMin: + --yMin $advancedOpt.yMin + #end if + #if $advancedOpt.yMax: + --yMax $advancedOpt.yMax + #end if + --legendLocation '$advancedOpt.legendLocation' + --labelRotation '$advancedOpt.labelRotation' + $advancedOpt.ggplot + #if $advancedOpt.used_multiple_regions.used_multiple_regions_options == 'no': + #if $advancedOpt.used_multiple_regions.clustering.clustering_options == 'kmeans': + #if int($advancedOpt.used_multiple_regions.clustering.k_kmeans) > 0: + --kmeans $advancedOpt.used_multiple_regions.clustering.k_kmeans + #end if + #end if + #if $advancedOpt.used_multiple_regions.clustering.clustering_options == 'hclust': + #if int($advancedOpt.used_multiple_regions.clustering.n_hclust) > 0: + --hclust $advancedOpt.used_multiple_regions.clustering.n_hclust + #end if + #end if + $advancedOpt.used_multiple_regions.silhouette + #end if + #if $advancedOpt.clusterUsingSamples: + --clusterUsingSamples '$advancedOpt.clusterUsingSamples' + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +.. class:: infomark + +For more information on the tools, please visit our `help site`_. + +For support or questions please post to `Biostars`_. For bug reports and feature requests please open an issue `on github`_. + +This tool is developed by the `Bioinformatics and Deep-Sequencing Unit`_ at the `Max Planck Institute for Immunobiology and Epigenetics`_. + +.. _Biostars: http://biostars.org +.. _on github: http://github.com +.. _Bioinformatics and Deep-Sequencing Unit: http://www.ie-freiburg.mpg.de/bioinformaticsfac +.. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de +.. _help site: https://deeptools.readthedocs.org/ + + + + + 10.1093/nar/gkw257 + + + + diff --git a/galaxy/wrapper/estimateReadFiltering.xml b/galaxy/wrapper/estimateReadFiltering.xml index 925e8d0368..9d8d35ccb8 100644 --- a/galaxy/wrapper/estimateReadFiltering.xml +++ b/galaxy/wrapper/estimateReadFiltering.xml @@ -16,15 +16,15 @@ --bamfiles #echo " ".join($files)# --sampleLabels #echo " ".join($labels)# - -bs '$binSize' - --distanceBetweenBins '$distanceBetweenBins' + -bs $binSize + --distanceBetweenBins $distanceBetweenBins #if str($filterRNAstrand) != 'no': --filterRNAstrand '$filterRNAstrand' #end if $ignoreDuplicates #if $minMappingQuality: - --minMappingQuality '$minMappingQuality' + --minMappingQuality $minMappingQuality #end if #if $samFlagInclude: --samFlagInclude $samFlagInclude @@ -51,10 +51,7 @@ - - + @@ -73,7 +70,8 @@ - + + diff --git a/galaxy/wrapper/multiBamSummary.xml b/galaxy/wrapper/multiBamSummary.xml index c198a26020..b82700b873 100644 --- a/galaxy/wrapper/multiBamSummary.xml +++ b/galaxy/wrapper/multiBamSummary.xml @@ -12,78 +12,33 @@ @multiple_input_bams@ @BINARY@ - $mode.modeOpt - @THREADS@ - - --outFileName '$outFile' - --bamfiles #echo " ".join($files)# - --labels #echo " ".join($labels)# - - #if $outRawCounts: - --outRawCounts '$outFileRawCounts' - #end if - - #if $scalingFactors: - --scalingFactors '$scalingFactorsFile' - #end if - - #if $mode.modeOpt == "bins": - --binSize '$mode.binSize' - --distanceBetweenBins '$mode.distanceBetweenBins' - #else: - --BED $mode.region_file - #end if - - #if str($region).strip() != '': - --region '$region' - #end if - - #if $advancedOpt.showAdvancedOpt == "yes": - @ADVANCED_OPTS_READ_PROCESSING@ - @ADVANCED_OPTS_GTF@ - @blacklist@ - #end if + $mode.modeOpt + @THREADS@ + --bamfiles #echo ' '.join($files)# + + @MULTISUMMARY_COMMON_PARAMS@ + + #if $scalingFactors: + --scalingFactors '$scalingFactorsFile' + #end if + + #if $advancedOpt.showAdvancedOpt == "yes": + @ADVANCED_OPTS_READ_PROCESSING@ + @ADVANCED_OPTS_GTF@ + @blacklist@ + #end if ]]> - - - - - - - - - - - - - - - - - - - - + - @@ -98,15 +53,17 @@ - - - + + + + - - - + + + + diff --git a/galaxy/wrapper/multiBigwigSummary.xml b/galaxy/wrapper/multiBigwigSummary.xml index b63db25d58..be7488dc5a 100644 --- a/galaxy/wrapper/multiBigwigSummary.xml +++ b/galaxy/wrapper/multiBigwigSummary.xml @@ -12,66 +12,28 @@ @multiple_input_bigwigs@ @BINARY@ - $mode.modeOpt - - @THREADS@ - - --outFileName $outFile - - --bwfiles #echo ' '.join($files)# - - #if $custom_sample_labels_conditional.custom_labels_select == 'Yes' - --labels #echo ' '.join($custom_sample_labels_conditional.labels)# - #end if - #if $outRawCounts: - --outRawCounts '$outFileRawCounts' - #end if - - #if $mode.modeOpt == "bins": - --binSize '$mode.binSize' - --distanceBetweenBins '$mode.distanceBetweenBins' - #else: - --BED $mode.region_file - #end if - - #if str($region.value) != '': - --region '$region' - #end if - - #if $advancedOpt.showAdvancedOpt == "yes": - @ADVANCED_OPTS_GTF@ - @blacklist@ - #end if + $mode.modeOpt + @THREADS@ + --bwfiles #echo ' '.join($files)# + + @MULTISUMMARY_COMMON_PARAMS@ + + #if $chromosomesToSkip.strip() != '': + --chromosomesToSkip '$chromosomesToSkip' + #end if + + #if $advancedOpt.showAdvancedOpt == "yes": + @ADVANCED_OPTS_GTF@ + @blacklist@ + #end if ]]> - - - - - - - - - - - - - - - - - - + + @@ -87,15 +49,18 @@ - - - + + + + + - - - + + + + @@ -104,6 +69,20 @@ + + + + + + + + + + + + + + - + - + @@ -52,7 +55,7 @@ - + @@ -65,7 +68,7 @@ - + @@ -100,6 +103,7 @@ unusually high counts."/> + @@ -112,17 +116,17 @@ - + - + - - - - + + + + diff --git a/galaxy/wrapper/plotCoverage.xml b/galaxy/wrapper/plotCoverage.xml index ee925b9a16..be59fc9d45 100644 --- a/galaxy/wrapper/plotCoverage.xml +++ b/galaxy/wrapper/plotCoverage.xml @@ -13,7 +13,6 @@ @multiple_input_bams@ @BINARY@ - @THREADS@ --plotFile '$outFileName' @@ -43,26 +42,24 @@ #end if #if $advancedOpt.showAdvancedOpt == "yes": - --numberOfSamples '$advancedOpt.numberOfSamples' + --numberOfSamples $advancedOpt.numberOfSamples $advancedOpt.skipZeros - #if str($advancedOpt.region).strip() != '': + #if $advancedOpt.region: --region '$advancedOpt.region' #end if - --numberOfSamples $advancedOpt.numberOfSamples - #if $advancedOpt.plotTitle and str($advancedOpt.plotTitle.value) != "": + #if $advancedOpt.plotTitle: --plotTitle '$advancedOpt.plotTitle' #end if + $advancedOpt.ggplot @ADVANCED_OPTS_READ_PROCESSING@ @PLOTWIDTHHEIGHT@ @blacklist@ #end if - ]]> - - - - - - - - - - - - - - - - - + + + + + + + + + + - + @@ -115,24 +106,26 @@ - + + - - + + - + - - - - - - - - - + + + + + + + + + + diff --git a/galaxy/wrapper/plotEnrichment.xml b/galaxy/wrapper/plotEnrichment.xml index 265d150e5e..99575ca301 100644 --- a/galaxy/wrapper/plotEnrichment.xml +++ b/galaxy/wrapper/plotEnrichment.xml @@ -24,7 +24,7 @@ --plotFileFormat '$outFileFormat' - #if str($region).strip() != "": + #if $region: --region '$region' #end if @@ -33,15 +33,11 @@ --attributeKey '$advancedOpt.attributeKey' #end if - #if $advancedOpt.labels and str($advancedOpt.labels).strip() != "": - --labels $advancedOpt.labels + #if $advancedOpt.labels: + --labels '$advancedOpt.labels' #end if - #if $advancedOpt.regionLabels and str($advancedOpt.regionLabels).strip() != "": - --regionLabels $advancedOpt.regionLabels - #end if - - #if $advancedOpt.plotTitle and str($advancedOpt.plotTitle.value) != "": + #if $advancedOpt.plotTitle: --plotTitle '$advancedOpt.plotTitle' #end if @@ -49,26 +45,22 @@ $advancedOpt.variableScales - $advancedOpt.perSample - - $advancedOpt.variableScales - - --plotWidth '$advancedOpt.plotWidth' + @PLOTWIDTHHEIGHT@ - --plotHeight '$advancedOpt.plotHeight' - - #if str($advancedOpt.colors).strip() != "": + #if $advancedOpt.colors: --colors #echo ' '.join( ["'%s'" % $color for $color in $advancedOpt.colors.split()] )# #end if - --numPlotsPerRow '$advancedOpt.numPlotsPerRow' + --numPlotsPerRow $advancedOpt.numPlotsPerRow + + --alpha $advancedOpt.alpha - --alpha '$advancedOpt.alpha' + $advancedOpt.ggplot @ADVANCED_OPTS_READ_PROCESSING@ #if $advancedOpt.Offset: - --Offset $advancedOpt.Offset + --Offset '$advancedOpt.Offset' #end if @blacklist@ @@ -93,13 +85,7 @@ attribute key. For example, the gene_biotype. Note that 'None' is used for BED files or entries where the attributeKey is not found." /> - - - + + + - - - + @@ -176,13 +163,14 @@ - + + - - - - + + + + diff --git a/galaxy/wrapper/plotFingerprint.xml b/galaxy/wrapper/plotFingerprint.xml index 436e0c2ac6..79f349ccfa 100644 --- a/galaxy/wrapper/plotFingerprint.xml +++ b/galaxy/wrapper/plotFingerprint.xml @@ -10,13 +10,13 @@ @multiple_input_bams@ @BINARY@ @THREADS@ - --bamfiles #echo " ".join($files) - --labels #echo " ".join($labels) - --plotFile $outFileName + --bamfiles #echo " ".join($files)# + --labels #echo " ".join($labels)# + --plotFile '$outFileName' #if $output.showOutputSettings == "yes" - --plotFileFormat $output.outFileFormat - #if $output.saveRawCounts: + --plotFileFormat '$output.outFileFormat' + #if $output.outRawCounts: --outRawCounts '$outFileRawCounts' #end if #if $output.saveQualityMetrics: @@ -32,20 +32,20 @@ --plotFileFormat 'png' #end if - #if str($region).strip() != '': + #if $region: --region '$region' #end if #if $advancedOpt.showAdvancedOpt == "yes": - --binSize '$advancedOpt.binSize' - --numberOfSamples '$advancedOpt.numberOfSamples' + --binSize $advancedOpt.binSize + --numberOfSamples $advancedOpt.numberOfSamples - $advancedOpt.ignoreDuplicates $advancedOpt.skipZeros - #if $advancedOpt.plotTitle and str($advancedOpt.plotTitle.value) != "": + #if $advancedOpt.plotTitle: --plotTitle '$advancedOpt.plotTitle' #end if + $advancedOpt.ggplot @ADVANCED_OPTS_READ_PROCESSING@ @blacklist@ #end if @@ -57,25 +57,19 @@ - - - - - - - - - - - - - - - + + + + + + + + + @@ -85,7 +79,7 @@ - + (( output['showOutputSettings'] == 'yes' and - output['saveRawCounts'] is True + output['outRawCounts'] is True )) @@ -115,20 +109,22 @@ - - - - + + + + + - - - - - - - - + + + + + + + + + diff --git a/galaxy/wrapper/plotHeatmap.xml b/galaxy/wrapper/plotHeatmap.xml index de2fe68368..81a7f99ac5 100644 --- a/galaxy/wrapper/plotHeatmap.xml +++ b/galaxy/wrapper/plotHeatmap.xml @@ -28,6 +28,7 @@ #else --plotFileFormat 'png' #end if + --interpolationMethod '$interpolationMethod' #if $advancedOpt.showAdvancedOpt == "yes" #if $advancedOpt.sortRegions: @@ -60,29 +61,20 @@ --colorMap #echo " ".join($colorMap)# #end if - --alpha '$advancedOpt.alpha' - #if str($advancedOpt.colorList).strip() != "": - --colorList $advancedOpt.colorList + --alpha $advancedOpt.alpha + #if $advancedOpt.colorList: + --colorList '$advancedOpt.colorList' #end if - #if str($advancedOpt.zMin).strip() != "": + #if $advancedOpt.zMin: --zMin $advancedOpt.zMin #end if - #if str($advancedOpt.zMax).strip() != "": + #if $advancedOpt.zMax: --zMax $advancedOpt.zMax #end if - #if str($advancedOpt.yMin).strip() != "": - --yMin $advancedOpt.yMin - #end if - #if str($advancedOpt.yMax).strip() != "": - --yMax $advancedOpt.yMax - #end if - #if str($advancedOpt.sortUsingSamples).strip() != "": - --sortUsingSamples $advancedOpt.sortUsingSamples - #end if - #if str($advancedOpt.clusterUsingSamples).strip() != "": - --clusterUsingSamples $advancedOpt.clusterUsingSamples + #if $advancedOpt.sortUsingSamples: + --sortUsingSamples '$advancedOpt.sortUsingSamples' #end if --xAxisLabel '$advancedOpt.xAxisLabel' @@ -91,171 +83,95 @@ --heatmapWidth $advancedOpt.heatmapWidth --heatmapHeight $advancedOpt.heatmapHeight + $advancedOpt.boxAroundHeatmaps --whatToShow '$advancedOpt.whatToShow' - --startLabel '$advancedOpt.startLabel' - --endLabel '$advancedOpt.endLabel' - - --refPointLabel '$advancedOpt.referencePointLabel' - - #if $advancedOpt.samplesLabel and str($advancedOpt.samplesLabel).strip() != "": - --samplesLabel $advancedOpt.samplesLabel - #end if - - #if $advancedOpt.regionsLabel and str($advancedOpt.regionsLabel).strip() != "": - --regionsLabel $advancedOpt.regionsLabel - #end if - - #if $advancedOpt.plotTitle and str($advancedOpt.plotTitle.value) != "": - --plotTitle '$advancedOpt.plotTitle' - #end if - - --legendLocation '$advancedOpt.legendLocation' - - --labelRotation '$advancedOpt.labelRotation' - - $advancedOpt.perGroup - - @KMEANS_CLUSTERING@ - + @HEATMAP_PROFILER_PARAMS@ #end if ]]> - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -265,13 +181,19 @@ - + + + + + + + + - - - + + diff --git a/galaxy/wrapper/plotPCA.xml b/galaxy/wrapper/plotPCA.xml index f5fe600e88..b505e479d9 100644 --- a/galaxy/wrapper/plotPCA.xml +++ b/galaxy/wrapper/plotPCA.xml @@ -10,6 +10,9 @@ @BINARY@ --corData '$corData' --plotTitle '$plotTitle' + #if $custom_sample_labels_conditional.custom_labels_select == 'Yes': + --labels $custom_sample_labels_conditional.labels ## do not add quotes as the input might contain quotes + #end if --plotFile '$outFileName' --plotFileFormat '$outFileFormat' #if str($advancedOpt.showAdvancedOpt) == 'yes': @@ -20,13 +23,15 @@ $advancedOpt.transpose $advancedOpt.rowCenter #if $advancedOpt.colors: - --colors $advancedOpt.colors + --colors '$advancedOpt.colors' #end if #if $advancedOpt.markers: - --markers $advancedOpt.markers + --markers '$advancedOpt.markers' #end if + $advancedOpt.addLabels + $advancedOpt.ggplot #end if - #if $outFileNameData + #if $outFileNameData: --outFileNameData '$output_outFileNameData' #end if ]]> @@ -35,28 +40,26 @@ + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + @@ -69,15 +72,15 @@ - - + + - +