annotate extract_archive_and_merge.xml @ 0:78d968479d52 draft default tip

Imported from capsule None
author cmonjeau
date Tue, 07 Jul 2015 08:49:40 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
1 <tool id="extract_archive_merge" name="Decompress an archive" version="1.0.0" force_history_refresh="True" >
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
2 <description>in zip, gz, tar.gz, fastq.gz, fastq.bz2 or tar.bz2 format</description>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
3 <command interpreter="python">
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
4
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
5 extract_archive_and_merge.py $input_archive "$input_archive.display_name" $log $log.id $__new_file_path__ $options_merge.merge
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
6 #if str( $options_merge.merge ) == 'true'
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
7 ${options_merge.rm_header}
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
8 $concat
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
9 #end if
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
10
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
11 </command>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
12 <inputs>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
13 <param name="input_archive" type="data" format="zip,tar.gz,tar.bz2,fastq.gz,fastq.bz2" label="Archive name" help="Accepts zip, tar.gz and tar.bz2" />
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
14 <conditional name="options_merge">
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
15 <param name="merge" type="select" format="text" label="Merges all files into one">
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
16 <option value="false">No</option>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
17 <option value="true">Yes</option>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
18 </param>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
19 <when value="false">
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
20 </when>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
21 <when value="true">
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
22 <param name="rm_header" type="integer" value="0" label="Header lines to delete" help="number of lines to delete at the beginning of each file"/>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
23 </when>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
24 </conditional>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
25 </inputs>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
26 <outputs>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
27 <data format="txt" name="log" label="decompress_an_archive.log" />
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
28 <data format="txt" name="additional" label="additional file with ${tool.name}" hidden="true">
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
29 <discover_datasets pattern="__designation_and_ext__" directory="decompress_files" visible="true" />
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
30 </data>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
31
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
32 <data format="txt" name="concat" label="merge_file">
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
33 <filter>(options_merge['merge'] == 'true')</filter>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
34 </data>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
35 </outputs>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
36 <help>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
37 **Tool documentation**
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
38
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
39 This tool simply decompresses an archive file (zip, gz, tar.gz, fastq.gz, fastq.bz2 or tar.bz2) and merges all files into only one.
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
40 If the merge option is enabled, you can delete as many header lines as you need.
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
41
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
42 WARNING : the filename should not have special characters (space, brackets, ...), please rename it!!!
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
43
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
44 --------
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
45
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
46 **Created and integrated by:**
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
47
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
48 Cyril Monjeaud
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
49
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
50 GenOuest Bio-informatics Core Facility
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
51
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
52 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
53
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
54 support@genouest.org
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
55
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
56 If you use this tool in Galaxy, please cite :
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
57
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
58 `Y. Le Bras, A. Roult, C. Monjeaud, M. Bahin, O. Quenez, C. Heriveau, A. Bretaudeau, O. Sallou, O. Collin, Towards a Life Sciences Virtual Research Environment : an e-Science initiative in Western France. JOBIM 2013. &lt;https://www.e-biogenouest.org/resources/128&gt;`_
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
59 </help>
78d968479d52 Imported from capsule None
cmonjeau
parents:
diff changeset
60 </tool>