Mercurial > repos > bgruening > deeptools_multi_bigwig_summary
changeset 28:d580d6acd1df draft
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit e7e3025eb4fffe5deb34c12a6d402d79241d9ed5
| author | bgruening |
|---|---|
| date | Fri, 19 May 2023 08:37:10 +0000 |
| parents | 459cfa861f0b |
| children | d9ce4897dbb2 |
| files | deepTools_macros.xml multiBigwigSummary.xml test-data/bigwigAverage2.bw test-data/multiBigwigSummary_result1.npz test-data/multiBigwigSummary_result2.npz test-data/multiBigwigSummary_result2.tabular test-data/test_compated.bw test-data/test_half.bw |
| diffstat | 8 files changed, 260 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/deepTools_macros.xml Fri Feb 11 16:20:11 2022 +0000 +++ b/deepTools_macros.xml Fri May 19 08:37:10 2023 +0000 @@ -368,7 +368,6 @@ <xml name="pseudocount"> <param argument="--pseudocount" type="text" value="1 1" label="Pseudocount" help="Small number to avoid dividing by zero. You can specify separate values for the pseudocount added to the numerator and denominator by providing two values separated by a space."/> </xml> - <token name="@REFERENCES@"> .. class:: infomark @@ -483,7 +482,7 @@ <token name="@multiple_input_bams@"> <![CDATA[ #if $custom_sample_labels_conditional.custom_labels_select == "Yes": - #set custom_labels=labels + #set custom_labels=$custom_sample_labels_conditional.labels #end if #set files=[] #set labels=[] @@ -498,7 +497,7 @@ ln -s '${bamfile.metadata.cram_index}' './${counter}.bam.crai' && #end if #silent $files.append("'%s.bam'" % $counter) - #silent $labels.append("'%s'" % identifier) + #silent $labels.append("'%s'" % $identifier) #end for #else: #for $counter, $f in enumerate($multibam_conditional.multibam_repeats): @@ -522,7 +521,7 @@ <token name="@multiple_input_bigwigs@"> <![CDATA[ #if $custom_sample_labels_conditional.custom_labels_select == "Yes": - #set custom_labels=labels + #set custom_labels=$custom_sample_labels_conditional.labels #end if #set files=[] #set labels=[]
--- a/multiBigwigSummary.xml Fri Feb 11 16:20:11 2022 +0000 +++ b/multiBigwigSummary.xml Fri May 19 08:37:10 2023 +0000 @@ -1,17 +1,16 @@ -<tool id="deeptools_multi_bigwig_summary" name="multiBigwigSummary" version="@WRAPPER_VERSION@.0"> +<tool id="deeptools_multi_bigwig_summary" name="multiBigwigSummary" version="@WRAPPER_VERSION@.1"> <description>calculates average scores for a list of two or more bigwig files</description> <macros> <token name="@BINARY@">multiBigwigSummary</token> <import>deepTools_macros.xml</import> </macros> - <expand macro="requirements" /> + <expand macro="requirements" /> <command> <![CDATA[ #set files=[] #set labels=[] @multiple_input_bigwigs@ - @BINARY@ $mode.modeOpt @@ -20,8 +19,10 @@ --outFileName $outFile --bwfiles #echo ' '.join($files)# - --labels #echo ' '.join($labels)# - + + #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 @@ -43,7 +44,6 @@ #end if ]]> </command> - <inputs> <expand macro="multiple_input_bigwigs" MIN="2" LABEL="Bigwig files" TITLE="BigWig files"/> <expand macro="custom_sample_labels" /> @@ -70,7 +70,6 @@ help="Correlation is computed for the number of reads that overlap such regions."/> </when> </conditional> - <expand macro="region_limit_operation" /> <param argument="--outRawCounts" type="boolean" label="Save raw counts (scores) to file" help=""/> @@ -91,18 +90,20 @@ <param name="bigwigfiles" value="test.bw,test.bw" ftype="bigwig" /> <param name="modeOpt" value="bins" /> <param name="binSize" value="10" /> - <param name="corMethod" value="spearman" /> <output name="outFile" file="multiBigwigSummary_result1.npz" ftype="deeptools_coverage_matrix" compare="sim_size" /> </test> - <!--test> + <test> <param name="bigwigfiles" value="test.bw,test.bw" ftype="bigwig" /> - <param name="modeOpt" value="BED-file" /> - <param name="region_file" value="multiBamSummary_regions.bed" /> - <param name="corMethod" value="pearson" /> + <param name="modeOpt" value="bins" /> + <param name="binSize" value="10" /> <param name="outRawCounts" value="True" /> + <conditional name="custom_sample_labels_conditional"> + <param name="custom_labels_select" value="Yes"/> + <param name="labels" value="sample1 sample2"/> + </conditional> <output name="outFileRawCounts" file="multiBigwigSummary_result2.tabular" ftype="tabular" /> - <output name="outFileName" file="multiBigwigSummary_result2.npz" ftype="deeptools_coverage_matrix" compare="sim_size" /> - </test--> + <output name="outFile" file="multiBigwigSummary_result2.npz" ftype="deeptools_coverage_matrix" compare="sim_size" /> + </test> </tests> <help> <