annotate logex.xml @ 0:73ddd200456a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
author iuc
date Tue, 07 Jan 2025 13:40:30 +0000
parents
children fb6b6d5e6bd5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
1 <tool id="fastk_logex" name="FastK Logex" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.2" license="MIT">
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
2 <description>Performs binary operations on the generated Ktab files from FASTK suite</description>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
3 <macros>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
4 <import>macros.xml</import>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
5 </macros>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
8 mkdir -p logex_ktabs
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
9 && mkdir -p input_files
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
10 && cp '$input_ktab1' input_files/input1.ktab
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
11 && ln -s '$input_ktab1_tar' input1.tar
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
12 && tar -xf input1.tar
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
13 && mv ktabfiles ktabfiles_in1
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
14 && mv "\$(find ktabfiles_in1 -type f -name '*.ktab.1')" "ktabfiles_in1/.input1.ktab.1"
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
15 && cp '$input_ktab2' input_files/input2.ktab
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
16 && ln -s '$input_ktab2_tar' input2.tar
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
17 && tar -xf input2.tar
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
18 && mv ktabfiles ktabfiles_in2
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
19 && mv "\$(find ktabfiles_in2 -type f -name '*.ktab.1')" "ktabfiles_in2/.input2.ktab.1"
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
20 && mv ktabfiles_in1/.input1.ktab.1 input_files/
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
21 && mv ktabfiles_in2/.input2.ktab.1 input_files/ &&
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
22 #if $operation_selector == 'and':
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
23 Logex -T\${GALAXY_SLOTS:-8} -h 'out = A&.B' input_files/input1.ktab input_files/input2.ktab
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
24 #elif $operation_selector == 'or':
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
25 Logex -T\${GALAXY_SLOTS:-8} -h 'out = A|.B' input_files/input1.ktab input_files/input2.ktab
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
26 #elif $operation_selector == 'minus':
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
27 Logex -T\${GALAXY_SLOTS:-8} -h 'out = A-B' input_files/input1.ktab input_files/input2.ktab
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
28 #elif $operation_selector == 'xor':
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
29 Logex -T\${GALAXY_SLOTS:-8} -h 'out = A^B' input_files/input1.ktab input_files/input2.ktab
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
30 #elif $operation_selector == 'unionsum':
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
31 Logex -T\${GALAXY_SLOTS:-8} -h 'out = A&+B' input_files/input1.ktab input_files/input2.ktab
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
32 #end if
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
33 && cp *.ktab logex_ktabs/
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
34 && cp .*.ktab* logex_ktabs/
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
35 && tar -cf logex_ktab.tar input_files/ logex_ktabs/
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
36 ]]></command>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
37 <inputs>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
38 <param name="input_ktab1" type="data" format="fastk_ktab" label="Input FastK ktab file (first)"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
39 <param name="input_ktab1_tar" type="data" format="fastk_ktab" label="Associated FastK TAR file consisting of intermediate .ktab files"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
40 <param name="input_ktab2" type="data" format="fastk_ktab" label="Input FastK ktab file (second)"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
41 <param name="input_ktab2_tar" type="data" format="fastk_ktab" label="Associated FastK TAR file consisting of intermediate .ktab files"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
42 <param name="operation_selector" type="select" label="Select Operation to Perform" help="Select the operation to be performed on the input ktab files.">
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
43 <option value="and">AND</option>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
44 <option value="or">OR</option>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
45 <option value="minus">Minus</option>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
46 <option value="unionsum">Unionsum</option>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
47 <option value="xor">XOR</option>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
48 </param>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
49 </inputs>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
50 <outputs>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
51 <data name="fastk_hist_out" format="fastk_hist" from_work_dir="out.hist" label="${tool.name} on ${on_string}: Logex .hist file"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
52 <data name="fastk_ktab_out" format="fastk_ktab" from_work_dir="out.ktab" label="${tool.name} on ${on_string}: Logex .ktab file"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
53 <data name="fastk_ktab_files" format="tar" from_work_dir="logex_ktab.tar" label="${tool.name} on ${on_string}: FastK Logex ktab files"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
54 </outputs>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
55 <tests>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
56 <test expect_num_outputs="3">
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
57 <param name="input_ktab1" value="fastq1.ktab"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
58 <param name="input_ktab1_tar" value="fastk_in1.tar"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
59 <param name="input_ktab2" value="fastq2.ktab"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
60 <param name="input_ktab2_tar" value="fastk_in2.tar"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
61 <param name="operation_selector" value="AND"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
62 <output name="fastk_hist_out" ftype="fastk_hist">
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
63 <assert_contents>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
64 <has_size value="262164"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
65 </assert_contents>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
66 </output>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
67 <output name="fastk_ktab_out" ftype="fastk_ktab">
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
68 <assert_contents>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
69 <has_size value="2064"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
70 </assert_contents>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
71 </output>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
72 <output name="fastk_ktab_files" ftype="tar">
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
73 <assert_contents>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
74 <has_archive_member path="logex_ktabs/out.ktab"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
75 <has_archive_member path="logex_ktabs/.out.ktab.1"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
76 <has_archive_member path="input_files/input1.ktab"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
77 <has_archive_member path="input_files/.input1.ktab.1"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
78 <has_archive_member path="input_files/input2.ktab"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
79 <has_archive_member path="input_files/.input2.ktab.1"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
80 </assert_contents>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
81 </output>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
82 </test>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
83 </tests>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
84 <help><![CDATA[
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
85
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
86 Logex tool can perform operations such as AND, OR, XOR, Minus and Unionsum on the input given input Ktab files.
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
87
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
88 The tool requires two input Ktab files and their associated files (Generated in the tarball of FASTK tool with .1 extension) as inputs to perform various binary operations.
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
89
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
90 ]]></help>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
91 <expand macro="citations"/>
73ddd200456a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 56658d5048382715413718dd2d41c9751e886608
iuc
parents:
diff changeset
92 </tool>