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