Mercurial > repos > nilesh > rseqc
annotate bam_stat.xml @ 13:a7f9084572fe draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
| author | iuc |
|---|---|
| date | Sat, 10 Dec 2022 11:21:47 +0000 |
| parents | 57fad5deeb8e |
| children |
| rev | line source |
|---|---|
|
13
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
1 <tool id="rseqc_bam_stat" name="BAM/SAM Mapping Stats" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@GALAXY_VERSION@"> |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
2 <description> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
3 reads mapping statistics for a provided BAM or SAM file. |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
4 </description> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
5 <macros> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
6 <import>rseqc_macros.xml</import> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
7 </macros> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
8 |
|
13
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
9 <expand macro="bio_tools"/> |
|
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
10 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
11 <expand macro="requirements" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
12 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
13 <expand macro="stdio" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
14 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
15 <version_command><![CDATA[bam_stat.py --version]]></version_command> |
| 1 | 16 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
17 <command><![CDATA[ |
|
13
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
18 @BAM_SAM_INPUTS@ |
|
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
19 bam_stat.py -i 'input.${extension}' -q ${mapq} > '${output}' |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
20 ]]> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
21 </command> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
22 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
23 <inputs> |
|
13
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
24 <expand macro="bam_sam_param" /> |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
25 <expand macro="mapq_param" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
26 </inputs> |
| 1 | 27 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
28 <outputs> |
|
13
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
29 <data format="txt" name="output" label="${tool.name} on ${on_string}: stats"/> |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
30 </outputs> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
31 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
32 <tests> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
33 <test> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
34 <param name="input" value="pairend_strandspecific_51mer_hg19_chr1_1-100000.bam" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
35 <output name="output" file="output.bamstats.txt" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
36 </test> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
37 </tests> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
38 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
39 <help><![CDATA[ |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
40 bam_stat.py |
| 1 | 41 +++++++++++ |
| 42 | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
43 This program is used to calculate reads mapping statistics from provided BAM |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
44 file. This script determines "uniquely mapped reads" from `mapping quality |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
45 <http://genome.sph.umich.edu/wiki/Mapping_Quality_Scores>`_, |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
46 which quality the probability that a read is misplaced (Do NOT confused with |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
47 sequence quality, sequence quality measures the probability that a base-calling |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
48 was wrong) . |
| 1 | 49 |
| 50 Inputs | |
| 51 ++++++++++++++ | |
| 52 | |
| 53 Input BAM/SAM file | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
54 Alignment file in BAM/SAM format. |
| 1 | 55 |
| 56 Minimum mapping quality | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
57 Minimum mapping quality for an alignment to be called "uniquely mapped" (default=30) |
| 1 | 58 |
| 59 Output | |
| 60 ++++++++++++++ | |
| 61 | |
| 62 - Total Reads (Total records) = {Multiple mapped reads} + {Uniquely mapped} | |
| 63 - Uniquely mapped Reads = {read-1} + {read-2} (if paired end) | |
| 64 - Uniquely mapped Reads = {Reads map to '+'} + {Reads map to '-'} | |
| 65 - Uniquely mapped Reads = {Splice reads} + {Non-splice reads} | |
| 66 | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
67 @ABOUT@ |
| 1 | 68 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
69 ]]> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
70 </help> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
71 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
72 <expand macro="citations" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
73 </tool> |
