Mercurial > repos > bgruening > deeptools_compute_matrix
diff computeMatrix.xml @ 1:275ed3e83de0 draft
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
| author | bgruening |
|---|---|
| date | Mon, 15 Feb 2016 10:34:00 -0500 |
| parents | 14cb57237e46 |
| children | a842285199d9 |
line wrap: on
line diff
--- a/computeMatrix.xml Mon Jan 25 20:26:32 2016 -0500 +++ b/computeMatrix.xml Mon Feb 15 10:34:00 2016 -0500 @@ -8,18 +8,25 @@ <command> <![CDATA[ #import tempfile + #set bw_files=[] + #for $counter, $bigwig in enumerate($scoreFileName): + ln -s "${bigwig}" "file_${counter}.bw" && + #silent $bw_files.append('file_%s.bw' % $counter) + #end for + + #set bed_files=[] + #for $counter, $rf in enumerate($regionsFiles): + ln -s "${rf.regionsFile}" "group_${counter}.bed" && + #silent $bed_files.append('group_%s.bed' % $counter) + #end for @BINARY@ $mode.mode_select - --regionsFileName - #for $rf in $regionsFiles: - '$rf.regionsFile' - #end for - --scoreFileName - #for $bw in $scoreFileName: - '$bw' - #end for + --regionsFileName '#echo "' '".join($bed_files)#' + + --scoreFileName '#echo "' '".join($bw_files)#' + --outFileName '$outFileName' @THREADS@ @@ -51,8 +58,8 @@ --sortRegions '$advancedOpt.sortRegions' --sortUsing '$advancedOpt.sortUsing' --averageTypeBins '$advancedOpt.averageTypeBins' - $advancedOpt.skipNAs $advancedOpt.skipZeros + $advancedOpt.missingDataAsZero --binSize $advancedOpt.binSize #if $advancedOpt.minThreshold is not None and str($advancedOpt.minThreshold) != '': @@ -77,17 +84,16 @@ <param name="scoreFileName" format="bigwig" type="data" label="Score file" multiple="True" - help="You can generate a bigWig file from either a - bedGraph or WIG file using UCSC tools or from a BAM file using the + help="You can generate a bigWig file from a BAM file using the bamCoverage tool. (--scoreFileName)"/> <conditional name="mode" > <param name="mode_select" type="select" label="computeMatrix has two main output options" help="In the scale-regions mode, all regions in the BED file are - stretched or shrunk to the same length (in bases) that is indicated + stretched or shrunken to the same length (in bases) that is indicated by the user. Reference-point refers to a position within the BED - regions (e.g start of region). In the reference-point mode only + regions (start or end of each region). In the reference-point mode only those genomic positions before (upstream) and/or after (downstream) the reference point will be considered."> <option value="scale-regions" selected="true">scale-regions</option> @@ -164,19 +170,21 @@ </param> <param name="missingDataAsZero" type="boolean" truevalue="--missingDataAsZero" falsevalue="" checked="False" - label="Convert missing values to 0?." - help="If set to 'yes', missing values (NAs) are converted to 0. - The default is to ignore such cases, which will be - depicted as black areas once a heatmap is created." /> + label="Convert missing values to 0?" + help="If set to 'yes', missing values (NAs) are converted + to 0. If you want to use clustering with plotHeatmap + or plotProfile, set this to 'yes'. + The default is to ignore missing values, which will be + depicted as black areas once a heatmap is created. + (--missingDataAsZero)" /> <expand macro="skipZeros" /> - <expand macro="skipNAs" /> <param name="minThreshold" type="float" optional="True" label="Minimum threshold" help="Any region containing a value that is equal or less than this numeric value will be skipped. This is useful to skip, for example, genes where the - read count is zero for any of the bins. This could be the result of + read count is zero for any of the bins which could be the result of unmappable areas and can bias the overall results. (--minThreshold)"/> <param name="maxThreshold" type="float" optional="True" label="Maximum threshold" @@ -206,7 +214,6 @@ <param name="binSize" value="10" /> <param name="sortUsing" value="sum" /> <param name="averageTypeBins" value="sum" /> - <param name="skipNAs" value="False" /> <param name="beforeRegionStartLength" value="10" /> <param name="afterRegionStartLength" value="10" /> <output name="outFileName" file="computeMatrix_result1.gz" ftype="deeptools_compute_matrix_archive" compare="sim_size" /> @@ -233,27 +240,80 @@ </tests> <help> <