annotate tools/rtg/mapf.xml @ 1:8593828f91e7 default tip

Full galaxy wrapper
author diego
date Sat, 21 Apr 2012 21:36:15 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
1 <tool id="rtg_mapf" name="Mapf">
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
2 <description>reads with rtg mapf</description>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
3 <command interpreter="bash">galaxy-rtg-map-wrapper.sh $paired.sPaired $output1 $output2 $__new_file_path__
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
4 mapf -t ${template.extra_files_path}
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
5 --repeat-freq ${repeat}
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
6 -i ${reads.extra_files_path}
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
7 #if $paired.sPaired == "paired":
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
8 --min-insert-size $paired.minlength --max-insert-size $paired.maxlength
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
9 --max-mated-score $paired.maxscore --max-unmated-score $paired.maxuscore
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
10 #else:
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
11 --max-alignment-score $paired.maxscore
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
12 #end if
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
13 --sam
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
14 </command>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
15 <inputs>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
16 <param name="template" type="data" format="rtg_sdf" label="Reference SDF"/>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
17 <param name="reads" type="data" format="rtg_sdf" label="Reads SDF"/>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
18 <param name="repeat" type="text" value="90%" label="Repeat frequency">
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
19 <sanitizer sanitize="False"/>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
20 </param>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
21
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
22 <conditional name="paired">
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
23 <param name="sPaired" type="select" label="Are you mapping paired-end reads?">
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
24 <option value="paired">Paired-end</option>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
25 <option value="single">Single-end</option>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
26 </param>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
27 <when value="single">
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
28 <param name="maxscore" type="text" value="10%" label="Maximum alignment score for reads (percentages do not work ATM)">
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
29 <sanitizer sanitize="False"/>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
30 </param>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
31 </when>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
32 <when value="paired">
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
33 <param name="maxscore" type="text" value="10%" label="Maximum alignment score for mated reads">
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
34 <sanitizer sanitize="False"/>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
35 </param>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
36 <param name="maxuscore" type="text" value="10%" label="Maximum alignment score for umated reads">
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
37 <sanitizer sanitize="False"/>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
38 </param>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
39 <param name="minlength" type="integer" value="200" label="Minimum insert size"/>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
40 <param name="maxlength" type="integer" value="400" label="Maximum insert size"/>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
41 </when>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
42 </conditional>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
43
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
44 </inputs>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
45 <outputs>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
46 <data name="output1" format="samix" />
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
47 </outputs>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
48
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
49 <help>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
50 This tool filters reads for contaminant sequences by mapping them against the contaminant template using rtg mapf
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
51 </help>
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
52
8593828f91e7 Full galaxy wrapper
diego
parents:
diff changeset
53 </tool>