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