Mercurial > repos > iuc > bwameth
annotate bwameth.xml @ 4:95219305823a draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 11ee7ac206d41894c0b6a11f2439aaea490824f0
author | iuc |
---|---|
date | Thu, 09 Nov 2017 13:07:16 -0500 |
parents | a6ea26c1f225 |
children | 29bdbc353f20 |
rev | line source |
---|---|
4
95219305823a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 11ee7ac206d41894c0b6a11f2439aaea490824f0
iuc
parents:
3
diff
changeset
|
1 <tool id="bwameth" name="bwameth" version="0.2.0.4" profile="17.01"> |
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> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
3 <requirements> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
4 <requirement type="package" version="0.2.0">bwameth</requirement> |
4
95219305823a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwameth commit 11ee7ac206d41894c0b6a11f2439aaea490824f0
iuc
parents:
3
diff
changeset
|
5 <requirement type="package" version="0.7.16">bwa</requirement> |
0
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
6 </requirements> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
7 <version_command>bwameth.py --version</version_command> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
8 <command detect_errors="aggressive"> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
9 <![CDATA[ |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
10 #if $referenceSource.source != "indexed": |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
11 mkdir index_dir && |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
12 ln -s '$referenceSource.reference' index_dir/genome.fa && |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
13 bwameth.py index index_dir/genome.fa && |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
14 #set index="index_dir/genome.fa" |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
15 #else |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
16 #set index=$referenceSource.index.fields.path |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
17 #end if |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
18 |
3
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
19 ## Link in the files with a name that's appropriate |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
20 #if str($single_or_paired.single_or_paired_opts) == 'paired': |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
21 #if $single_or_paired.input_mate1.is_of_type("fastq.gz", "fastqsanger.gz"): |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
22 #set read1 = "input_f.fastq.gz" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
23 #else if $single_or_paired.input_mate1.is_of_type("fastq.bz2", "fastqsanger.bz2"): |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
24 #set read1 = "input_f.fastq.bz2" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
25 #else: |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
26 #set read1 = "input_f.fastq" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
27 #end if |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
28 ln -f -s '${single_or_paired.input_mate1}' ${read1} && |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
29 |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
30 #if $single_or_paired.input_mate2.is_of_type("fastq.gz", "fastqsanger.gz"): |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
31 #set read2 = "input_r.fastq.gz" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
32 #else if $single_or_paired.input_mate2.is_of_type("fastq.bz2", "fastqsanger.bz2"): |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
33 #set read2 = "input_r.fastq.bz2" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
34 #else: |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
35 #set read2 = "input_r.fastq" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
36 #end if |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
37 ln -f -s '${single_or_paired.input_mate2}' ${read2} && |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
38 #else if str($single_or_paired.single_or_paired_opts) == 'paired_collection': |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
39 #if $single_or_paired.input_mate1.forward.is_of_type("fastq.gz", "fastqsanger.gz"): |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
40 #set read1 = "input_f.fastq.gz" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
41 #else if $single_or_paired.input_mate1.forward.is_of_type("fastq.bz2", "fastqsanger.bz2"): |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
42 #set read1 = "input_f.fastq.bz2" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
43 #else: |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
44 #set read1 = "input_f.fastq" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
45 #end if |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
46 ln -s '${single_or_paired.input_mate1.forward}' ${read1} && |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
47 |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
48 #if $single_or_paired.input_mate1.reverse.is_of_type("fastq.gz", "fastqsanger.gz"): |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
49 #set read2 = "input_r.fastq.gz" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
50 #else if $single_or_paired.input_mate1.reverse.is_of_type("fastq.bz2", "fastqsanger.bz2"): |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
51 #set read2 = "input_r.fastq.bz2" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
52 #else: |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
53 #set read2 = "input_r.fastq" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
54 #end if |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
55 ln -s '${single_or_paired.input_mate1.reverse}' ${read2} && |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
56 #else: |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
57 #if $single_or_paired.input_singles.is_of_type("fastq.gz", "fastqsanger.gz"): |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
58 #set read1 = "input_f.fastq.gz" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
59 #else if $single_or_paired.input_singles.is_of_type("fastq.bz2", "fastqsanger.bz2"): |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
60 #set read1 = "input_f.fastq.bz2" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
61 #else: |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
62 #set read1 = "input_f.fastq" |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
63 #end if |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
64 ln -f -s '${single_or_paired.input_singles}' ${read1} && |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
65 #end if |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
66 |
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
67 |
0
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
68 bwameth.py |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
69 -t "\${GALAXY_SLOTS:-4}" |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
70 --reference "${index}" |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
71 |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
72 #if str($readGroup).strip() != "": |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
73 --read-group "${readGroup}" |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
74 #end if |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
75 |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
76 #if $single_or_paired.single_or_paired_opts == 'single': |
3
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
77 $read1 |
0
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
78 #else: |
3
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
79 $read1 $read2 |
0
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
80 #end if |
2
2e4674c16615
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit 10747839851e862ba0200061e1c99d68e009fb18
iuc
parents:
1
diff
changeset
|
81 | samtools view -u - | samtools sort -@ "\${GALAXY_SLOTS:-4}" -T tmp -O bam -o output.bam - |
0
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
82 ]]> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
83 </command> |
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> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
129 <param name="referenceSource" value="history" /> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
130 <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
|
131 <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
|
132 <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
|
133 <param name="input_mate2" 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
|
134 <output file="output.bam" ftype="bam" name="output" lines_diff="2"/> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
135 </test> |
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 <param name="referenceSource" value="history" /> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
138 <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
|
139 <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
|
140 <param name="input_mate1"> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
141 <collection type="paired"> |
3
a6ea26c1f225
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit cbf959a50b9424974905a5551ef7b3c50da4d92a
iuc
parents:
2
diff
changeset
|
142 <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
|
143 <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
|
144 </collection> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
145 </param> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
146 <output file="output.bam" ftype="bam" name="output" lines_diff="2"/> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
147 </test> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
148 </tests> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
149 <help> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
150 <![CDATA[ |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
151 |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
152 **What it does** |
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 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. |
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 </help> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
157 <citations> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
158 <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
|
159 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
|
160 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
|
161 Year = {2014}, |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
162 Eprint = {arXiv:1401.1129}, |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
163 }</citation> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
164 </citations> |
f7094efef903
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/bwameth commit e912b80a0a6a556922a73037843600bd9de687db
iuc
parents:
diff
changeset
|
165 </tool> |