Mercurial > repos > peterjc > mira_assembler
annotate tools/sr_assembly/mira.xml @ 2:8bddbb4b2575 draft
Uploaded v0.0.6
author | peterjc |
---|---|
date | Wed, 24 Apr 2013 11:52:10 -0400 |
parents | c947750f82fb |
children |
rev | line source |
---|---|
2 | 1 <tool id="mira_assembler" name="Assemble with MIRA" version="0.0.6"> |
1 | 2 <description>Takes Sanger, Roche, Illumina, and Ion Torrent data</description> |
3 <version_command interpreter="python">mira.py -v</version_command> | |
4 <command interpreter="python">mira.py mira $out_fasta $out_qual $out_ace $out_caf $out_wig $out_log | |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
5 ##Give the wrapper script list of output filenames, then the mira command... |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
6 mira --job=$job_method,$job_type,$job_quality |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
7 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
8 ##Input files |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
9 #if $condBackbone.use == "true": |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
10 ## Can this be linked to job_method as well? If mapping we need the backbone... |
1 | 11 -SB:lb=1:bft=fasta -FN:bbin=${condBackbone.filename} |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
12 #end if |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
13 #if $condSanger.use == "true": |
1 | 14 SANGER_SETTINGS |
15 ## Not easy in Galaxy to add sanger to --job, so use load_sequence_data(lsd) instead | |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
16 ## I expect hard trimmed FASTQ files with no NCBI traceinfo XML file |
1 | 17 -LR:lsd=1:mxti=0:ft=fastq -FN:fqi=${condSanger.filename} |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
18 #end if |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
19 #if $condRoche.use == "true": |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
20 454_SETTINGS |
1 | 21 ## Not easy in Galaxy to add 454 to --job, so use load_sequence_data(lsd) instead |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
22 ## I expect hard trimmed FASTQ files with no NCBI traceinfo XML file |
1 | 23 -LR:lsd=1:mxti=0:ft=fastq -FN:fqi=${condRoche.filename} |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
24 #end if |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
25 #if $condIllumina.use == "true": |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
26 SOLEXA_SETTINGS |
1 | 27 ## Not easy in Galaxy to add solexa to --job, so use load_sequence_data(lsd) instead |
28 -LR:lsd=1:ft=fastq -FN:fqi=${condIllumina.filename} | |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
29 ##TODO - Look at -LR FASTQ qual offset (fqqo) |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
30 #end if |
1 | 31 #if $condIonTorrent.use == "true": |
32 IONTOR_SETTINGS | |
33 ## Not easy in Galaxy to add iontor to --job, so use load_sequence_data(lsd) instead | |
34 ## I expect hard trimmed FASTQ files with no NCBI traceinfo XML file | |
35 -LR:lsd=1:mxti=0:ft=fastq -FN:fqi=${condIonTorrent.filename} | |
36 #end if | |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
37 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
38 ##Output files |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
39 COMMON_SETTINGS |
2 | 40 |
41 ##ignore warnings about long read names | |
42 -MI:somrnl=0 | |
43 | |
1 | 44 ##Explicitly request the FASTA (+QUAL), CAF, ACE, WIG output |
45 ##Explicitly disable formats we won't use like MAF (reduce IO) | |
46 -OUT:orf=1:orc=1:ora=1:orw=1:orm=0:org=0:ors=0 | |
2 | 47 |
1 | 48 ##remove_rollover_tmps, remove_tmp_directory |
49 -OUT:rrot=1:rtd=1 | |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
50 |
2 | 51 ##put mira temp directory on local storage |
52 -DI:trt=/tmp | |
53 | |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
54 </command> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
55 <inputs> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
56 <param name="job_method" type="select" label="Assembly method" help="Mapping mode requires backbone/reference sequence(s)"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
57 <option value="denovo">De novo</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
58 <option value="mapping">Mapping</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
59 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
60 <param name="job_type" type="select" label="Assembly type"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
61 <option value="genome">Genome</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
62 <option value="est">EST (transcriptome)</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
63 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
64 <param name="job_quality" type="select" label="Assembly quality grade"> |
1 | 65 <option value="accurate">Accurate</option> |
66 <option value="normal">Normal (deprecated)</option> | |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
67 <option value="draft">Draft</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
68 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
69 <!-- Backbone --> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
70 <conditional name="condBackbone"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
71 <param name="use" type="select" label="Backbones/reference chromosomes?" help="Required for mapping, optional for de novo assembly."> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
72 <option value="false">No</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
73 <option value="true">Yes</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
74 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
75 <when value="false" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
76 <when value="true"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
77 <!-- MIRA also allows CAF and GenBank, but Galaxy doesn't define those (yet) --> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
78 <param name="filename" type="data" format="fasta" label="Backbone/reference sequences" help="FASTA format" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
79 </when> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
80 </conditional> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
81 <!-- Sanger --> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
82 <conditional name="condSanger"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
83 <param name="use" type="select" label="Sanger/Capillary reads?"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
84 <option value="false">No</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
85 <option value="true">Yes</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
86 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
87 <when value="false" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
88 <when value="true"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
89 <param name="filename" type="data" format="fastq" label="Sanger/Capillary reads file" help="FASTQ format" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
90 </when> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
91 </conditional> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
92 <!-- Roche 454 --> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
93 <conditional name="condRoche"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
94 <param name="use" type="select" label="454 reads?"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
95 <option value="false">No</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
96 <option value="true">Yes</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
97 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
98 <when value="false" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
99 <when value="true"> |
1 | 100 <!-- TODO? Support SFF files directly, e.g. with sff_extract, but will need linker sequences --> |
101 <param name="filename" type="data" format="fastq" label="Roche 454 reads file" help="FASTQ format" /> | |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
102 </when> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
103 </conditional> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
104 <!-- Illumina --> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
105 <conditional name="condIllumina"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
106 <param name="use" type="select" label="Solexa/Illumina reads?"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
107 <option value="false">No</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
108 <option value="true">Yes</option> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
109 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
110 <when value="false" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
111 <when value="true"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
112 <param name="filename" type="data" format="fastq" label="Solexa/Illumina reads file" help="FASTQ format" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
113 </when> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
114 </conditional> |
1 | 115 <!-- Ion Torrent --> |
116 <conditional name="condIonTorrent"> | |
117 <param name="use" type="select" label="Ion Torrent reads?"> | |
118 <option value="false">No</option> | |
119 <option value="true">Yes</option> | |
120 </param> | |
121 <when value="false" /> | |
122 <when value="true"> | |
123 <!-- TODO? Support SFF files directly, e.g. with sff_extract --> | |
124 <param name="filename" type="data" format="fastq" label="Ion Torrent reads file" help="FASTQ format" /> | |
125 </when> | |
126 </conditional> | |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
127 </inputs> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
128 <outputs> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
129 <data name="out_fasta" format="fasta" label="MIRA contigs (FASTA)" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
130 <data name="out_qual" format="qual454" label="MIRA contigs (QUAL)" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
131 <data name="out_caf" format="txt" label="MIRA contigs (CAF)" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
132 <data name="out_ace" format="txt" label="MIRA contigs (ACE)" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
133 <data name="out_wig" format="wig" label="MIRA coverage (Wiggle)" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
134 <data name="out_log" format="txt" label="MIRA log" /> |
2 | 135 </outputs> |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
136 <tests> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
137 </tests> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
138 <requirements> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
139 <requirement type="python-module">Bio</requirement> |
2 | 140 <requirement type="binary">mira</requirement> |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
141 </requirements> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
142 <help> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
143 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
144 **What it does** |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
145 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
146 Runs MIRA v3, collects the output, and throws away all the temporary files. |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
147 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
148 **Citation** |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
149 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
150 This tool uses MIRA. If you use this tool in scientific work leading to a |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
151 publication, please cite: |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
152 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
153 Chevreux et al. (1999) Genome Sequence Assembly Using Trace Signals and Additional Sequence Information Computer Science and Biology: Proceedings of the German Conference on Bioinformatics (GCB) 99, pp. 45-56. |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
154 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
155 </help> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
156 </tool> |