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