annotate segemehl.xml @ 4:db367d012fa3 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
author bgruening
date Wed, 26 Jul 2017 15:32:09 -0400
parents 039547ad8fb8
children 9c0d4ec99ba9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
1 <tool id="segemehl" name="segemehl" version="0.2.0.3">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
2 <description>short read mapping with gaps</description>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
3 <requirements>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
4 <requirement type="package" version="0.2.0">segemehl</requirement>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
5 </requirements>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
6 <stdio>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
7 <regex match="Exit forced"
3
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
8 source="both"
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
9 level="fatal"
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
10 description="Execution halted." />
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
11 </stdio>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
12 <command>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
13 <![CDATA[
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
14 ## prepare segemehl index if no reference genome is supplied
e97db054a88d Uploaded
rnateam
parents:
diff changeset
15 #if $refGenomeSource.genomeSource == "history":
3
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
16 mkdir ./temp_index/ &&
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
17 #set $temp_index = './temp_index/temp.idx'
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
18 segemehl.x -x $temp_index -d $refGenomeSource.own_reference_genome &&
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
19 #else:
2
0da425524259 Uploaded
bgruening
parents: 1
diff changeset
20 #set $temp_index = $refGenomeSource.index.fields.index_path
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
21 #end if
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
22
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
23 ## execute segemehl
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
24 segemehl.x
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
25
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
26 ## number of threads
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
27 -t "\${GALAXY_SLOTS:-12}"
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
28
3
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
29 #if $refGenomeSource.genomeSource == "history":
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
30 -d $refGenomeSource.own_reference_genome
3
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
31 #else:
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
32 -d ${refGenomeSource.index.fields.db_path}
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
33 #end if
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
34
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
35 -i $temp_index
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
36
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
37 ## check for single/pair-end
e97db054a88d Uploaded
rnateam
parents:
diff changeset
38 #if str( $library.type ) == "single":
e97db054a88d Uploaded
rnateam
parents:
diff changeset
39 #set $query_list = list()
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
40 ## prepare inputs
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
41 #for $fastq in $library.input_query:
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
42 $query_list.append('%s' % $fastq )
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
43 #end for
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
44 -q "#echo ' '.join( $query_list )#"
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
45 #else
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
46 ## prepare inputs
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
47 #set $mate1 = list()
e97db054a88d Uploaded
rnateam
parents:
diff changeset
48 #set $mate2 = list()
e97db054a88d Uploaded
rnateam
parents:
diff changeset
49 #for $mate_pair in $library.mate_list:
e97db054a88d Uploaded
rnateam
parents:
diff changeset
50 $mate1.append( str($mate_pair.first_strand_query) )
e97db054a88d Uploaded
rnateam
parents:
diff changeset
51 $mate2.append( str($mate_pair.second_strand_query) )
e97db054a88d Uploaded
rnateam
parents:
diff changeset
52 #end for
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
53
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
54 -q #echo ','.join($mate1)
e97db054a88d Uploaded
rnateam
parents:
diff changeset
55 -p #echo ','.join($mate2)
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
56
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
57 -I $library.maxinsertsize
e97db054a88d Uploaded
rnateam
parents:
diff changeset
58 #end if
e97db054a88d Uploaded
rnateam
parents:
diff changeset
59 -m $minsize
e97db054a88d Uploaded
rnateam
parents:
diff changeset
60 -A $accuracy
e97db054a88d Uploaded
rnateam
parents:
diff changeset
61 -H $hitstrategy
e97db054a88d Uploaded
rnateam
parents:
diff changeset
62 #if str( $prime5 ).strip():
2
0da425524259 Uploaded
bgruening
parents: 1
diff changeset
63 -P "$prime5"
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
64 #end if
e97db054a88d Uploaded
rnateam
parents:
diff changeset
65 #if str( $prime3 ).strip():
2
0da425524259 Uploaded
bgruening
parents: 1
diff changeset
66 -Q "$prime3"
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
67 #end if
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
68 $polyA
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
69 $autoclip
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
70 $hardclip
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
71 $order
3
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
72 #if $maxout:
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
73 --maxout $maxout
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
74 #end if
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
75 #if str( $splitreads.splits ) == "splits":
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
76 --splits
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
77 --minsplicecover $splitreads.minsplicecover
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
78 --minfragscore $splitreads.minfragscore
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
79 --minfraglen $splitreads.minfraglen
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
80 --splicescorescale $splitreads.splicescorescale
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
81 #end if
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
82 -M $maxinterval
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
83 -E $evalue
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
84 -D $differences
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
85 -s
3
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
86 -o '$segemehl_out'
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
87 ]]>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
88 </command>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
89 <inputs>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
90 <conditional name="refGenomeSource">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
91 <param name="genomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
92 <option value="indexed">Use a built-in index</option>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
93 <option value="history">Use one from the history</option>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
94 </param>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
95 <when value="indexed">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
96 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact your Galaxy admin">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
97 <options from_data_table="segemehl_indexes">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
98 <column name="value" index="0"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
99 <column name="dbkey" index="1"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
100 <column name="name" index="2"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
101 <column name="db_path" index="3"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
102 <column name="index_path" index="4"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
103 <filter type="sort_by" column="2"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
104 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
105 </options>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
106 </param>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
107 </when> <!-- build-in -->
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
108 <when value="history">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
109 <param name="own_reference_genome" type="data" format="fasta" label="Select the reference genome" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
110 </when> <!-- history -->
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
111 </conditional> <!-- refGenomeSource -->
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
112
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
113 <conditional name="library">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
114 <param name="type" type="select" label="Is this library paired-end?">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
115 <option value="single">Single-end</option>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
116 <option value="paired">Paired-end</option>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
117 </param>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
118 <when value="single">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
119 <param name="input_query" type="data" multiple="True" format="fastqsanger,fastqillumina,fastq,fasta" label="Reads in FASTQ/FASTA files" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
120 </when>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
121 <when value="paired">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
122 <!-- ToDo paired coolections -->
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
123 <repeat name="mate_list" title="Paired End Pairs" min="1">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
124 <param name="first_strand_query" type="data" format="fastqsanger,fastqillumina,fastq,fasta" label="Reads from first strand" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
125 <param name="second_strand_query" type="data" format="fastqsanger,fastqillumina,fastq,fasta" label="Reads from second strand" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
126 </repeat>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
127 <param name="maxinsertsize" type="integer" value="5000" label="Maximum size of the inserts (paired end)" help="default: 5000 (-I)" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
128 </when>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
129 </conditional>
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
130
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
131 <conditional name="splitreads">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
132 <param name="splits" type="select" label="Detect split/spliced reads" help="(--splits)">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
133 <option value="nosplit">No splits</option>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
134 <option value="splits">Split reads</option>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
135 </param>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
136 <when value="splits">
3
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
137 <param name="minsplicecover" type="integer" value="80" label="Min coverage for spliced transcripts" help="(--minsplicecover)" />
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
138 <param name="minfragscore" type="integer" value="18" label="Min coverage for spliced transcripts" help="(--minfragscore)" />
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
139 <param name="minfraglen" type="integer" value="20" label="Min length of a spliced fragment" help="(--minfraglen)" />
039547ad8fb8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit 21aaee40723b5341b4236edeb0e72995c2054053
rnateam
parents: 2
diff changeset
140 <param name="splicescorescale" type="float" value="1.0" label="Report spliced alignment with score greater than this scale times the score"
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
141 help="Report only if this value x score is larger than next best spliced alignment (--splicescorescale)" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
142 <param name="sevalue" type="float" min="0" value="50.000000" label="max split evalue" help="(--maxsplitevalue)"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
143 </when>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
144 <when value="nosplit">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
145 </when>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
146 </conditional>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
147
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
148 <param name="minsize" type="integer" value="12" min="1" label="Minimum size of queries" help="(-m)" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
149 <param name="maxout" type="integer" min="0" value="0" optional="True"
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
150 label="Maximum number of alignments that will be reported" help="(--maxout)" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
151 <param name="accuracy" type="integer" value="85" min="1" max="100" label="Min percentage of matches per read in semi-global alignment" help="(-A)" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
152 <param name="hitstrategy" type="select" label="Hits to report?" help="(-H)">
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
153 <option value="1">report only best scoring hits</option>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
154 <option value="0">report all scoring hits</option>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
155 </param>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
156 <param name="prime5" type="text" label="add 5' adapter" help="default: none (-Q)" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
157 <param name="prime3" type="text" label="add 3' adapter" help="default: none (-P)"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
158 <param name="polyA" type="boolean" truevalue="--polyA" falsevalue="" checked="false" label="Clip polyA tail" help="(-T)"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
159 <param name="autoclip" type="boolean" truevalue="--autoclip" falsevalue="" checked="false" label="Autoclip unknown 3prime adapter" help="(-Y)"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
160 <param name="hardclip" type="boolean" truevalue="--hardclip" falsevalue="" checked="false" label="Enable hard clipping" help="(-C)"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
161 <param name="order" type="boolean" truevalue="--order" falsevalue="" checked="false" label="Sorts the output by chromsome and position" help="(-O)"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
162 <param name="differences" type="integer" min="0" value="1" label="search seeds initially with n differences" help="(--differences)"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
163 <param name="evalue" type="float" min="0" value="5.000000" label="max evalue" help="(--evalue)"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
164 <param name="maxinterval" type="integer" min="1" value="100" label="maximum width of a suffix array interval, i.e. a query seed will be omitted if it matches more than n times" help="(--maxinterval)"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
165 </inputs>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
166 <outputs>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
167 <data format="sam" name="segemehl_out" label="Read alignments on ${on_string}"/>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
168 </outputs>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
169 <tests>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
170 <test>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
171 <param name="genomeSource" value="history" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
172 <param name="own_reference_genome" value="chr1.fa" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
173 <param name="library" value="single" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
174 <param name="input_query" value="test.fastq" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
175 <param name="splits" value="nosplit" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
176 <output name="segemehl_out" file="testmap.sam" lines_diff="2" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
177 </test>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
178 <test>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
179 <param name="genomeSource" value="history" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
180 <param name="own_reference_genome" value="chr1.fa" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
181 <param name="library" value="single" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
182 <param name="input_query" value="test.fastq" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
183 <param name="splits" value="splits" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
184 <param name="minsplicecover" value="40" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
185 <output name="segemehl_out" file="testmap2.sam" lines_diff="2" />
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
186 </test>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
187 </tests>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
188 <help>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
189 <![CDATA[
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
190
e97db054a88d Uploaded
rnateam
parents:
diff changeset
191 .. class:: infomark
e97db054a88d Uploaded
rnateam
parents:
diff changeset
192
1
df7c7d732d31 Uploaded
rnateam
parents: 0
diff changeset
193 **What it does**
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
194
e97db054a88d Uploaded
rnateam
parents:
diff changeset
195 Segemehl_ is a short read mapper with gaps.
e97db054a88d Uploaded
rnateam
parents:
diff changeset
196
1
df7c7d732d31 Uploaded
rnateam
parents: 0
diff changeset
197 Segemehl_ is a software to map short sequencer reads to reference genomes.
df7c7d732d31 Uploaded
rnateam
parents: 0
diff changeset
198 Unlike other methods, segemehl is able to detect not only mismatches but also insertions and deletions.
df7c7d732d31 Uploaded
rnateam
parents: 0
diff changeset
199 Furthermore, segemehl is not limited to a specific read length and is able to mapprimer- or polyadenylation contaminated reads correctly.
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
200 segemehl implements a matching strategy based on enhanced suffix arrays (ESA). Segemehl_ allows bisulfite sequencing mapping and split read mapping.
e97db054a88d Uploaded
rnateam
parents:
diff changeset
201
e97db054a88d Uploaded
rnateam
parents:
diff changeset
202 .. _Segemehl: http://www.bioinf.uni-leipzig.de/Software/segemehl/
e97db054a88d Uploaded
rnateam
parents:
diff changeset
203
e97db054a88d Uploaded
rnateam
parents:
diff changeset
204
4
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
205 ]]>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
206 </help>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
207 <citations>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
208 <citation type="doi">10.1371/journal.pcbi.1000502</citation>
db367d012fa3 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/segemehl commit b193689f9f30ce65a77be2d2c00929e3335a7d82
bgruening
parents: 3
diff changeset
209 </citations>
0
e97db054a88d Uploaded
rnateam
parents:
diff changeset
210 </tool>