Mercurial > repos > peterjc > mira_assembler
annotate tools/sr_assembly/mira.xml @ 1:c947750f82fb draft
Uploaded v0.0.5
author | peterjc |
---|---|
date | Wed, 24 Apr 2013 11:51:50 -0400 |
parents | d0a5acdf1638 |
children | 8bddbb4b2575 |
rev | line source |
---|---|
1 | 1 <tool id="mira_assembler" name="Assemble with MIRA" version="0.0.5"> |
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 |
1 | 40 ##Explicitly request the FASTA (+QUAL), CAF, ACE, WIG output |
41 ##Explicitly disable formats we won't use like MAF (reduce IO) | |
42 -OUT:orf=1:orc=1:ora=1:orw=1:orm=0:org=0:ors=0 | |
43 ##remove_rollover_tmps, remove_tmp_directory | |
44 -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
|
45 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
46 </command> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
47 <inputs> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
48 <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
|
49 <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
|
50 <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
|
51 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
52 <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
|
53 <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
|
54 <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
|
55 </param> |
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_quality" type="select" label="Assembly quality grade"> |
1 | 57 <option value="accurate">Accurate</option> |
58 <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
|
59 <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
|
60 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
61 <!-- Backbone --> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
62 <conditional name="condBackbone"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
63 <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
|
64 <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
|
65 <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
|
66 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
67 <when value="false" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
68 <when value="true"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
69 <!-- 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
|
70 <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
|
71 </when> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
72 </conditional> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
73 <!-- Sanger --> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
74 <conditional name="condSanger"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
75 <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
|
76 <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
|
77 <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
|
78 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
79 <when value="false" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
80 <when value="true"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
81 <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
|
82 </when> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
83 </conditional> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
84 <!-- Roche 454 --> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
85 <conditional name="condRoche"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
86 <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
|
87 <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
|
88 <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
|
89 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
90 <when value="false" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
91 <when value="true"> |
1 | 92 <!-- TODO? Support SFF files directly, e.g. with sff_extract, but will need linker sequences --> |
93 <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
|
94 </when> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
95 </conditional> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
96 <!-- Illumina --> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
97 <conditional name="condIllumina"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
98 <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
|
99 <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
|
100 <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
|
101 </param> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
102 <when value="false" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
103 <when value="true"> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
104 <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
|
105 </when> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
106 </conditional> |
1 | 107 <!-- Ion Torrent --> |
108 <conditional name="condIonTorrent"> | |
109 <param name="use" type="select" label="Ion Torrent reads?"> | |
110 <option value="false">No</option> | |
111 <option value="true">Yes</option> | |
112 </param> | |
113 <when value="false" /> | |
114 <when value="true"> | |
115 <!-- TODO? Support SFF files directly, e.g. with sff_extract --> | |
116 <param name="filename" type="data" format="fastq" label="Ion Torrent reads file" help="FASTQ format" /> | |
117 </when> | |
118 </conditional> | |
0
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
119 </inputs> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
120 <outputs> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
121 <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
|
122 <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
|
123 <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
|
124 <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
|
125 <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
|
126 <data name="out_log" format="txt" label="MIRA log" /> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
127 </outputs> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
128 <tests> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
129 </tests> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
130 <requirements> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
131 <requirement type="python-module">Bio</requirement> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
132 </requirements> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
133 <help> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
134 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
135 **What it does** |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
136 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
137 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
|
138 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
139 **Citation** |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
140 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
141 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
|
142 publication, please cite: |
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 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
|
145 |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
146 </help> |
d0a5acdf1638
Migrated tool version 0.0.1 from old tool shed archive to new tool shed repository
peterjc
parents:
diff
changeset
|
147 </tool> |