annotate tools/mira4_9/mirabait/mira4_9_mirabait.xml @ 0:c9269b5803d8 draft default tip

planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
author peterjc
date Wed, 07 Oct 2015 10:31:49 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
1 <tool id="mira4_9_mirabait" name="MIRA v4.9 mirabait" version="0.0.1">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
2 <description>Filter reads using kmer matches</description>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
3 <requirements>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
4 <requirement type="binary">mirabait</requirement>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
5 <requirement type="package" version="4.9.5">MIRA</requirement>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
6 </requirements>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
7 <stdio>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
8 <!-- Assume anything other than zero is an error -->
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
9 <exit_code range="1:" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
10 <exit_code range=":-1" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
11 </stdio>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
12 <version_command interpreter="python">mira_check_version.py ${MIRA4_9}mirabait</version_command>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
13 <command interpreter="python">./mira_check_version.py \${MIRA4_9}mirabait 4.9 &amp;&amp;
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
14 ##First checked it is mirabait v4.9 on the path... now actually run it
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
15 ##-----------------------------------------------------------------------
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
16 \${MIRA4_9}mirabait -k "$kmer_length" -n "$min_occurence" -b "$bait_file"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
17 ##-----------------------------------------------------------------------
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
18 ##Must now map Galaxy datatypes to MIRA file types...
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
19 ##exploiting the polymorphic naming of the input read parameter!
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
20 #if $reads.filename.ext.startswith("fastq")
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
21 ##MIRA doesn't like fastqsanger etc, just plain old fastq
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
22 -f fastq -t fastq
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
23 #elif $reads.filename.ext == "mira"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
24 ##We're calling *.maf the "mira" format in Galaxy (name space collision)
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
25 -f maf -t maf
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
26 #else
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
27 ##MIRA is happy with fasta as name,
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
28 -f "$reads.filename.ext" -t "$reads.filename.ext"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
29 #end if
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
30 ##-----------------------------------------------------------------------
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
31 #if str($output_choice_cond.output_choice)=="both"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
32 -o "$output_pos" -O "$output_neg"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
33 #elif str($output_choice_cond.output_choice)=="pos"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
34 -o "$output_pos"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
35 #elif str($output_choice_cond.output_choice)=="neg"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
36 -i -O "$output_neg"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
37 #end if
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
38 ##-----------------------------------------------------------------------
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
39 ##Do we need to ignore the reverse strand?
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
40 #if str($strand_choice) == "fwd"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
41 -r
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
42 #end if
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
43 ##-----------------------------------------------------------------------
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
44 ##Default is to mark k-mers with upper case...
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
45 #if str($output_case) == "original"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
46 -c
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
47 #end if
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
48 ##-----------------------------------------------------------------------
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
49 #if str($reads.type) == "paired"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
50 #if $reads.filename.ext != $reads.filename2.ext
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
51 ##TODO: Is there a better way to signal an error to Galaxy here?
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
52 ; echo "ERROR: Paired read datatype mis-match!" ; false
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
53 #end if
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
54 -p "$reads.filename" "$reads.filename2"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
55 #elif str($reads.type) == "interleaved"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
56 -P "$reads.filename"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
57 #elif str($reads.type) == "none"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
58 "$reads.filename"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
59 #end if
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
60 </command>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
61 <inputs>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
62 <!-- TODO: mirabait now allows multiple input files, and can do multiple outputs - or merge into one? -->
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
63 <!-- TODO: define a new Galaxy datatype for the bait hash file? -->
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
64 <param name="bait_file" type="data" format="fasta,fastq,mira" required="true" label="Bait file (what to look for)" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
65 <conditional name="reads">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
66 <param name="type" type="select" label="Are these paired reads?">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
67 <option value="paired">Paired reads (as two files)</option>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
68 <option value="interleaved">Paired reads (as one interleaved file)</option>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
69 <option value="none">Unpaired reads (single or orphan reads as one file)</option>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
70 </param>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
71 <when value="paired">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
72 <param name="filename" type="data" format="fastq,fasta" required="true" label="Read file one"/>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
73 <param name="filename2" type="data" format="fastq,fasta" required="true" label="Read file two"/>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
74 </when>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
75 <when value="interleaved">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
76 <param name="filename" type="data" format="fasta,fastq" required="true" label="Interleaved paired reads to search" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
77 </when>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
78 <when value="none">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
79 <param name="filename" type="data" format="fasta,fastq,mira" required="true" label="Reads to search" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
80 </when>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
81 </conditional>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
82 <conditional name="output_choice_cond">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
83 <param name="output_choice" type="select" label="Output positive matches, negative matches, or both?">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
84 <option value="both">Both positive matches and negative matches, as two files</option>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
85 <option value="pos" selected="true">Just positive matches, as a single file</option>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
86 <option value="neg">Just negative matches, as a single file</option>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
87 </param>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
88 <!-- Seems need these dummy entries here, compare this to indels/indel_sam2interval.xml -->
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
89 <when value="both" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
90 <when value="pos" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
91 <when value="neg" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
92 </conditional>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
93 <param name="output_case" type="select" label="How to use sequence case in output?">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
94 <option value="original">Preserve case from input</option>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
95 <option value="bait">Mark k-mer matches in upper case</option>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
96 </param>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
97 <param name="strand_choice" type="select" label="Check for matches on both strands?">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
98 <option value="both">Check both strands</option>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
99 <option value="fwd">Just forward strand</option>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
100 </param>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
101 <param name="kmer_length" type="integer" value="31" min="1" max="256"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
102 label="k-mer length" help="Maximum 256" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
103 <param name="min_occurence" type="integer" value="1" min="1"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
104 label="Minimum k-mer occurence"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
105 help="How many k-mer matches do you want per read? Minimum one" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
106 </inputs>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
107 <outputs>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
108 <data name="output_pos" format_source="filename" metadata_source="filename"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
109 label="$reads.filename.name #if str($reads.type)=='paired' then 'and $reads.filename2.name' else ''# matching $bait_file.name">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
110 <filter>output_choice_cond["output_choice"] != "neg"</filter>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
111 </data>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
112 <data name="output_neg" format_source="filename" metadata_source="filename"
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
113 label="$reads.filename.name #if str($reads.type)=='paired' then 'and $reads.filename2.name' else ''# not matching $bait_file.name">
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
114 <filter>output_choice_cond["output_choice"] != "pos"</filter>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
115 </data>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
116 </outputs>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
117 <tests>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
118 <test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
119 <param name="bait_file" value="tvc_bait.fasta" ftype="fasta" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
120 <param name="reads|type" value="none" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
121 <param name="reads|filename" value="tvc_mini.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
122 <param name="output_choice" value="pos" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
123 <param name="output_case" value="original" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
124 <output name="output_pos" file="tvc_mini_bait_pos.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
125 </test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
126 <test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
127 <param name="bait_file" value="tvc_bait.fasta" ftype="fasta" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
128 <param name="reads|type" value="none" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
129 <param name="reads|filename" value="tvc_mini.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
130 <param name="output_case" value="bait" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
131 <output name="output_pos" file="tvc_mini_bait_pos_case.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
132 </test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
133 <test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
134 <param name="bait_file" value="tvc_bait.fasta" ftype="fasta" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
135 <param name="reads|type" value="none" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
136 <param name="reads|filename" value="tvc_mini.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
137 <param name="output_case" value="bait" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
138 <output name="output_pos" file="tvc_mini_bait_pos_case.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
139 </test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
140 <test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
141 <param name="bait_file" value="tvc_bait.fasta" ftype="fasta" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
142 <param name="reads|type" value="none" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
143 <param name="reads|filename" value="tvc_mini.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
144 <param name="output_case" value="bait" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
145 <param name="kmer_length" value="32" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
146 <param name="min_occurence" value="50" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
147 <output name="output_pos" file="tvc_mini_bait_strict_case.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
148 </test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
149 <test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
150 <param name="bait_file" value="tvc_bait.fasta" ftype="fasta" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
151 <param name="reads|type" value="none" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
152 <param name="reads|filename" value="tvc_mini.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
153 <param name="output_choice" value="neg" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
154 <param name="output_case" value="original" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
155 <output name="output_neg" file="tvc_mini_bait_neg.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
156 </test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
157 <test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
158 <param name="bait_file" value="tvc_bait.fasta" ftype="fasta" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
159 <param name="reads|type" value="none" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
160 <param name="reads|filename" value="tvc_mini.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
161 <param name="output_choice" value="neg" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
162 <param name="output_case" value="bait" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
163 <output name="output_neg" file="tvc_mini_bait_neg_case.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
164 </test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
165 <test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
166 <param name="bait_file" value="tvc_bait.fasta" ftype="fasta" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
167 <param name="reads|type" value="none" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
168 <param name="reads|filename" value="tvc_mini.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
169 <param name="output_choice" value="both" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
170 <param name="output_case" value="original" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
171 <output name="output_pos" file="tvc_mini_bait_pos.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
172 <output name="output_neg" file="tvc_mini_bait_neg.fastq" ftype="fastqsanger" />
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
173 </test>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
174 </tests>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
175 <help>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
176 **What it does**
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
177
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
178 Runs the ``mirabait`` utility from MIRA v4.9 to filter your input reads
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
179 according to whether or not they contain perfect kmer matches to your
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
180 bait file. By default this looks for 31-mers (kmers or *k*-mers where
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
181 the fragment length *k* is 31), and only requires a single matching kmer.
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
182
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
183 The ``mirabait`` utility is useful in many applications and pipelines
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
184 outside of using the main MIRA tool for assembly or mapping.
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
185
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
186 .. class:: warningmark
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
187
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
188 Note ``mirabait`` cannot be used on protein (amino acid) sequences.
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
189
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
190 **Example Usage**
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
191
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
192 To remove over abundant entries like rRNA sequences, run ``mirabait`` with
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
193 known rRNA sequences as the bait and select the *negative* matches.
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
194
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
195 To do targeted assembly by fishing out reads belonging to a gene and just
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
196 assemble these, run ``mirabait`` with the gene of interest as the bait and
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
197 select the *positive* matches.
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
198
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
199 To iteratively reconstruct mitochondria you could start by fishing out reads
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
200 matching any known mitochondrial sequence, assembly those, and repeat.
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
201
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
202
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
203 **Notes on paired read**
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
204
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
205 .. class:: warningmark
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
206
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
207 Unlike ``mirabait`` from MIRA v4.0, this version is aware of paired reads
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
208 and will preserve the pairing (if either the forward or the reverse read
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
209 has enough *k*-mer matches, the pair is accepted).
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
210
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
211
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
212 **Citation**
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
213
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
214 If you use this Galaxy tool in work leading to a scientific publication please
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
215 cite the following papers:
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
216
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
217 Peter J.A. Cock, Björn A. Grüning, Konrad Paszkiewicz and Leighton Pritchard (2013).
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
218 Galaxy tools and workflows for sequence analysis with applications
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
219 in molecular plant pathology. PeerJ 1:e167
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
220 http://dx.doi.org/10.7717/peerj.167
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
221
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
222 Bastien Chevreux, Thomas Wetter and Sándor Suhai (1999).
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
223 Genome Sequence Assembly Using Trace Signals and Additional Sequence Information.
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
224 Computer Science and Biology: Proceedings of the German Conference on Bioinformatics (GCB) 99, pp. 45-56.
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
225 http://www.bioinfo.de/isb/gcb99/talks/chevreux/main.html
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
226
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
227 This wrapper is available to install into other Galaxy Instances via the Galaxy
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
228 Tool Shed at http://toolshed.g2.bx.psu.edu/view/peterjc/mira_assembler_4_9
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
229 </help>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
230 <citations>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
231 <citation type="doi">10.7717/peerj.167</citation>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
232 <citation type="bibtex">@ARTICLE{Chevreux1999-mira3,
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
233 author = {B. Chevreux and T. Wetter and S. Suhai},
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
234 year = {1999},
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
235 title = {Genome Sequence Assembly Using Trace Signals and Additional Sequence Information},
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
236 journal = {Computer Science and Biology: Proceedings of the German Conference on Bioinformatics (GCB)}
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
237 volume = {99},
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
238 pages = {45-56},
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
239 url = {http://www.bioinfo.de/isb/gcb99/talks/chevreux/main.html}
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
240 }</citation>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
241 </citations>
c9269b5803d8 planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_9 commit 9a6640a7b7f516d028a9852f7bbf39083e50188f
peterjc
parents:
diff changeset
242 </tool>