annotate bwameth.xml @ 10:cf1322aeb137 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 16f1bd9f85b90ad12dbb43bc00ebe469620cfd04
author iuc
date Sun, 02 Jun 2024 16:38:23 +0000
parents d82648ad25a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
62f5fab76dfb "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 2e16403caf8e83f7eb87a1c2155f20ae38b6d579"
iuc
parents: 7
diff changeset
1 <tool id="bwameth" name="bwameth" version="@TOOL_VERSION@+galaxy0" profile="20.05">
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
2 <description>Fast and accurate aligner of BS-Seq reads.</description>
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
3 <macros>
10
cf1322aeb137 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 16f1bd9f85b90ad12dbb43bc00ebe469620cfd04
iuc
parents: 9
diff changeset
4 <token name="@TOOL_VERSION@">0.2.7</token>
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
5 </macros>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
6 <requirements>
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">bwameth</requirement>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
8 </requirements>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
9 <version_command>bwameth.py --version</version_command>
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
10 <command detect_errors="aggressive"><![CDATA[
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
11 #if $referenceSource.source != "indexed":
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
12 mkdir index_dir &&
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
13 ln -s '$referenceSource.reference' index_dir/genome.fa &&
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
14 bwameth.py index index_dir/genome.fa &&
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
15 #set index="index_dir/genome.fa"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
16 #else
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
17 #set index=$referenceSource.index.fields.path
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
18 #end if
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
19
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
20 ## Link in the files with a name that's appropriate
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
21 #if str($single_or_paired.single_or_paired_opts) == 'paired':
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
22 #if $single_or_paired.input_mate1.is_of_type("fastq.gz", "fastqsanger.gz"):
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
23 #set read1 = "input_f.fastq.gz"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
24 #else if $single_or_paired.input_mate1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
25 #set read1 = "input_f.fastq.bz2"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
26 #else:
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
27 #set read1 = "input_f.fastq"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
28 #end if
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
29 ln -f -s '${single_or_paired.input_mate1}' ${read1} &&
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
30
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
31 #if $single_or_paired.input_mate2.is_of_type("fastq.gz", "fastqsanger.gz"):
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
32 #set read2 = "input_r.fastq.gz"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
33 #else if $single_or_paired.input_mate2.is_of_type("fastq.bz2", "fastqsanger.bz2"):
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
34 #set read2 = "input_r.fastq.bz2"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
35 #else:
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
36 #set read2 = "input_r.fastq"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
37 #end if
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
38 ln -f -s '${single_or_paired.input_mate2}' ${read2} &&
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
39 #else if str($single_or_paired.single_or_paired_opts) == 'paired_collection':
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
40 #if $single_or_paired.input_mate1.forward.is_of_type("fastq.gz", "fastqsanger.gz"):
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
41 #set read1 = "input_f.fastq.gz"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
42 #else if $single_or_paired.input_mate1.forward.is_of_type("fastq.bz2", "fastqsanger.bz2"):
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
43 #set read1 = "input_f.fastq.bz2"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
44 #else:
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
45 #set read1 = "input_f.fastq"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
46 #end if
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
47 ln -s '${single_or_paired.input_mate1.forward}' ${read1} &&
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
48
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
49 #if $single_or_paired.input_mate1.reverse.is_of_type("fastq.gz", "fastqsanger.gz"):
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
50 #set read2 = "input_r.fastq.gz"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
51 #else if $single_or_paired.input_mate1.reverse.is_of_type("fastq.bz2", "fastqsanger.bz2"):
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
52 #set read2 = "input_r.fastq.bz2"
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
53 #else:
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
54 #set read2 = "input_r.fastq"
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
55 #end if
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
56 ln -s '${single_or_paired.input_mate1.reverse}' ${read2} &&
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
57 #else:
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
58 #if $single_or_paired.input_singles.is_of_type("fastq.gz", "fastqsanger.gz"):
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
59 #set read1 = "input_f.fastq.gz"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
60 #else if $single_or_paired.input_singles.is_of_type("fastq.bz2", "fastqsanger.bz2"):
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
61 #set read1 = "input_f.fastq.bz2"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
62 #else:
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
63 #set read1 = "input_f.fastq"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
64 #end if
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
65 ln -f -s '${single_or_paired.input_singles}' ${read1} &&
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
66 #end if
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
67
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
68 bwameth.py
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
69 -t "\${GALAXY_SLOTS:-4}"
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
70 --reference '${index}'
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
71
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
72 #if str($readGroup).strip():
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
73 --read-group '${readGroup}'
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
74 #end if
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
75
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
76 #if $single_or_paired.single_or_paired_opts == 'single':
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
77 $read1
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
78 #else:
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
79 $read1 $read2
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
80 #end if
10
cf1322aeb137 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 16f1bd9f85b90ad12dbb43bc00ebe469620cfd04
iuc
parents: 9
diff changeset
81 | samtools sort -l 0 -T "\${TMPDIR:-.}" -O bam | samtools view -O bam -@ \${GALAXY_SLOTS:-1} -o output.bam
cf1322aeb137 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 16f1bd9f85b90ad12dbb43bc00ebe469620cfd04
iuc
parents: 9
diff changeset
82
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
83 ]]></command>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
84 <inputs>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
85 <conditional name="referenceSource">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
86 <param name="source" type="select" label="Select a genome reference from your history or a built-in index?">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
87 <option value="history" selected="True">Use one from the history</option>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
88 <option value="indexed">Use a built-in index</option>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
89 </param>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
90 <when value="history">
1
404fae08ea31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit f96ef202e742cc1d260bce023ae0d1e1499a11d8
iuc
parents: 0
diff changeset
91 <param name="reference" type="data" format="fasta" label="Select a genome" help="in FASTA format" />
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
92 </when>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
93 <when value="indexed">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
94 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact your Galaxy admin">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
95 <options from_data_table="bwameth_indexes">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
96 <filter type="sort_by" column="2"/>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
97 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
98 </options>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
99 </param>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
100 </when>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
101 </conditional>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
102
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
103 <conditional name="single_or_paired">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
104 <param name="single_or_paired_opts" type="select" label="Is this library mate-paired?">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
105 <option value="single">Single-end</option>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
106 <option value="paired">Paired-end</option>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
107 <option value="paired_collection">Paired-end Dataset Collection</option>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
108 </param>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
109 <when value="single">
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
110 <param name="input_singles" type="data" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2" label="FASTQ" help="FASTQ file." />
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
111 </when>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
112 <when value="paired">
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
113 <param name="input_mate1" type="data" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2" label="First read in pair" help="FASTQ file." />
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
114 <param name="input_mate2" type="data" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2" label="Second read in pair" help="FASTQ file." />
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
115 </when>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
116 <when value="paired_collection">
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
117 <param name="input_mate1" type="data_collection" collection_type="paired" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2" label="FASTQ paired dataset" help="Must have a fastqsanger datatype." />
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
118 </when>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
119 </conditional>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
120 <param name="readGroup" type="text" value="" label="Read group" help="If desired, you can manually add read group information to the resulting BAM file. To do so, you MUST manually specify the entire string, such as '@RG\tID:foo\tSM:bar'">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
121 <sanitizer sanitize="False"/>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
122 </param>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
123 </inputs>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
124 <outputs>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
125 <data name="output" format="bam" from_work_dir="output.bam" label="${tool.name} on ${on_string}" />
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
126 </outputs>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
127 <tests>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
128 <test>
7
6da3972210ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 8d6c5d539aa6689006776c1f6b2be9067bcf9d23"
iuc
parents: 6
diff changeset
129 <conditional name="referenceSource">
6da3972210ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 8d6c5d539aa6689006776c1f6b2be9067bcf9d23"
iuc
parents: 6
diff changeset
130 <param name="source" value="history" />
6da3972210ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 8d6c5d539aa6689006776c1f6b2be9067bcf9d23"
iuc
parents: 6
diff changeset
131 </conditional>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
132 <param name="reference" value="ref.fa.gz" />
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
133 <param name="single_or_paired_opts" value="paired" />
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
134 <param name="input_mate1" value="t_R1.fastq.gz"/>
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
135 <param name="input_mate2" value="t_R2.fastq.gz"/>
6
b4e6819b25ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 6d44811a45b4f6fded1ec72450ed300318095ce4"
iuc
parents: 5
diff changeset
136 <output file="output.bam" ftype="bam" name="output" lines_diff="4"/><!-- allow for HD and PG lines diff-->
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
137 </test>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
138 <test>
7
6da3972210ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 8d6c5d539aa6689006776c1f6b2be9067bcf9d23"
iuc
parents: 6
diff changeset
139 <conditional name="referenceSource">
6da3972210ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 8d6c5d539aa6689006776c1f6b2be9067bcf9d23"
iuc
parents: 6
diff changeset
140 <param name="source" value="history" />
6da3972210ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 8d6c5d539aa6689006776c1f6b2be9067bcf9d23"
iuc
parents: 6
diff changeset
141 </conditional>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
142 <param name="reference" value="ref.fa.gz" />
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
143 <param name="single_or_paired_opts" value="paired_collection" />
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
144 <param name="input_mate1">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
145 <collection type="paired">
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
146 <element name="forward" value="t_R1.fastq.gz"/>
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
147 <element name="reverse" value="t_R2.fastq.gz"/>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
148 </collection>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
149 </param>
6
b4e6819b25ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 6d44811a45b4f6fded1ec72450ed300318095ce4"
iuc
parents: 5
diff changeset
150 <output file="output.bam" ftype="bam" name="output" lines_diff="4"/><!-- allow for HD and PG lines diff-->
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
151 </test>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
152 </tests>
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
153 <help><![CDATA[
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
154
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
155 **What it does**
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
156
10
cf1322aeb137 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 16f1bd9f85b90ad12dbb43bc00ebe469620cfd04
iuc
parents: 9
diff changeset
157 BWA-meth performs the alignment of reads in a bisulfite-sequencing experiment (e.g., RRBS or WGBS) to a genome. This methodology is similar to bismark, where both the reads and the reference genome are *in silico* converted prior to alignment. Methylation extraction on the resulting BAM file can be done with the PileOMeth tool.
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
158 ]]></help>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
159 <citations>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
160 <citation type="bibtex">@misc{1401.1129,
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
161 Author = {Brent S. Pedersen and Kenneth Eyring and Subhajyoti De and Ivana V. Yang and David A. Schwartz},
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
162 Title = {Fast and accurate alignment of long bisulfite-seq reads},
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
163 Year = {2014},
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
164 Eprint = {arXiv:1401.1129},
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
165 }</citation>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
166 </citations>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
167 </tool>