annotate galaxy-conf/FindNMers.xml @ 15:3e477c7e0e73 draft

Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
author timpalpant
date Sat, 09 Jun 2012 16:03:59 -0400
parents eb53be9a09f4
children
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>
15
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
37 <tests>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
38 <test>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
39 <param name="genomeSource" value="history"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
40 <param name="ownFile" value="test.fasta"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
41 <param name="property" value="Twist"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
42 <param name="N" value="false"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
43 <output name="output" file="twist.wig"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
44 </test>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
45 </tests>
13
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
46
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
47 <help>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
48
15
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
49 This tool will find all matches of a given NMer in a DNA sequence. Sequences may be provided in FASTA format or selected from available reference genomes. Mismatches are allowed, but not insertions/deletions. The output is a Bed file with the locations of matches in the reference sequence.
13
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
50
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
51 </help>
eb53be9a09f4 Uploaded
timpalpant
parents:
diff changeset
52 </tool>