annotate verify_map.xml @ 1:80b7566e62ec draft default tip

"planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
author nml
date Tue, 23 Jun 2020 10:28:13 -0400
parents 12f1714f7716
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
80b7566e62ec "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
1 <tool id="verify_map" name="Verify Mapping Quality" version="@VERSION@+galaxy1">
0
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
2 <description>Checks the mapping quality of all BAM files generated in the core SNV pipeline.</description>
1
80b7566e62ec "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
3 <macros>
80b7566e62ec "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
4 <import>macros.xml</import>
80b7566e62ec "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
5 </macros>
80b7566e62ec "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
6 <expand macro="requirements"/>
0
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
7 <command detect_errors="exit_code">
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
8 verify_mapping_quality.pl
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
9 #for $f in $bams.keys# --bam "$f=$bams[$f]" #end for#
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
10 #if $mindepth :
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
11 --min-depth $mindepth
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
12 #end if
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
13
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
14 --cores \${GALAXY_SLOTS:-1}
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
15
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
16 #if $minmap :
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
17 --min-map $minmap
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
18 #end if
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
19 > $output_log
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
20 </command>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
21
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
22 <inputs>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
23 <param name="bams" type="data_collection" label="Collect of BAM files" format="bam" />
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
24 <param name="mindepth" type="integer" label="The minimum depth of coverage required in each BAM file." format="" optional="true" />
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
25 <param name="minmap" type="integer" label="The minimum percent coverage required in each BAM file." format="" optional="true" />
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
26 </inputs>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
27
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
28 <outputs>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
29 <data format="txt" name="output_log" from_work_dir="mapping_percentage.log" label="Mapping Percentage Log"/>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
30 </outputs>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
31
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
32 <tests>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
33 <test>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
34 <param name="bams">
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
35 <collection type="list">
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
36 <element name="s1" value="sample1.bam"/>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
37 <element name="s2" value="sample2.bam"/>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
38 <element name="s4" value="sample4.bam"/>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
39 </collection>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
40 </param>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
41 <output name="output_log" file="test_percent_log.txt" ftype="txt"/>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
42 </test>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
43 </tests>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
44
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
45 <help>
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
46 What it does
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
47 ============
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
48
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
49 This script checks the mapping quality of all BAM files generated from the SNVPhyl pipeline.
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
50
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
51
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
52 Usage
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
53 =====
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
54
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
55 **Parameters**
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
56 - input - The collection of BAM files in the dataset.
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
57
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
58
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
59 **Options**
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
60 - min-depth - The minimum depth of coverage required in each BAM file.
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
61 - min-map - The minimum perecent coverage required in each BAM file.
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
62
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
63 </help>
1
80b7566e62ec "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
64 <expand macro="citations"/>
0
12f1714f7716 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
65 </tool>