annotate galaxy-conf/FindNMers.xml @ 13:eb53be9a09f4 draft

Uploaded
author timpalpant
date Sat, 19 May 2012 10:36:45 -0400
parents
children 3e477c7e0e73
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
1 <tool id="FindNMers" name="Find NMers" version="1.0.0">
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
2 <description>in a DNA sequence</description>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
3 <command interpreter="sh">galaxyToolRunner.sh dna.FindNMers -i
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
4 #if $refGenomeSource.genomeSource == "history":
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
5 $refGenomeSource.ownFile
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
6 #else
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
7 ${refGenomeSource.index.fields.path}
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
8 #end if
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
9 -m $mismatches -n $nmer $rc -o $output
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
10 </command>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
11 <inputs>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
12 <conditional name="refGenomeSource">
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
13 <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">
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
14 <option value="indexed">Use a built-in index</option>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
15 <option value="history">Use one from the history</option>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
16 </param>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
17 <when value="indexed">
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
18 <param name="index" type="select" label="Select a reference genome" help="if your genome of interest is not listed - contact Galaxy team">
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
19 <options from_data_table="sam_fa_indexes">
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
20 <filter type="sort_by" column="1" />
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
21 <validator type="no_options" message="No indexes are available" />
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
22 </options>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
23 </param>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
24 </when>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
25 <when value="history">
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
26 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select the reference genome" />
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
27 </when> <!-- history -->
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
28 </conditional> <!-- refGenomeSource -->
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
29
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
30 <param name="nmer" type="text" optional="false" label="NMer to search for" />
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
31 <param name="mismatches" type="integer" value="0" label="Number of allowed mismatches (Hamming distance)" />
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
32 <param name="rc" type="boolean" checked="true" truevalue="--rc" falsevalue="" label="Search reverse-complement as well" />
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
33 </inputs>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
34 <outputs>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
35 <data format="bed" name="output"/>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
36 </outputs>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
37
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
38 <help>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
39
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
40 This tool will find all matches of a given NMer in a DNA sequence.
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
41
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
42 </help>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
43 </tool>