annotate convert.xml @ 1:bfcd121b99bf draft default tip

planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 44e872b808f88eacd05963fc2478da2c07b50228
author wolma
date Thu, 22 Mar 2018 10:32:39 -0400
parents f0f2795de2c7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
1 <tool id="mimodd_convert" name="MiModD Convert" version="@MIMODD_WRAPPER_VERSION@">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
2 <description>converts sequence data into different formats</description>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
3 <macros>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
4 <import>macros.xml</import>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
5 <macro name="to_format">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
6 <param name="oformat" type="select" label="to">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
7 <option value="sam">sam</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
8 <option value="bam">bam</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
9 <yield />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
10 </param>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
11 </macro>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
12 <macro name="se_selector" token_format="fastq">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
13 <conditional name="input">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
14 <param name="repr" type="select"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
15 label="Single-end input data provided as">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
16 <option value="individual">Individual datasets</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
17 <option value="collection">Collection of datasets</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
18 </param>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
19 <when value="individual">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
20 <repeat name="input_data" title="fastq input datasets"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
21 default="1" min="1">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
22 <param name="file1" type="data" format="@FORMAT@"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
23 label="single-end read data"/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
24 </repeat>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
25 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
26 <when value="collection">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
27 <param name="input_data" type="data_collection"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
28 collection_type="list" format="fastq, fastq.gz"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
29 label="collection of single-end read input datasets" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
30 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
31 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
32 <param name="header" type="data" format="sam" label="Use Header File"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
33 help="A SAM file with header information, as generated, for example, by the NGS Run Annotation Tool, that will be used to attach metainformation to the results file."/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
34
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
35 </macro>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
36 <macro name="pe_selector" token_format="fastq">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
37 <conditional name="input">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
38 <param name="repr" type="select"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
39 label="Paired-end input data provided as">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
40 <option value="individual">Individual datasets</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
41 <option value="collection">Paired collection</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
42 <option value="list_of_pairs">List of pairs</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
43 </param>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
44 <when value="individual">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
45 <repeat name="input_data" title="fastq input datasets"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
46 default="1" min="1">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
47 <param name="file1" type="data" format="@FORMAT@"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
48 label="first set of reads of paired-end data"/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
49 <param name="file2" type="data" format="@FORMAT@"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
50 label="second set of reads of paired-end data"/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
51 </repeat>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
52 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
53 <when value="collection">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
54 <param name="input_data" type="data_collection"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
55 collection_type="paired" format="fastq, fastq.gz"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
56 label="paired input dataset collection" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
57 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
58 <when value="list_of_pairs">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
59 <param name="input_data" type="data_collection"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
60 collection_type="list:paired" format="fastq, fastq.gz"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
61 label="nested collection of paired input datasets" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
62 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
63 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
64 <param name="header" type="data" format="sam" label="Use Header File"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
65 help="A SAM file with header information, as generated, for example, by the NGS Run Annotation Tool, that will be used to attach metainformation to the results file."/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
66
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
67 </macro>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
68 <macro name="sam_bam_selector" token_format="sam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
69 <param name="input_data" type="data" format="@FORMAT@"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
70 label="input dataset"/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
71 <param name="header" type="hidden" value="None"/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
72 </macro>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
73 <macro name="fastq_output_choices">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
74 <param name="split_on_rgs" type="hidden" value=""/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
75 <param name="reads_to_report" type="select" display="radio"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
76 label="Types of reads to generate output for"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
77 help="By default, the tool will generate two dataset collections, one for single reads found in the input file, and one for paired reads. If you know, in advance, that the input contains only single or only paired reads, you can prevent the generation of an empty dataset collection by selecting the appropriate option here.">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
78 <option value="default">Single and paired reads</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
79 <option value="single">Single reads only</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
80 <option value="paired">Paired reads only</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
81 </param>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
82 <param name="multisegment_report" type="boolean" checked="false"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
83 label="Generate additional output for multi-segment reads"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
84 help="Multi-segment reads, as opposed to single- and two-segment/paired reads, are not present in typical NGS data, but allowed in SAM/BAM files. If you expect multi-segment reads in the input file, enable this option." />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
85 </macro>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
86 <macro name="bam_output_choices">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
87 <param name="split_on_rgs" type="boolean" truevalue="--split-on-rgs" falsevalue="" checked="false"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
88 label="Split output based on read group IDs"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
89 help="If the input file contains reads from different read groups, write them to separate output files; implied automatically for conversions to fastq and gzipped fastq format"/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
90 </macro>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
91 </macros>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
92 <expand macro="requirements" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
93 <expand macro="stdio" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
94 <expand macro="version_command" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
95 <command><![CDATA[
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
96 ## Currently Galaxy does not autoconvert collections of fastq.gz files.
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
97 ## This tool wrapper fixes that by allowing fastq and fastq.gz as input
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
98 ## collection formats.
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
99 ## gz_input is then used as flag to indicate a fastq.gz input file
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
100 #set gz_input = False
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
101 #if $str($mode.output.split_on_rgs) or $str($mode.output.oformat) == "fastq" or $str($mode.output.oformat) == "gz":
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
102 mkdir converted_data &&
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
103 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
104
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
105 mimodd convert
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
106 #if $str($mode.iformat) in ("sam", "bam"):
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
107 '${mode.output.input_data}'
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
108 #else if $str($mode.iformat) == "fastq_pe":
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
109 #if $str($mode.output.input.repr) == "collection":
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
110 '$mode.output.input.input_data.forward' '$mode.output.input.input_data.reverse'
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
111 ## A paired collection - if the forward dataset is gzipped we assume
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
112 ## the reverse dataset is too.
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
113 #if $mode.output.input.input_data.forward.is_of_type('fastq.gz'):
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
114 #set gz_input = True
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
115 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
116 #else
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
117 #for $i in $mode.output.input.input_data
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
118 #if $str($mode.output.input.repr) == "individual":
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
119 '${i.file1}' '${i.file2}'
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
120 #else
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
121 '$i.forward' '$i.reverse'
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
122 ## A list:paired collection - let the last forward dataset
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
123 ## indicate whether input is gzipped
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
124 #if $i.forward.is_of_type('fastq.gz'):
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
125 #set gz_input = True
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
126 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
127 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
128 #end for
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
129 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
130 #else
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
131 #for $i in $mode.output.input.input_data
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
132 #if $str($mode.output.input.repr) == "collection":
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
133 '$i'
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
134 ## A simple collection of files - the last one determines
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
135 ## whether we assume gzipped input
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
136 #if $i.is_of_type('fastq.gz'):
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
137 #set gz_input = True
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
138 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
139 #else
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
140 '${i.file1}'
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
141 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
142 #end for
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
143 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
144 #if $str($mode.output.header) != "None":
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
145 --header '$(mode.output.header)'
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
146 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
147 #if $str($outputname) == "None":
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
148 --ofile converted_data/read_group
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
149 #else
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
150 --ofile '$outputname'
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
151 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
152 #if $gz_input:
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
153 ## a gzipped input dataset was found so lets set --iformat accordingly
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
154 #if $str($mode.iformat) == "fastq_pe":
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
155 --iformat gz_pe
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
156 #else
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
157 --iformat gz
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
158 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
159 #else
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
160 --iformat $(mode.iformat)
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
161 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
162 --oformat $(mode.output.oformat)
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
163 ${mode.output.split_on_rgs}
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
164
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
165 #if $str($mode.output.oformat) == "fastq" or $str($mode.output.oformat) == "gz":
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
166 &&
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
167 cd converted_data &&
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
168 for f in *2segments_r1.fastq.gz; do [ -f "\$f" ] || continue; mv "\$f" "`basename \$f _r1.fastq.gz`_forward.fastq.gz"; done &&
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
169 for f in *2segments_r2.fastq.gz; do [ -f "\$f" ] || continue; mv "\$f" "`basename \$f _r2.fastq.gz`_reverse.fastq.gz"; done &&
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
170 for f in *2segments_r1.fastq; do [ -f "\$f" ] || continue; mv "\$f" "`basename \$f _r1.fastq`_forward.fastq"; done &&
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
171 for f in *2segments_r2.fastq; do [ -f "\$f" ] || continue; mv "\$f" "`basename \$f _r2.fastq`_reverse.fastq"; done
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
172 #end if
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
173
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
174 ]]></command>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
175
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
176 <inputs>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
177 <conditional name="mode">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
178 <param name="iformat" type="select" label="Convert from"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
179 help="Your choice will update the interface to display further choices appropriate for your type of input data.">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
180 <option value="fastq">fastq: single-end (one file)</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
181 <option value="fastq_pe">fastq: paired-end (two files)</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
182 <option value="sam">sam</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
183 <option value="bam">bam</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
184 </param>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
185 <when value="fastq">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
186 <conditional name="output">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
187 <expand macro="to_format" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
188 <when value="sam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
189 <expand macro="se_selector" format="fastq" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
190 <param name="split_on_rgs" type="hidden" value=""/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
191 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
192 <when value="bam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
193 <expand macro="se_selector" format="fastq" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
194 <param name="split_on_rgs" type="hidden" value=""/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
195 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
196 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
197 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
198 <when value="fastq_pe">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
199 <conditional name="output">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
200 <expand macro="to_format" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
201 <when value="sam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
202 <expand macro="pe_selector" format="fastq" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
203 <param name="split_on_rgs" type="hidden" value=""/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
204 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
205 <when value="bam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
206 <expand macro="pe_selector" format="fastq" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
207 <param name="split_on_rgs" type="hidden" value=""/>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
208 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
209 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
210 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
211 <when value="sam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
212 <conditional name="output">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
213 <expand macro="to_format">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
214 <option value="fastq">fastq</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
215 <option value="gz">gzipped fastq</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
216 </expand>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
217 <when value="fastq">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
218 <expand macro="sam_bam_selector" format="sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
219 <expand macro="fastq_output_choices" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
220 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
221 <when value="gz">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
222 <expand macro="sam_bam_selector" format="sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
223 <expand macro="fastq_output_choices" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
224 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
225 <when value="bam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
226 <expand macro="sam_bam_selector" format="sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
227 <expand macro="bam_output_choices" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
228 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
229 <when value="sam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
230 <expand macro="sam_bam_selector" format="sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
231 <expand macro="bam_output_choices" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
232 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
233 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
234 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
235 <when value="bam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
236 <conditional name="output">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
237 <expand macro="to_format">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
238 <option value="fastq">fastq</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
239 <option value="gz">gzipped fastq</option>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
240 </expand>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
241 <when value="fastq">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
242 <expand macro="sam_bam_selector" format="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
243 <expand macro="fastq_output_choices" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
244 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
245 <when value="gz">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
246 <expand macro="sam_bam_selector" format="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
247 <expand macro="fastq_output_choices" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
248 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
249 <when value="bam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
250 <expand macro="sam_bam_selector" format="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
251 <expand macro="bam_output_choices" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
252 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
253 <when value="sam">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
254 <expand macro="sam_bam_selector" format="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
255 <expand macro="bam_output_choices" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
256 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
257 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
258 </when>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
259 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
260 </inputs>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
261
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
262 <outputs>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
263 <data name="outputname" format="bam"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
264 label="Reads converted to ${mode.output.oformat} by ${tool.name} on ${on_string}">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
265 <change_format>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
266 <when input="mode.output.oformat" value="sam" format="sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
267 </change_format>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
268 <filter>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
269 (mode['output']['oformat'] in ("bam", "sam") and not mode['output']['split_on_rgs'])
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
270 </filter>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
271 </data>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
272 <collection name="bam_split_on_read_groups" type="list"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
273 label="Reads converted to ${mode.output.oformat} by ${tool.name} on ${on_string}">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
274 <discover_datasets pattern="__designation_and_ext__"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
275 directory="converted_data" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
276 <filter>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
277 (mode['output']['oformat'] in ('bam', 'sam') and mode['output']['split_on_rgs'])
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
278 </filter>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
279 </collection>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
280 <collection name="fastq_SE_output_split_on_read_groups" type="list"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
281 label="Single reads converted to fastq by ${tool.name} on ${on_string}">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
282 <discover_datasets
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
283 pattern="(?P&lt;designation&gt;.+)_1segments_r1\.(?P&lt;ext&gt;fastq(\.gz)*)"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
284 directory="converted_data" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
285 <filter>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
286 (mode['output']['oformat'] in ('fastq', 'gz') and mode['output']['reads_to_report'] in ('default', 'single'))
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
287 </filter>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
288 </collection>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
289 <collection name="fastq_PE_reads_split_on_read_groups" type="list:paired"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
290 label="Read pairs converted to fastq by ${tool.name} on ${on_string}">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
291 <discover_datasets
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
292 pattern="(?P&lt;identifier_0&gt;read_group_.+)_2segments_(?P&lt;identifier_1&gt;(forward|reverse))\.(?P&lt;ext&gt;fastq(\.gz)*)"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
293 directory="converted_data" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
294 <filter>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
295 (mode['output']['oformat'] in ('fastq', 'gz') and mode['output']['reads_to_report'] in ('default', 'paired'))
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
296 </filter>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
297 </collection>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
298 <collection name="fastq_multi-segment_reads_split_on_read_groups" type="list:list"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
299 label="Multi-segment reads converted to fastq by ${tool.name} on ${on_string}">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
300 <discover_datasets
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
301 pattern="(?P&lt;identifier_0&gt;read_group_.+)_(?P&lt;identifier_1&gt;[3-9]|[1-9][0-9]+)segments_r[0-9]+\.(?P&lt;ext&gt;fastq(\.gz)*)"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
302 directory="converted_data" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
303 <filter>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
304 (mode['output']['oformat'] in ('fastq', 'gz') and mode['output']['multisegment_report'])
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
305 </filter>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
306 </collection>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
307 </outputs>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
308
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
309 <tests>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
310 <test expect_num_outputs="1">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
311 <conditional name="mode">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
312 <param name="iformat" value="fastq" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
313 <conditional name="output">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
314 <param name="oformat" value="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
315 <conditional name="input">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
316 <param name="repr" value="individual" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
317 <repeat name="input_data">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
318 <param name="file1"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
319 value="split_pair_reads_1.fastqsanger" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
320 </repeat>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
321 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
322 <param name="header" value="header_only.sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
323 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
324 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
325 <output name="outputname" file="reads_1_w_header.bam"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
326 ftype="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
327 </test>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
328 <test expect_num_outputs="1">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
329 <conditional name="mode">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
330 <param name="iformat" value="fastq_pe" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
331 <conditional name="output">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
332 <param name="oformat" value="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
333 <conditional name="input">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
334 <param name="repr" value="individual" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
335 <repeat name="input_data">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
336 <param name="file1"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
337 value="split_pair_reads_1.fastqsanger" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
338 <param name="file2"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
339 value="split_pair_reads_2.fastqsanger" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
340 </repeat>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
341 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
342 <param name="header" value="header_only.sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
343 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
344 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
345 <output name="outputname" file="reads_1and2_w_header.bam"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
346 ftype="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
347 </test>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
348 <test expect_num_outputs="1">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
349 <conditional name="mode">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
350 <param name="iformat" value="fastq_pe" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
351 <conditional name="output">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
352 <param name="oformat" value="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
353 <conditional name="input">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
354 <param name="repr" value="collection" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
355 <param name="input_data">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
356 <collection type="paired">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
357 <element name="forward"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
358 value="split_pair_reads_1.fastqsanger" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
359 <element name="reverse"
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
360 value="split_pair_reads_2.fastqsanger" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
361 </collection>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
362 </param>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
363 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
364 <param name="header" value="header_only.sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
365 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
366 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
367 <output name="outputname" file="reads_1and2_w_header.bam" ftype="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
368 </test>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
369 <test expect_num_outputs="1">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
370 <conditional name="mode">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
371 <param name="iformat" value="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
372 <conditional name="output">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
373 <param name="oformat" value="sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
374 <param name="input_data" value="a.bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
375 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
376 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
377 <output name="outputname" file="a.sam" ftype="sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
378 </test>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
379 <test>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
380 <conditional name="mode">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
381 <param name="iformat" value="sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
382 <conditional name="output">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
383 <param name="oformat" value="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
384 <param name="input_data" value="a.sam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
385 <param name="split_on_rgs" value="true" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
386 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
387 </conditional>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
388 <output_collection name="bam_split_on_read_groups" type="list" count="2">
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
389 <element name="read_group_000" file="a_part1.bam" ftype="bam" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
390 </output_collection>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
391 </test>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
392 </tests>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
393
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
394 <help><![CDATA[
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
395 .. class:: infomark
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
396
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
397 **What it does**
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
398
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
399 The tool converts between different file formats used for storing
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
400 next-generation sequencing data.
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
401
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
402 As input file types it can handle fastq, SAM or BAM format, which it can
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
403 convert to SAM or BAM format.
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
404
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
405 **Notes:**
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
406
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
407 1) The tool can convert fastq files representing data from paired-end
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
408 sequencing runs to appropriate SAM/BAM format provided that the mate
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
409 information is split over two fastq files in corresponding order.
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
410
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
411 **TIP:** If your paired-end data is arranged differently, you may look into
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
412 the *fastq splitter* and *fastq de-interlacer* tools for Galaxy from the
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
413 `Fastq Manipulation category`_ of the Galaxy Tool Shed to see if they can
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
414 convert your files to the expected format.
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
415
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
416 2) Merging partial fastq (or gzipped fastq) files into a single SAM/BAM file is
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
417 supported both for single-end and paired-end data. Simply add additional input
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
418 datasets and select the appropriate files (pairs of files in case of paired-end
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
419 data).
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
420
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
421 Concatenation of SAM/BAM file during conversion is currently not supported.
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
422
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
423 3) For input in fastq format a SAM header file providing run metadata
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
424 **has to be specified**. The information in this file will be used as the
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
425 header data of the new SAM/BAM file. You can use the *NGS Run Annotation* tool
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
426 to generate a new header file for your data.
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
427
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
428 For input in SAM/BAM format the tool will simply copy the existing header
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
429 data to the new file. To modify the header of an existing SAM/BAM file, use
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
430 the *Reheader BAM file* tool instead.
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
431
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
432 .. _Fastq Manipulation category: https://toolshed.g2.bx.psu.edu/repository/browse_repositories_in_category?id=310ff67d4caf6531
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
433 .. _recipe for using gzipped fastq files in Galaxy: http://mimodd.readthedocs.org/en/latest/recipes.html#use-gzipped-fastq-files-in-galaxy
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
434 .. _MiModD user guide: http://mimodd.readthedocs.org/en/latest
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
435
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
436 @HELP_FOOTER@
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
437 ]]></help>
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
438 <expand macro="citations" />
f0f2795de2c7 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff changeset
439 </tool>