annotate bwameth.xml @ 9:d82648ad25a3 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 3cae9f7b3b4d21f4235b436fd62faa174c82242c
author iuc
date Mon, 20 Mar 2023 20:39:36 +0000
parents 62f5fab76dfb
children cf1322aeb137
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>
9
d82648ad25a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 3cae9f7b3b4d21f4235b436fd62faa174c82242c
iuc
parents: 8
diff changeset
4 <token name="@TOOL_VERSION@">0.2.6</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
6
b4e6819b25ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 6d44811a45b4f6fded1ec72450ed300318095ce4"
iuc
parents: 5
diff changeset
81 | samtools view --no-PG -u - | samtools sort --no-PG -@ "\${GALAXY_SLOTS:-4}" -T "\${TMPDIR:-.}" -O bam -o output.bam -
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
82 ]]></command>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
83 <inputs>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
84 <conditional name="referenceSource">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
85 <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
86 <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
87 <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
88 </param>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
89 <when value="history">
1
404fae08ea31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit f96ef202e742cc1d260bce023ae0d1e1499a11d8
iuc
parents: 0
diff changeset
90 <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
91 </when>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
92 <when value="indexed">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
93 <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
94 <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
95 <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
96 <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
97 </options>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
98 </param>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
99 </when>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
100 </conditional>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
101
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
102 <conditional name="single_or_paired">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
103 <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
104 <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
105 <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
106 <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
107 </param>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
108 <when value="single">
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
109 <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
110 </when>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
111 <when value="paired">
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
112 <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
113 <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
114 </when>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
115 <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
116 <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
117 </when>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
118 </conditional>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
119 <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
120 <sanitizer sanitize="False"/>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
121 </param>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
122 </inputs>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
123 <outputs>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
124 <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
125 </outputs>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
126 <tests>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
127 <test>
7
6da3972210ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 8d6c5d539aa6689006776c1f6b2be9067bcf9d23"
iuc
parents: 6
diff changeset
128 <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
129 <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
130 </conditional>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
131 <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
132 <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
133 <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
134 <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
135 <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
136 </test>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
137 <test>
7
6da3972210ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 8d6c5d539aa6689006776c1f6b2be9067bcf9d23"
iuc
parents: 6
diff changeset
138 <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
139 <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
140 </conditional>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
141 <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
142 <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
143 <param name="input_mate1">
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
144 <collection type="paired">
3
a6ea26c1f225 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents: 2
diff changeset
145 <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
146 <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
147 </collection>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
148 </param>
6
b4e6819b25ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 6d44811a45b4f6fded1ec72450ed300318095ce4"
iuc
parents: 5
diff changeset
149 <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
150 </test>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
151 </tests>
5
29bdbc353f20 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 823259bba9405d22dc2add24746057122c819ad3"
iuc
parents: 4
diff changeset
152 <help><![CDATA[
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
153
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
154 **What it does**
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
155
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
156 BWA-meth performs alignment of reads in a bisulfite-sequencing experiment (e.g., RRBS or WGBS) to a genome. The methodology employed for this 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
157 ]]></help>
0
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
158 <citations>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
159 <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
160 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
161 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
162 Year = {2014},
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
163 Eprint = {arXiv:1401.1129},
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
164 }</citation>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
165 </citations>
f7094efef903 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff changeset
166 </tool>