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