Mercurial > repos > jvolkening > b2b_count_mapped_reads
annotate count_mapped_reads.xml @ 1:a7ff53aff57b draft default tip
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 9260aa02a5f703bce63d2db5b69003df9be371ac
author | jvolkening |
---|---|
date | Fri, 08 Mar 2024 00:55:24 +0000 |
parents | 90d81e551420 |
children |
rev | line source |
---|---|
0
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
1 <tool id="b2b_count_mapped_reads" name="Count mapped reads" version="0.001"> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
2 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
3 <description>Count reads uniquely mapped to each reference sequence</description> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
4 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
5 <!-- ***************************************************************** --> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
6 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
7 <requirements> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
8 <!-- ncurses needs to be explicitly pulled from conda-forge for samtools to work --> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
9 <requirement type="package" version="6.1">ncurses</requirement> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
10 <requirement type="package" version="1.9">samtools</requirement> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
11 </requirements> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
12 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
13 <!-- ***************************************************************** --> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
14 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
15 <version_command>echo "0.001"</version_command> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
16 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
17 <!-- ***************************************************************** --> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
18 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
19 <command detect_errors="aggressive"> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
20 <![CDATA[ |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
21 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
22 #if $uniq: |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
23 samtools view -F 0x04 -F 0x100 -F 0x800 $in |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
24 #else |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
25 samtools view -F 0x04 $in |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
26 #end if |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
27 | cut -f3 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
28 | sort |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
29 | uniq -c |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
30 | awk -v OFS='\t' '{print $2,$1}' |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
31 > $out |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
32 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
33 ]]> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
34 </command> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
35 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
36 <!-- ***************************************************************** --> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
37 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
38 <inputs> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
39 <param name="in" type="data" format="bam" label="Read mapping" help="BAM format" /> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
40 <param name="uniq" type="boolean" checked="True" label="Exclude ambiguous mappings" /> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
41 </inputs> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
42 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
43 <!-- ***************************************************************** --> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
44 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
45 <outputs> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
46 <data name="out" format="tabular" label="Read counts" /> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
47 </outputs> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
48 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
49 <!-- ***************************************************************** --> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
50 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
51 <tests> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
52 <test> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
53 <param name="in" value="b2c.bam" ftype="bam" /> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
54 <output name="out" file="b2c.counts" compare="diff" /> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
55 </test> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
56 </tests> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
57 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
58 <!-- ***************************************************************** --> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
59 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
60 <help> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
61 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
62 `count_mapped_reads` is a Galaxy-only utility from BASE2BIO that simply |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
63 reports the number of reads mapped to each sequence from a BAM input file. |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
64 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
65 </help> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
66 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
67 <!-- ***************************************************************** --> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
68 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
69 <citations> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
70 </citations> |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
71 |
90d81e551420
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff
changeset
|
72 </tool> |