annotate samtools_flagstat.xml @ 8:fefd89ab563c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit cd62639660bef041ba14ecff337fb98e84e75d8a
author iuc
date Mon, 20 Nov 2023 22:15:35 +0000
parents fe34990e5ce7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
fefd89ab563c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit cd62639660bef041ba14ecff337fb98e84e75d8a
iuc
parents: 7
diff changeset
1 <tool id="samtools_flagstat" name="Samtools flagstat" version="2.0.5" profile="@PROFILE@">
3
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
2 <description>tabulate descriptive stats for BAM datset</description>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
3
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
4 <macros>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
5 <import>macros.xml</import>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
6 </macros>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
7 <expand macro="requirements"/>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
8 <expand macro="stdio"/>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
9 <expand macro="version_command"/>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
10
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
11 <command><![CDATA[
5
db17d5321bad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 4
diff changeset
12 @ADDTHREADS@
7
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
13 samtools flagstat -@ \$addthreads
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
14 #if $output_fmt != 'txt'
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
15 --output-fmt $output_fmt
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
16 #end if
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
17 '$input1'
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
18 > '$output1'
3
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
19 ]]></command>
0
13c4ad597626 Uploaded tool tarball.
devteam
parents:
diff changeset
20
3
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
21 <inputs>
4
4e404acfafa6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4
iuc
parents: 3
diff changeset
22 <param name="input1" type="data" format="sam,bam,cram" label="BAM File to report statistics of" />
7
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
23 <param argument="--output-fmt" type="select" label="Output format">
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
24 <option value="txt">txt</option>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
25 <option value="tsv">tsv</option>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
26 <option value="json">json</option>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
27 </param>
3
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
28 </inputs>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
29
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
30 <outputs>
7
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
31 <data name="output1" format="txt">
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
32 <change_format>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
33 <when input="output_fmt" value="tsv" format="tabular" />
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
34 <when input="output_fmt" value="json" format="json" />
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
35 </change_format>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
36 </data>
3
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
37 </outputs>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
38
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
39 <tests>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
40 <test>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
41 <param name="input1" value="samtools_flagstat_input1.bam" ftype="bam" />
7
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
42 <output name="output1" file="samtools_flagstat_out1.txt" ftype="txt"/>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
43 </test>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
44 <test>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
45 <param name="input1" value="samtools_flagstat_input1.bam" ftype="bam" />
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
46 <param name="output_fmt" value="tsv"/>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
47 <output name="output1" file="samtools_flagstat_out1.tsv" ftype="tabular" />
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
48 </test>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
49 <test>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
50 <param name="input1" value="samtools_flagstat_input1.bam" ftype="bam" />
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
51 <param name="output_fmt" value="json"/>
fe34990e5ce7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 6
diff changeset
52 <output name="output1" file="samtools_flagstat_out1.json" ftype="json" />
3
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
53 </test>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
54 </tests>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
55 <help><![CDATA[
0
13c4ad597626 Uploaded tool tarball.
devteam
parents:
diff changeset
56 **What it does**
13c4ad597626 Uploaded tool tarball.
devteam
parents:
diff changeset
57
2
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
58 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
59
3
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
60 200 + 0 in total (QC-passed reads + QC-failed reads)
2
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
61 0 + 0 secondary
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
62 0 + 0 supplementary
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
63 0 + 0 duplicates
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
64 25 + 0 mapped (12.50%:nan%)
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
65 200 + 0 paired in sequencing
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
66 100 + 0 read1
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
67 100 + 0 read2
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
68 0 + 0 properly paired (0.00%:nan%)
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
69 0 + 0 with itself and mate mapped
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
70 25 + 0 singletons (12.50%:nan%)
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
71 0 + 0 with mate mapped to a different chr
0072bf593791 Uploaded
devteam
parents: 1
diff changeset
72 0 + 0 with mate mapped to a different chr (mapQ>=5)
6
22970df7a40e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 558d30ff047fe2f62658e8b57e27ebe8db77ede1"
iuc
parents: 5
diff changeset
73
22970df7a40e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 558d30ff047fe2f62658e8b57e27ebe8db77ede1"
iuc
parents: 5
diff changeset
74 The results of samtools flagstat can be visualized with MultiQC.
3
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
75 ]]></help>
cc61ade70eb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_flagstat commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 2
diff changeset
76 <expand macro="citations"/>
0
13c4ad597626 Uploaded tool tarball.
devteam
parents:
diff changeset
77 </tool>