Mercurial > repos > simon-gladman > trimmomatic_032
comparison trimmomatic.xml @ 7:76d1aebc44bf draft
Uploaded: added dataset collection support for paired end trimmomatic
| author | simon-gladman |
|---|---|
| date | Thu, 10 Jul 2014 13:24:53 -0400 |
| parents | 9db0c1c78236 |
| children | 2c4e0eab2cae |
comparison
equal
deleted
inserted
replaced
| 6:9db0c1c78236 | 7:76d1aebc44bf |
|---|---|
| 6 </requirements> | 6 </requirements> |
| 7 | 7 |
| 8 <command interpreter="perl"> | 8 <command interpreter="perl"> |
| 9 trimmomatic_wrapper.pl | 9 trimmomatic_wrapper.pl |
| 10 paired ${paired.is_paired} | 10 paired ${paired.is_paired} |
| 11 fwdfile ${paired.forwards_file} | 11 #if $paired.is_paired == "single": |
| 12 #if $paired.is_paired: | 12 fwdfile ${paired.forwards_file} |
| 13 #end if | |
| 14 #if $paired.is_paired == "paired": | |
| 15 fwdfile ${paired.forwards_file} | |
| 13 revfile ${paired.reverse_file} | 16 revfile ${paired.reverse_file} |
| 14 #end if | 17 #end if |
| 18 #if $paired.is_paired == "collection": | |
| 19 fwdfile ${collection_data.forward} | |
| 20 revfile ${collection_data.reverse} | |
| 15 phred $phred | 21 phred $phred |
| 16 cutadapt ${adapt.adapters} | 22 cutadapt ${adapt.adapters} |
| 17 #if $adapt.adapters: | 23 #if $adapt.adapters: |
| 18 adaptfile ${adapt.adapt_file} | 24 adaptfile ${adapt.adapt_file} |
| 19 adaptseed ${adapt.adapt_seed} | 25 adaptseed ${adapt.adapt_seed} |
| 57 </command> | 63 </command> |
| 58 | 64 |
| 59 <inputs> | 65 <inputs> |
| 60 | 66 |
| 61 <conditional name="paired"> | 67 <conditional name="paired"> |
| 62 <param name="is_paired" type="boolean" checked="true" truevalue="paired" falsevalue="single" label="Paired end reads?" help="Do you have 2 separate paired end read files?"/> | 68 <!-- <param name="is_paired" type="boolean" checked="true" truevalue="paired" falsevalue="single" label="Paired end reads?" help="Do you have 2 separate paired end read files?"/> --> |
| 69 <param name="is_paired" type="select" label="Read type selector" help="single file (not pair aware), two files (paired reads) or a dataset collection of pairs"> | |
| 70 <option value="single" selected="true">Single File</option> | |
| 71 <option value="paired">Two Files</option> | |
| 72 <option value="collection">Single dataset collection pair</option> | |
| 73 </param> | |
| 63 <when value="paired"> | 74 <when value="paired"> |
| 64 <param name="forwards_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Direction 1 fastq reads to trim"/> | 75 <param name="forwards_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Direction 1 fastq reads to trim"/> |
| 65 <param name="reverse_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Direction 2 fastq reads to trim"/> | 76 <param name="reverse_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Direction 2 fastq reads to trim"/> |
| 66 </when> | 77 </when> |
| 67 <when value="single"> | 78 <when value="single"> |
| 68 <param name="forwards_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Fastq reads to trim"/> | 79 <param name="forwards_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Fastq reads to trim"/> |
| 80 </when> | |
| 81 <when value="collection"> | |
| 82 <param name="collection_data" type="data_collection" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Paired end dataset collection" collection_type="paired"/> | |
| 69 </when> | 83 </when> |
| 70 </conditional> | 84 </conditional> |
| 71 <param name="phred" type="select" label="Quality encoding." help="Phred33 or Phred 64, probably Phred64"> | 85 <param name="phred" type="select" label="Quality encoding." help="Phred33 or Phred 64, probably Phred64"> |
| 72 <option value="phred64">phred64</option> | 86 <option value="phred64">phred64</option> |
| 73 <option value="phred33" selected="True">phred33</option> | 87 <option value="phred33" selected="True">phred33</option> |
| 138 | 152 |
| 139 <outputs> | 153 <outputs> |
| 140 <data name="log" format="tabular" label="${tool.name} on ${on_string}: Trimmomatic Log" hidden="True"> | 154 <data name="log" format="tabular" label="${tool.name} on ${on_string}: Trimmomatic Log" hidden="True"> |
| 141 </data> | 155 </data> |
| 142 <data name="fwdpairs" format="input" label="${tool.name} on ${on_string}: Dir1 trimmed pairs"> | 156 <data name="fwdpairs" format="input" label="${tool.name} on ${on_string}: Dir1 trimmed pairs"> |
| 143 <filter>(paired['is_paired'])</filter> | 157 <filter>(paired['is_paired']=="single")</filter> |
| 144 </data> | 158 </data> |
| 145 <data name="revpairs" format="input" label="${tool.name} on ${on_string}: Dir2 trimmed pairs"> | 159 <data name="revpairs" format="input" label="${tool.name} on ${on_string}: Dir2 trimmed pairs"> |
| 146 <filter>(paired['is_paired'])</filter> | 160 <filter>(paired['is_paired'] == "paired" or paired['is_paired'] == "collection")</filter> |
| 147 </data> | 161 </data> |
| 148 <data name="singles" format="input" label="${tool.name} on ${on_string}: trimmed reads"/> | 162 <data name="singles" format="input" label="${tool.name} on ${on_string}: trimmed reads"/> |
| 149 <data name="dummy_out" format="tabular" label="${tool.name} on ${on_string}: DEBUG OUTPUT" hidden="True"/> | 163 <data name="dummy_out" format="tabular" label="${tool.name} on ${on_string}: DEBUG OUTPUT" hidden="True"/> |
| 150 </outputs> | 164 </outputs> |
| 151 | 165 |
