annotate extract_files_from_re_archive.xml @ 23:36c418bca8b2 draft

planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
author petr-novak
date Wed, 02 Aug 2023 11:50:25 +0000
parents d14b68e9fd1d
children eefed7a82001
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
36c418bca8b2 planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 17
diff changeset
1 <tool id="extract_var_files_from_re" name="Extract various files from RepeatExplorer2 archive" version="1.0.0.3">
17
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
2 <command detect_errors="exit_code">
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
3
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
4 #for $sf in $file:
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
5
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
6 #if $sf == "CLUSTER_TABLE.csv"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
7 unzip -p -j ${RepeatExplorer_archive} ${sf} &gt; ${cluster_table}
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
8 ;
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
9 #end if
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
10
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
11 #if $sf == "COMPARATIVE_ANALYSIS_COUNTS.csv"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
12 unzip -p -j ${RepeatExplorer_archive} ${sf} &gt; ${comparative_analysis_count}
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
13 ;
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
14 #end if
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
15
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
16 #if $sf == "SUPERCLUSTER_TABLE.csv"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
17 unzip -p -j ${RepeatExplorer_archive} ${sf} &gt; ${supercluster_table}
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
18 ;
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
19 #end if
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
20
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
21 #end for
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
22
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
23
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
24
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
25 </command>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
26
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
27 <inputs>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
28 <param name="RepeatExplorer_archive" label="Archive with RepeatExplorer2 results" type="data" format="zip"/>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
29
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
30 <param name="file" type="select" label="select files you want to extract" multiple="true" optional="false">
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
31 <option value="CLUSTER_TABLE.csv">CLUSTER_TABLE.csv</option>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
32 <option value="COMPARATIVE_ANALYSIS_COUNTS.csv">COMPARATIVE_ANALYSIS_COUNTS.csv</option>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
33 <option value="SUPERCLUSTER_TABLE.csv">SUPERCLUSTER_TABLE.csv</option>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
34 </param>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
35 </inputs>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
36
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
37 <outputs>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
38 <data format="tabular" name="cluster_table" label="CLUSTER_TABLE.csv from ${RepeatExplorer_archive.hid}" >
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
39 <filter>"CLUSTER_TABLE.csv" in file</filter>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
40 </data>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
41 <data format="tabular" name="supercluster_table" label="SUPERCLUSTER_TABLE.csv from ${RepeatExplorer_archive.hid}">
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
42 <filter>"SUPERCLUSTER_TABLE.csv" in file</filter>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
43 </data>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
44 <data format="tabular" name="comparative_analysis_count" label="COMPARATIVE_ANALYSIS_COUNTS.csv from ${RepeatExplorer_archive.hid}">
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
45 <filter>"COMPARATIVE_ANALYSIS_COUNTS.csv" in file</filter>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
46 </data>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
47 </outputs>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
48 </tool>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
49