annotate filter_by_name.xml @ 5:5127e62d11fb draft default tip

"planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit f832310ee25935e283f72f057790af7fad0d661b-dirty"
author thanhlv
date Wed, 18 Mar 2020 21:24:20 +0000
parents e40d2adb0896
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
1 <?xml version="1.0"?>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
2 <tool id="bbmap_filterbyname" name="filter_by_name" version="@VERSION@">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
3 <description>Filters reads by name</description>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
4 <macros>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
5 <import>macros.xml</import>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
6 </macros>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
7 <expand macro="requirements" />
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
8 <expand macro="version_command" />
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
9
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
10 <command><![CDATA[
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
11 #if $singlePaired.sPaired == "single":
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
12 #if $singlePaired.input_singles.is_of_type("fastq.gz"):
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
13 #set read1 = 'input_1.fastq.gz'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
14 #set compressed = 'gz'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
15 #else
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
16 #set read1 = 'input_1.fastq'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
17 #end if
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
18
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
19 #set fil_input = 'in='+ $read1 + ' out=f_read.fq'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
20
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
21 ln -s '${singlePaired.input_singles}' ${read1} &&
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
22 #elif $singlePaired.sPaired == "paired":
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
23 #if $singlePaired.input_mate1.is_of_type("fastq.gz"):
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
24 #set read1 = 'input_1.fastq.gz'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
25 #set compressed = 'gz'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
26 #else
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
27 #set read1 = 'input_1.fastq'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
28 #end if
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
29
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
30 ln -s '${singlePaired.input_mate1}' ${read1} &&
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
31
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
32 #if $singlePaired.input_mate2.is_of_type("fastq.gz"):
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
33 #set read2 = 'input_2.fastq.gz'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
34 #else
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
35 #set read2 = 'input_2.fastq'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
36 #end if
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
37 ln -s '${singlePaired.input_mate2}' ${read2} &&
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
38 #set fil_input = 'in=' + $read1 + ' in2=' + $read2 + ' out=f_read1.fq out2=f_read2.fq'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
39 #else:
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
40 #if $singlePaired.input_mate_pairs.forward.is_of_type("fastq.gz"):
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
41 #set read1 = 'input_1.fastq.gz'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
42 #set compressed = 'gz'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
43 #else
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
44 #set read1 = 'input_1.fastq'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
45 #end if
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
46 ln -s '${singlePaired.input_mate_pairs.forward}' ${read1} &&
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
47
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
48 #if $singlePaired.input_mate_pairs.reverse.is_of_type("fastq.gz"):
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
49 #set read2 = 'input_2.fastq.gz'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
50 #else
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
51 #set read2 = 'input_2.fastq'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
52 #end if
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
53 ln -s '${singlePaired.input_mate_pairs.reverse}' ${read2} &&
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
54 #set fil_input = 'in=' + $read1 + ' in2=' + $read2 + ' out=f_read1.fq out2=f_read2.fq'
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
55 #end if
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
56
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
57 filterbyname.sh
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
58 ${fil_input}
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
59 #if $source.type == "input_string":
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
60 names=$source.in_string
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
61 #elif $source.type == "name":
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
62 names=$source.name_list
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
63 #end if
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
64 include=$include
5
5127e62d11fb "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit f832310ee25935e283f72f057790af7fad0d661b-dirty"
thanhlv
parents: 4
diff changeset
65 #if $q33
5127e62d11fb "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit f832310ee25935e283f72f057790af7fad0d661b-dirty"
thanhlv
parents: 4
diff changeset
66 qin=33
5127e62d11fb "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit f832310ee25935e283f72f057790af7fad0d661b-dirty"
thanhlv
parents: 4
diff changeset
67 #end if
4
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
68 2>&1 | tee > log.txt
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
69 ]]> </command>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
70 <inputs>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
71 <conditional name="singlePaired">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
72 <param name="sPaired" type="select" label="Is the input paired- or single-end?">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
73 <option value="single">Single-end</option>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
74 <option value="paired">Paired-end</option>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
75 <option value="paired_collection">Paired Collection</option>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
76 </param>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
77 <when value="single">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
78 <param name="input_singles" type="data" format="fastqsanger,fastqsanger.gz,fastq,fastq.gz" label="Reads in FASTQ format" />
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
79 </when>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
80 <when value="paired">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
81 <param name="input_mate1" type="data" format="fastqsanger,fastqsanger.gz,fastq,fastq.gz" label="Forward read" />
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
82 <param name="input_mate2" type="data" format="fastqsanger,fastqsanger.gz,fastq,fastq.gz" label="Reversed read" />
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
83 </when>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
84 <when value="paired_collection">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
85 <param name="input_mate_pairs" format="fastqsanger,fastqsanger.gz,fastq,fastq.gz" type="data_collection" collection_type="paired" label="Select a paired collection" help="See help section for an explanation of dataset collections"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
86 </when>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
87 </conditional>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
88 <conditional name="source">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
89 <param name="type" type="select" label="Select source of sequence choices">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
90 <option value="input_string">Text</option>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
91 <option value="name">FASTA/Q ID list</option>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
92 </param>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
93 <when value="input_string">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
94 <param name="in_string" type="text" label="Input string" help="string1,string2,string3,...,stringn"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
95 </when>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
96 <when value="name">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
97 <param name="name_list" type="data" format="txt" label="Input ID list"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
98 </when>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
99 </conditional>
5
5127e62d11fb "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit f832310ee25935e283f72f057790af7fad0d661b-dirty"
thanhlv
parents: 4
diff changeset
100 <param name="q33" type="boolean" truevalue="true" falsevalue="" checked="false" label="Q33?" />
4
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
101 <param name="include" type="boolean" truevalue="t" falsevalue="f" checked="true" label="Include the filtered names" />
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
102 </inputs>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
103 <outputs>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
104 <data name="log" from_work_dir="log.txt" format="txt" label="${tool.name} on ${on_string}: Log" />
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
105 <data format_source="input_singles" name="filtered_reads_single" from_work_dir="f_read.fq" label="${tool.name} on ${on_string}: filtered reads">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
106 <filter>singlePaired['sPaired'] == "single"</filter>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
107 </data>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
108 <data format="fastqsanger" name="filtered_reads_pair1" from_work_dir="f_read1.fq" label="${tool.name} on ${on_string}: filtered reads pair 1">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
109 <filter>singlePaired['sPaired'] == "paired"</filter>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
110 </data>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
111
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
112 <data format="fastqsanger" name="filtered_reads_pair2" from_work_dir="f_read2.fq" label="${tool.name} on ${on_string}: filtered reads pair 2">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
113 <filter>singlePaired['sPaired'] == "paired"</filter>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
114 </data>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
115
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
116 <collection name="filtered_collection" type="paired" label="${tool.name} on ${on_string}: Filtered reads by name">
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
117 <data name="forward" format_source="input_mate_pairs['forward']" from_work_dir="f_read1.fq"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
118 <data name="reverse" format_source="input_mate_pairs['forward']" from_work_dir="f_read2.fq"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
119 <filter>singlePaired['sPaired'] == "paired_collection"</filter>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
120 </collection>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
121 </outputs>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
122 <tests>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
123 <test>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
124 <param name="sPaired" value="paired"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
125 <param name="input_mate1" value="forward.fq.gz"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
126 <param name="input_mate1" value="reverse.fq.gz"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
127 <param name="type" value="name"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
128 <param name="name_list" value="name.list"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
129 <output name="filtered_reads_pair1" value="f_read1.fq" ftype="fastqsanger" compare="sim_size"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
130 <output name="filtered_reads_pair2" value="f_read2.fq" ftype="fastqsanger" compare="sim_size"/>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
131 </test>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
132 </tests>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
133 <help><![CDATA[
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
134 ]]> </help>
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
135 <expand macro="citations" />
e40d2adb0896 "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit d468e81e47906b2427e4e61f70101fac00a34aab-dirty"
thanhlv
parents:
diff changeset
136 </tool>