Mercurial > repos > bgruening > hicexplorer_hicplotviewpoint
comparison hicPlotViewpoint.xml @ 7:5e9c304c424c draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 3b41d687ff30583540d055f6995de00530cca81d-dirty"
author | bgruening |
---|---|
date | Mon, 16 Dec 2019 15:42:31 -0500 |
parents | 67bd57e960a3 |
children | 84d4b83f092a |
comparison
equal
deleted
inserted
replaced
6:6cca935297f6 | 7:5e9c304c424c |
---|---|
5 <import>macros.xml</import> | 5 <import>macros.xml</import> |
6 </macros> | 6 </macros> |
7 <expand macro="requirements" /> | 7 <expand macro="requirements" /> |
8 <command detect_errors="exit_code"><![CDATA[ | 8 <command detect_errors="exit_code"><![CDATA[ |
9 | 9 |
10 #for $counter, $m in enumerate($matrix_h5_cooler_multiple): | 10 #for $counter, $m in enumerate($matrix_h5_cooler_multiple): |
11 ln -s '$m' ${counter}_matrix && | 11 ln -s '$m' ${counter}_matrix.$m.ext && |
12 #end for | 12 #end for |
13 #set $m = '" "'.join([ '%s_matrix' % $counter for $counter, $matrix in enumerate($matrix_h5_cooler_multiple) ]) | 13 #set $m = ' '.join([ '\'%s_matrix.%s\'' % ($counter, $matrix.ext) for $counter, $matrix in enumerate($matrix_h5_cooler_multiple) ]) |
14 | 14 |
15 hicPlotViewpoint --matrix "$m" | 15 @BINARY@ --matrix $m |
16 #if $interactionOutFileName: | 16 #if $interactionOutFileName: |
17 $interactionOutFileName interactions | 17 $interactionOutFileName interactions |
18 #end if | 18 #end if |
19 --outFileName plot.$image_file_format | 19 --outFileName plot.$image_file_format |
20 --region $region | 20 --region $region |
21 --referencePoint $referencePoint | 21 --referencePoint $referencePoint |
22 && mv plot.$image_file_format plot | 22 && mv plot.$image_file_format plot |
23 && ls -lah | 23 |
24 #if $interactionOutFileName: | 24 #if $interactionOutFileName: |
25 #for $counter, $m in enumerate($matrix_h5_cooler_multiple): | 25 && mkdir interaction |
26 && mv interactions_${counter}_matrix.bedgraph ${counter}_interactions.bedgraph | 26 #for $counter, $matrix in enumerate($m.split(' ')): |
27 && mv interactions_${matrix}.bedgraph interaction/${counter}_interactions.bedgraph | |
27 #end for | 28 #end for |
28 #end if | 29 #end if |
29 ]]> | 30 ]]> |
30 </command> | 31 </command> |
31 <inputs> | 32 <inputs> |
50 <when input="image_file_format" value="svg" format="svg" /> | 51 <when input="image_file_format" value="svg" format="svg" /> |
51 </change_format> | 52 </change_format> |
52 </data> | 53 </data> |
53 | 54 |
54 <data format="bedgraph" name="interactionFile" > | 55 <data format="bedgraph" name="interactionFile" > |
55 <discover_datasets pattern='(?P<designation>.+)\_interactions\.bedgraph' directory="." visible="true"/> | |
56 <filter>interactionOutFileName</filter> | 56 <filter>interactionOutFileName</filter> |
57 <discover_datasets pattern='__name_and_ext__' directory="interaction" visible="true"/> | |
57 </data> | 58 </data> |
58 | 59 |
59 </outputs> | 60 </outputs> |
60 <tests> | 61 <tests> |
61 <test> | 62 <test> |
62 <param name="matrix_h5_cooler_multiple" value="Li_et_al_2015.h5"/> | 63 <param name="matrix_h5_cooler_multiple" value="Li_et_al_2015.cool"/> |
63 <param name="image_file_format" value="png" /> | 64 <param name="image_file_format" value="png" /> |
64 <param name='region' value='X:3000000-3500000' /> | 65 <param name='region' value='X:3000000-3500000' /> |
65 <param name='referencePoint' value='X:3200000' /> | 66 <param name='referencePoint' value='X:3200000' /> |
66 <output name="outFileName" file="li_viewpoint_32Mb.png" ftype="png" compare="sim_size"/> | 67 <output name="outFileName" file="li_viewpoint_32Mb.png" ftype="png" compare="sim_size"/> |
67 </test> | 68 </test> |
68 <test> | 69 <test> |
69 <param name="matrix_h5_cooler_multiple" value="Li_et_al_2015.h5"/> | 70 <param name="matrix_h5_cooler_multiple" value="Li_et_al_2015.cool"/> |
70 <param name="image_file_format" value="png" /> | 71 <param name="image_file_format" value="png" /> |
71 <param name='region' value='X:3000000-3500000' /> | 72 <param name='region' value='X:3000000-3500000' /> |
72 <param name='referencePoint' value='X:3200000-3300000' /> | 73 <param name='referencePoint' value='X:3200000-3300000' /> |
73 <param name='interactionOutFileName' value='True' /> | 74 <param name='interactionOutFileName' value='True' /> |
74 <output name="outFileName" file="li_viewpoint_32-33Mb.png" ftype="png" compare="sim_size"/> | 75 <output name="outFileName" file="li_viewpoint_32-33Mb.png" ftype="png" compare="sim_size"/> |
75 <output name="interactionFile"> | 76 <output name="interactionFile"> |
76 <discovered_dataset designation="0" file="li_32-33mb_interactions.bedgraph" /> | 77 <discovered_dataset designation="0_interactions" file="li_32-33mb_interactions.bedgraph" /> |
77 </output> | 78 </output> |
78 </test> | 79 </test> |
79 </tests> | 80 </tests> |
80 <help><![CDATA[ | 81 <help><![CDATA[ |
81 Plot Viewpoint | 82 Plot Viewpoint |