root/galaxy-central/tools/unix_tools/join_tool.xml

リビジョン 3, 2.3 KB (コミッタ: kohda, 14 年 前)

Install Unix tools  http://hannonlab.cshl.edu/galaxy_unix_tools/galaxy.html

行番号 
1<tool id="cshl_join_tool" name="join">
2  <description>two files</description>
3  <command interpreter="sh">join_tool.sh "$jointype" "$output_format"
4                                "$empty_string_filler" "$delimiter"
5                                "$ignore_case"
6                                "$input1" "$column1"
7                                "$input2" "$column2"
8                                "$output"
9  </command>
10 
11  <inputs>
12        <param format="txt" name="input1" type="data" label="1st file" />
13        <param name="column1" label="Column to use from 1st file" type="data_column" data_ref="input1" accept_default="true" />
14
15        <param format="txt" name="input2" type="data" label="2nd File" />
16        <param name="column2" label="Column to use from 2nd file" type="data_column" data_ref="input2" accept_default="true" />
17
18        <param name="jointype" type="select" label="Output lines appearing in">
19              <option value=" ">BOTH 1st &amp; 2nd file.</option>
20              <option value="-v 1">1st but not in 2nd file. [-v 1]</option>
21              <option value="-v 2">2nd but not in 1st file. [-v 2]</option>
22              <option value="-a 1">both 1st &amp; 2nd file, plus unpairable lines from 1st file. [-a 1]</option>
23              <option value="-a 2">both 1st &amp; 2nd file, plus unpairable lines from 2st file. [-a 2]</option>
24              <option value="-a 1 -a 2">All Lines [-a 1 -a 2]</option>
25        </param>
26
27            <param name="delimiter" type="select" label="field-separator [-t]">
28                <option value=",">comma (,)</option>
29                <option value=":">colons (:) </option>
30                <option value=" ">single space</option>
31                <option value=".">dot (.)</option>
32                <option value="-">dash (-)</option>
33                <option value="|">pipe (|)</option>
34                <option value="_">underscore (_)</option>
35                <option selected="True" value="tab">tab</option>
36            </param>
37
38        <param name="ignore_case" type="select" label="Case sensitivity">
39              <option value="">Case sensitive</option>
40              <option value="-i">Case INsensitive [-i]</option>
41        </param>
42
43        <param name="empty_string_filler" type="text" size="20" label="String replacement for empty fields [-e EMPTY]" help="Leave empty unless you know what you're doing. Use this when specifing output format" />
44
45        <param name="output_format" type="text" size="30" label="Output line format [-o FORMAT]" help="Leave empty unless you know what you're doing. Example: 1.1,2.1,2.1" />
46
47  </inputs>
48  <outputs>
49    <data name="output" format="input" metadata_source="input1" />
50  </outputs>
51 
52<help>
53</help>
54</tool>
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。