annotate samtools_flagstat.xml @ 2:0072bf593791 draft

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