annotate samtools_flagstat.xml @ 4:10b658bef71a draft

planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
author devteam
date Tue, 13 Oct 2015 12:54:34 -0400
parents 480404be9626
children 28eb6a47be96
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
1 <tool id="samtools_flagstat" name="Flagstat" version="2.0">
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
2 <description>tabulate descriptive stats for BAM datset</description>
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
3 <macros>
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
4 <import>macros.xml</import>
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
5 </macros>
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
6 <expand macro="requirements"></expand>
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
7 <expand macro="stdio"></expand>
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
8 <expand macro="version_command"></expand>
0
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
9 <command>samtools flagstat "$input1" > "$output1"
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
10 </command>
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
11 <inputs>
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
12 <param name="input1" type="data" format="bam" label="BAM File to Convert" />
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
13 </inputs>
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
14 <outputs>
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
15 <data name="output1" format="txt" />
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
16 </outputs>
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
17 <tests>
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
18 <test>
4
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
19 <param name="input1" value="samtools_flagstat_input1.bam" ftype="bam" />
0
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
20 <output name="output1" file="samtools_flagstat_out1.txt" />
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
21 </test>
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
22 </tests>
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
23 <help>
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
24
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
25 **What it does**
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
26
4
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
27 Uses ``samtools flagstat`` command to print descriptive information for a BAM dataset. Here is an example of such information::
0
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
28
4
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
29 200 + 0 in total (QC-passed reads + QC-failed reads)
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
30 0 + 0 secondary
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
31 0 + 0 supplementary
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
32 0 + 0 duplicates
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
33 25 + 0 mapped (12.50%:nan%)
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
34 200 + 0 paired in sequencing
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
35 100 + 0 read1
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
36 100 + 0 read2
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
37 0 + 0 properly paired (0.00%:nan%)
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
38 0 + 0 with itself and mate mapped
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
39 25 + 0 singletons (12.50%:nan%)
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
40 0 + 0 with mate mapped to a different chr
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
41 0 + 0 with mate mapped to a different chr (mapQ>=5)
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
42
0
1bbde47ebd2a Uploaded
devteam
parents:
diff changeset
43 </help>
4
10b658bef71a planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 3
diff changeset
44 <expand macro="citations"></expand>
3
480404be9626 Uploaded version 1.0.3 for samtools 1.1
devteam
parents: 2
diff changeset
45 </tool>