annotate seal-galaxy-cc1b1911/seal/demux.xml @ 0:244073d9abc1 draft default tip

Uploaded
author crs4
date Wed, 15 Oct 2014 09:41:10 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
244073d9abc1 Uploaded
crs4
parents:
diff changeset
1
244073d9abc1 Uploaded
crs4
parents:
diff changeset
2 <!--
244073d9abc1 Uploaded
crs4
parents:
diff changeset
3 Copyright (C) 2011-2014 CRS4.
244073d9abc1 Uploaded
crs4
parents:
diff changeset
4
244073d9abc1 Uploaded
crs4
parents:
diff changeset
5 This file is part of Seal.
244073d9abc1 Uploaded
crs4
parents:
diff changeset
6
244073d9abc1 Uploaded
crs4
parents:
diff changeset
7 Seal is free software: you can redistribute it and/or modify it
244073d9abc1 Uploaded
crs4
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the Free
244073d9abc1 Uploaded
crs4
parents:
diff changeset
9 Software Foundation, either version 3 of the License, or (at your option)
244073d9abc1 Uploaded
crs4
parents:
diff changeset
10 any later version.
244073d9abc1 Uploaded
crs4
parents:
diff changeset
11
244073d9abc1 Uploaded
crs4
parents:
diff changeset
12 Seal is distributed in the hope that it will be useful, but
244073d9abc1 Uploaded
crs4
parents:
diff changeset
13 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
244073d9abc1 Uploaded
crs4
parents:
diff changeset
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
244073d9abc1 Uploaded
crs4
parents:
diff changeset
15 for more details.
244073d9abc1 Uploaded
crs4
parents:
diff changeset
16
244073d9abc1 Uploaded
crs4
parents:
diff changeset
17 You should have received a copy of the GNU General Public License along
244073d9abc1 Uploaded
crs4
parents:
diff changeset
18 with Seal. If not, see <http://www.gnu.org/licenses/>.
244073d9abc1 Uploaded
crs4
parents:
diff changeset
19 -->
244073d9abc1 Uploaded
crs4
parents:
diff changeset
20
244073d9abc1 Uploaded
crs4
parents:
diff changeset
21
244073d9abc1 Uploaded
crs4
parents:
diff changeset
22 <tool id="seal_demux" name="Demux" version="13986416aa79561bd0102cb7ccc1e0668ac9f0a4" force_history_refresh="True">
244073d9abc1 Uploaded
crs4
parents:
diff changeset
23 <description>Demultiplex Illumina runs on Hadoop</description>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
24 <requirements>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
25 <requirement type="package" version="13986416aa79561bd0102cb7ccc1e0668ac9f0a4">seal</requirement>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
26 <requirement type="package" version="0.11">pydoop</requirement>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
27 <requirement type="package" version="0.1.3">hadoop-galaxy</requirement>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
28 </requirements>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
29
244073d9abc1 Uploaded
crs4
parents:
diff changeset
30 <command interpreter="python">
244073d9abc1 Uploaded
crs4
parents:
diff changeset
31 demux_galaxy.py
244073d9abc1 Uploaded
crs4
parents:
diff changeset
32 $input_data
244073d9abc1 Uploaded
crs4
parents:
diff changeset
33 $mismatches
244073d9abc1 Uploaded
crs4
parents:
diff changeset
34 $__new_file_path__
244073d9abc1 Uploaded
crs4
parents:
diff changeset
35 #if $num_reducers
244073d9abc1 Uploaded
crs4
parents:
diff changeset
36 $num_reducers
244073d9abc1 Uploaded
crs4
parents:
diff changeset
37 #else
244073d9abc1 Uploaded
crs4
parents:
diff changeset
38 null
244073d9abc1 Uploaded
crs4
parents:
diff changeset
39 #end if
244073d9abc1 Uploaded
crs4
parents:
diff changeset
40 $output1
244073d9abc1 Uploaded
crs4
parents:
diff changeset
41 $output1.id
244073d9abc1 Uploaded
crs4
parents:
diff changeset
42 $sample_sheet
244073d9abc1 Uploaded
crs4
parents:
diff changeset
43 $input_format
244073d9abc1 Uploaded
crs4
parents:
diff changeset
44 $output_format
244073d9abc1 Uploaded
crs4
parents:
diff changeset
45 $output_compression
244073d9abc1 Uploaded
crs4
parents:
diff changeset
46 #if $index.specify_index == 'present'
244073d9abc1 Uploaded
crs4
parents:
diff changeset
47 true
244073d9abc1 Uploaded
crs4
parents:
diff changeset
48 #else if $index.specify_index == 'not_present'
244073d9abc1 Uploaded
crs4
parents:
diff changeset
49 false
244073d9abc1 Uploaded
crs4
parents:
diff changeset
50 #else if $index.specify_index == 'dynamic'
244073d9abc1 Uploaded
crs4
parents:
diff changeset
51 $index_present
244073d9abc1 Uploaded
crs4
parents:
diff changeset
52 #else
244073d9abc1 Uploaded
crs4
parents:
diff changeset
53 #raise ValueError('Invalid index value!')
244073d9abc1 Uploaded
crs4
parents:
diff changeset
54 #end if
244073d9abc1 Uploaded
crs4
parents:
diff changeset
55 $separate_reads
244073d9abc1 Uploaded
crs4
parents:
diff changeset
56 </command>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
57
244073d9abc1 Uploaded
crs4
parents:
diff changeset
58 <inputs>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
59 <param name="input_data" type="data" format="pathset" label="Source data set"/>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
60 <param name="sample_sheet" type="data" format="csv" label="Sample sheet" />
244073d9abc1 Uploaded
crs4
parents:
diff changeset
61
244073d9abc1 Uploaded
crs4
parents:
diff changeset
62 <conditional name="index">
244073d9abc1 Uploaded
crs4
parents:
diff changeset
63 <param name="specify_index" type="select" label="Index read" default="present">
244073d9abc1 Uploaded
crs4
parents:
diff changeset
64 <option value="present">Present</option>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
65 <option value="not_present">Not present</option>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
66 <option value="dynamic">Determine at runtime</option>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
67 </param>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
68 <when value="dynamic">
244073d9abc1 Uploaded
crs4
parents:
diff changeset
69 <param name="index_present" type="data" />
244073d9abc1 Uploaded
crs4
parents:
diff changeset
70 </when>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
71 </conditional>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
72
244073d9abc1 Uploaded
crs4
parents:
diff changeset
73 <param name="mismatches"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
74 label="Barcode base mismatch limit"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
75 type="integer"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
76 value="0"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
77 min="0"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
78 max="3" />
244073d9abc1 Uploaded
crs4
parents:
diff changeset
79 <param name="num_reducers"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
80 label="Number of reduce tasks"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
81 type="integer"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
82 value="90"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
83 min="1"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
84 optional="true"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
85 />
244073d9abc1 Uploaded
crs4
parents:
diff changeset
86 <param name="input_format" type="select" label="Input data format" default="qseq">
244073d9abc1 Uploaded
crs4
parents:
diff changeset
87 <option value="qseq">Qseq</option>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
88 <option value="fastq">Fastq</option>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
89 </param>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
90 <param name="output_format" type="select" label="Output data format" default="qseq">
244073d9abc1 Uploaded
crs4
parents:
diff changeset
91 <option value="qseq">Qseq</option>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
92 <option value="fastq">Fastq</option>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
93 </param>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
94 <param name="output_compression" type="select" label="Output compression" default="none">
244073d9abc1 Uploaded
crs4
parents:
diff changeset
95 <option value="none">None</option>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
96 <option value="gzip">Gzip</option>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
97 <option value="bzip2">Bzip2</option>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
98 </param>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
99
244073d9abc1 Uploaded
crs4
parents:
diff changeset
100 <param name="separate_reads" type="boolean"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
101 label="Separate reads by read number"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
102 default="false"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
103 truevalue="separate-reads"
244073d9abc1 Uploaded
crs4
parents:
diff changeset
104 />
244073d9abc1 Uploaded
crs4
parents:
diff changeset
105 </inputs>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
106
244073d9abc1 Uploaded
crs4
parents:
diff changeset
107 <outputs>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
108 <data name="output1" format="pathset" label="Demuxed" />
244073d9abc1 Uploaded
crs4
parents:
diff changeset
109 </outputs>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
110
244073d9abc1 Uploaded
crs4
parents:
diff changeset
111 <stdio>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
112 <exit_code range="1:" level="fatal" />
244073d9abc1 Uploaded
crs4
parents:
diff changeset
113 </stdio>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
114
244073d9abc1 Uploaded
crs4
parents:
diff changeset
115 <help>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
116 Demux is a Hadoop utility to demultiplex data from multiplexed Illumina runs.
244073d9abc1 Uploaded
crs4
parents:
diff changeset
117 </help>
244073d9abc1 Uploaded
crs4
parents:
diff changeset
118 </tool>