Mercurial > repos > peterjc > mira_assembler
annotate tools/mira_3_4/mira.xml @ 9:5573d802e431 draft
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
author | peterjc |
---|---|
date | Wed, 18 Sep 2013 06:22:19 -0400 |
parents | 4266cccbb45a |
children |
rev | line source |
---|---|
9
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
1 <tool id="mira_assembler" name="Assemble with MIRA v3.4" version="0.0.8"> |
8 | 2 <description>Takes Sanger, Roche, Illumina, and Ion Torrent data</description> |
9
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
3 <requirements> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
4 <requirement type="python-module">Bio</requirement> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
5 <requirement type="binary">mira</requirement> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
6 <requirement type="package" version="3.4.1.1">MIRA</requirement> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
7 </requirements> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
8 <version_command interpreter="python">mira.py -v</version_command> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
9 <command interpreter="python">mira.py mira $out_fasta $out_qual $out_ace $out_caf $out_wig $out_log |
8 | 10 ##Give the wrapper script list of output filenames, then the mira command... |
11 mira --job=$job_method,$job_type,$job_quality | |
12 | |
13 ##Input files | |
14 #if $condBackbone.use == "true": | |
15 ## Can this be linked to job_method as well? If mapping we need the backbone... | |
16 -SB:lb=1:bft=fasta -FN:bbin=${condBackbone.filename} | |
17 #end if | |
18 #if $condSanger.use == "true": | |
19 SANGER_SETTINGS | |
20 ## Not easy in Galaxy to add sanger to --job, so use load_sequence_data(lsd) instead | |
21 ## I expect hard trimmed FASTQ files with no NCBI traceinfo XML file | |
22 -LR:lsd=1:mxti=0:ft=fastq -FN:fqi=${condSanger.filename} | |
23 #end if | |
24 #if $condRoche.use == "true": | |
25 454_SETTINGS | |
26 ## Not easy in Galaxy to add 454 to --job, so use load_sequence_data(lsd) instead | |
27 ## I expect hard trimmed FASTQ files with no NCBI traceinfo XML file | |
28 -LR:lsd=1:mxti=0:ft=fastq -FN:fqi=${condRoche.filename} | |
29 #end if | |
30 #if $condIllumina.use == "true": | |
31 SOLEXA_SETTINGS | |
32 ## Not easy in Galaxy to add solexa to --job, so use load_sequence_data(lsd) instead | |
33 -LR:lsd=1:ft=fastq -FN:fqi=${condIllumina.filename} | |
34 ##TODO - Look at -LR FASTQ qual offset (fqqo) | |
35 #end if | |
36 #if $condIonTorrent.use == "true": | |
37 IONTOR_SETTINGS | |
38 ## Not easy in Galaxy to add iontor to --job, so use load_sequence_data(lsd) instead | |
39 ## I expect hard trimmed FASTQ files with no NCBI traceinfo XML file | |
40 -LR:lsd=1:mxti=0:ft=fastq -FN:fqi=${condIonTorrent.filename} | |
41 #end if | |
42 | |
43 ##Output files | |
44 COMMON_SETTINGS | |
45 | |
46 ##ignore warnings about long read names | |
47 -MI:somrnl=0 | |
48 | |
49 ##Explicitly request the FASTA (+QUAL), CAF, ACE, WIG output | |
50 ##Explicitly disable formats we won't use like MAF (reduce IO) | |
51 -OUT:orf=1:orc=1:ora=1:orw=1:orm=0:org=0:ors=0 | |
52 | |
53 ##remove_rollover_tmps, remove_tmp_directory | |
54 -OUT:rrot=1:rtd=1 | |
55 | |
56 ##put mira temp directory on local storage | |
57 -DI:trt=/tmp | |
58 | |
59 </command> | |
9
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
60 <inputs> |
8 | 61 <param name="job_method" type="select" label="Assembly method" help="Mapping mode requires backbone/reference sequence(s)"> |
62 <option value="denovo">De novo</option> | |
63 <option value="mapping">Mapping</option> | |
64 </param> | |
65 <param name="job_type" type="select" label="Assembly type"> | |
66 <option value="genome">Genome</option> | |
67 <option value="est">EST (transcriptome)</option> | |
68 </param> | |
69 <param name="job_quality" type="select" label="Assembly quality grade"> | |
70 <option value="accurate">Accurate</option> | |
71 <option value="normal">Normal (deprecated)</option> | |
72 <option value="draft">Draft</option> | |
73 </param> | |
74 <!-- Backbone --> | |
75 <conditional name="condBackbone"> | |
76 <param name="use" type="select" label="Backbones/reference chromosomes?" help="Required for mapping, optional for de novo assembly."> | |
77 <option value="false">No</option> | |
78 <option value="true">Yes</option> | |
79 </param> | |
80 <when value="false" /> | |
81 <when value="true"> | |
82 <!-- MIRA also allows CAF and GenBank, but Galaxy doesn't define those (yet) --> | |
83 <param name="filename" type="data" format="fasta" label="Backbone/reference sequences" help="FASTA format" /> | |
84 </when> | |
85 </conditional> | |
86 <!-- Sanger --> | |
87 <conditional name="condSanger"> | |
88 <param name="use" type="select" label="Sanger/Capillary reads?"> | |
89 <option value="false">No</option> | |
90 <option value="true">Yes</option> | |
91 </param> | |
92 <when value="false" /> | |
93 <when value="true"> | |
94 <param name="filename" type="data" format="fastq" label="Sanger/Capillary reads file" help="FASTQ format" /> | |
95 </when> | |
96 </conditional> | |
97 <!-- Roche 454 --> | |
98 <conditional name="condRoche"> | |
99 <param name="use" type="select" label="454 reads?"> | |
100 <option value="false">No</option> | |
101 <option value="true">Yes</option> | |
102 </param> | |
103 <when value="false" /> | |
104 <when value="true"> | |
105 <!-- TODO? Support SFF files directly, e.g. with sff_extract, but will need linker sequences --> | |
106 <param name="filename" type="data" format="fastq" label="Roche 454 reads file" help="FASTQ format" /> | |
107 </when> | |
108 </conditional> | |
109 <!-- Illumina --> | |
110 <conditional name="condIllumina"> | |
111 <param name="use" type="select" label="Solexa/Illumina reads?"> | |
112 <option value="false">No</option> | |
113 <option value="true">Yes</option> | |
114 </param> | |
115 <when value="false" /> | |
116 <when value="true"> | |
117 <param name="filename" type="data" format="fastq" label="Solexa/Illumina reads file" help="FASTQ format" /> | |
118 </when> | |
119 </conditional> | |
120 <!-- Ion Torrent --> | |
121 <conditional name="condIonTorrent"> | |
122 <param name="use" type="select" label="Ion Torrent reads?"> | |
123 <option value="false">No</option> | |
124 <option value="true">Yes</option> | |
125 </param> | |
126 <when value="false" /> | |
127 <when value="true"> | |
128 <!-- TODO? Support SFF files directly, e.g. with sff_extract --> | |
129 <param name="filename" type="data" format="fastq" label="Ion Torrent reads file" help="FASTQ format" /> | |
130 </when> | |
131 </conditional> | |
9
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
132 </inputs> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
133 <outputs> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
134 <data name="out_fasta" format="fasta" label="MIRA contigs (FASTA)" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
135 <data name="out_qual" format="qual454" label="MIRA contigs (QUAL)" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
136 <data name="out_caf" format="txt" label="MIRA contigs (CAF)" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
137 <data name="out_ace" format="txt" label="MIRA contigs (ACE)" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
138 <data name="out_wig" format="wig" label="MIRA coverage (Wiggle)" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
139 <data name="out_log" format="txt" label="MIRA log" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
140 </outputs> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
141 <tests> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
142 <!-- Based on the MIRA v3.4.1.1 bundled minidemo/estdemo2 which uses |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
143 strain data and miraSearchESTSNPs. Here we just assemble it. --> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
144 <!-- |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
145 Commenting out test until Galaxy framework is fixed, |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
146 https://trello.com/c/zSTrfDOB/820-disambiguated-conditional-parameters-not-supported-in-unit-tests |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
147 <test> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
148 <param name="job_method" value="denovo" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
149 <param name="job_type" value="est" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
150 <param name="job_qual" value="accurate" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
151 <param name="condBackbone.use" value="false" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
152 <param name="condSanger.use" value="true" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
153 <param name="condSanger.filename" value="tvc_mini.fastq" ftype="fastq" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
154 <param name="condRoche.use" value="false" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
155 <param name="condIllumina.use" value="false" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
156 <param name="condIonTorrent.use" value="false" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
157 <output name="out_fasta" file="tvc_contigs.fasta" ftype="fasta" /> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
158 </test> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
159 --> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
160 </tests> |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
161 <help> |
8 | 162 |
163 **What it does** | |
164 | |
165 Runs MIRA v3.4, collects the output, and throws away all the temporary files. | |
166 | |
9
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
167 MIRA is an open source assembly tool capable of handling sequence data from |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
168 a range of platforms (Sanger capillary, Solexa/Illumina, Roche 454 and also |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
169 Ion Torrent). |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
170 |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
171 It is particularly suited to small genomes such as bacteria. |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
172 |
8 | 173 **Citation** |
174 | |
9
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
175 If you use this Galaxy tool in work leading to a scientific publication please |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
176 cite the following papers: |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
177 |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
178 Peter J.A. Cock, Björn A. Grüning, Konrad Paszkiewicz and Leighton Pritchard (2013). |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
179 Galaxy tools and workflows for sequence analysis with applications |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
180 in molecular plant pathology. PeerJ 1:e167 |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
181 http://dx.doi.org/10.7717/peerj.167 |
8 | 182 |
9
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
183 Chevreux et al. (1999). |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
184 Genome Sequence Assembly Using Trace Signals and Additional Sequence Information. |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
185 Computer Science and Biology: Proceedings of the German Conference on Bioinformatics (GCB) 99, pp. 45-56. |
8 | 186 |
9
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
187 This wrapper is available to install into other Galaxy Instances via the Galaxy |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
188 Tool Shed at http://toolshed.g2.bx.psu.edu/view/peterjc/mira_assembler |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
189 |
5573d802e431
Uploaded v0.0.8, MIT licence, RST for README, citation information, development moved to GitHub.
peterjc
parents:
8
diff
changeset
|
190 </help> |
8 | 191 </tool> |