Mercurial > repos > devteam > windowsplitter
comparison windowSplitter.xml @ 3:d8515fe22ac8 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/windowsplitter commit 6960b37b09831a1b83f18775677b83a3cc5c2cd0"
author | devteam |
---|---|
date | Wed, 03 Jun 2020 09:45:06 -0400 |
parents | 592089499ae7 |
children |
comparison
equal
deleted
inserted
replaced
2:592089499ae7 | 3:d8515fe22ac8 |
---|---|
1 <tool id="winSplitter" name="Make windows" version="1.0.0"> | 1 <tool id="winSplitter" name="Make windows" version="1.0.1"> |
2 <description></description> | 2 <description></description> |
3 <command interpreter="python">windowSplitter.py $input $size $out_file1 ${wintype.choice} ${wintype.offset} -l ${input.metadata.chromCol},${input.metadata.startCol},${input.metadata.endCol},${input.metadata.strandCol}</command> | 3 <requirements> |
4 <inputs> | 4 <requirement type="package" version="0.8.8">bx-python</requirement> |
5 <!--<param label="Genome" name="dbkey" type="genomebuild"/>--> | 5 </requirements> |
6 <param format="interval" name="input" type="data" label="Select data"/> | 6 <command> |
7 <param name="size" type="integer" value="500" label="Window size"/> | 7 python $__tool_directory__/windowSplitter.py |
8 <conditional name="wintype"> | 8 $input |
9 <param name="choice" type="select" label="Make sliding windows?"> | 9 $size |
10 <option value="0" selected="true">No</option> | 10 $out_file1 |
11 <option value="1">Yes</option> | 11 ${wintype.choice} |
12 </param> | 12 ${wintype.offset} |
13 <when value="0"> | 13 -l ${input.metadata.chromCol},${input.metadata.startCol},${input.metadata.endCol},${input.metadata.strandCol} |
14 <param name="offset" type="hidden" value="0" /> | 14 </command> |
15 </when> | 15 <inputs> |
16 <when value="1"> | 16 <!--<param label="Genome" name="dbkey" type="genomebuild"/>--> |
17 <param name="offset" type="integer" value="10" label="Offset size"/> | 17 <param format="interval" name="input" type="data" label="Select data"/> |
18 </when> | 18 <param name="size" type="integer" value="500" label="Window size"/> |
19 </conditional> | 19 <conditional name="wintype"> |
20 </inputs> | 20 <param name="choice" type="select" label="Make sliding windows?"> |
21 <outputs> | 21 <option value="0" selected="true">No</option> |
22 <data format="interval" name="out_file1" metadata_source="input"/> | 22 <option value="1">Yes</option> |
23 </outputs> | 23 </param> |
24 <tests> | 24 <when value="0"> |
25 <test> | 25 <param name="offset" type="hidden" value="0" /> |
26 <param name="input" value="4.bed"/> | 26 </when> |
27 <param name="size" value="5000"/> | 27 <when value="1"> |
28 <param name="choice" value="1"/> | 28 <param name="offset" type="integer" value="10" label="Offset size"/> |
29 <param name="offset" value="4000"/> | 29 </when> |
30 <output name="out_file1" file="4_windows.bed"/> | 30 </conditional> |
31 </test> | 31 </inputs> |
32 </tests> | 32 <outputs> |
33 <help> | 33 <data format="interval" name="out_file1" metadata_source="input"/> |
34 </outputs> | |
35 <tests> | |
36 <test> | |
37 <param name="input" value="4.bed"/> | |
38 <param name="size" value="5000"/> | |
39 <param name="choice" value="1"/> | |
40 <param name="offset" value="4000"/> | |
41 <output name="out_file1" file="4_windows.bed"/> | |
42 </test> | |
43 </tests> | |
44 <help> | |
34 | 45 |
35 .. class:: infomark | 46 .. class:: infomark |
36 | 47 |
37 **What it does** | 48 **What it does** |
38 | 49 |
96 chr22 2000 3000 NM_174568 0 + | 107 chr22 2000 3000 NM_174568 0 + |
97 chr22 2500 3500 NM_174568 0 + | 108 chr22 2500 3500 NM_174568 0 + |
98 chr22 3000 4000 NM_174568 0 + | 109 chr22 3000 4000 NM_174568 0 + |
99 chr22 3500 4500 NM_174568 0 + | 110 chr22 3500 4500 NM_174568 0 + |
100 | 111 |
101 </help> | 112 </help> |
102 | |
103 | |
104 </tool> | 113 </tool> |