comparison Sambamba_flagstat.xml @ 0:ce3927af5a8f draft default tip

planemo upload for repository https://github.com/biod/sambamba commit 13ed0b409cf2c5de007e0a6fa93391cbbb21795d
author bgruening
date Wed, 12 Jun 2024 15:00:52 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:ce3927af5a8f
1 <tool id="sambamba_flagstat" name="Sambamba flagstat" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="23.2" license="MIT">
2 <description>Retrieving flag statistics from BAM file</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <command detect_errors="exit_code"><![CDATA[
8 sambamba flagstat
9 '${input_bam}'
10 --nthreads \${GALAXY_SLOTS:-4}
11 > $output
12 ]]></command>
13 <inputs>
14 <param name="input_bam" type="data" format="bam" label="Input BAM file"/>
15 </inputs>
16 <outputs>
17 <data name="output" format="txt" metadata_source="input_bam"/>
18 </outputs>
19 <tests>
20 <test expect_num_outputs="1">
21 <param name="input_bam" value="1.bam" ftype="bam"/>
22 <output name="output" md5="7df76f07273f8e35c542831a3f8c4dde"/>
23 </test>
24 </tests>
25 <help>
26 <![CDATA[
27
28 Sambamba_flagstat outputs statistics drawn from read flags.
29
30 The first line contains numbers of QC-passed and QC-failed reads. Then come pairs of numbers, the former for QC-passed reads, the latter for QC-failed ones:
31 - duplicates
32 - mapped reads (plus percentage relative to the numbers from the first line)
33 - reads with 'is_paired' flag set
34 - paired reads which are first mates
35 - paired reads which are second mates
36 - paired reads with 'proper_pair' flag set (plus percentage relative to the numbers of QC-passed/failed reads with 'is_paired' flag set)
37 - paired reads where both mates are mapped
38 - paired reads where read itself is unmapped but mate is mapped
39 - paired reads where mate is mapped to a different chromosome
40 - the same as previous but mapping quality is not less than 5
41
42 ]]>
43 </help>
44 <expand macro="citations" />
45 </tool>