Mercurial > repos > artbio > bamparse
annotate bamparse.xml @ 5:320f7746b9f5 draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/bamparse commit d520bdab019f9afc3f78912bfbd174909114da4f
author | artbio |
---|---|
date | Wed, 11 Oct 2023 01:59:32 +0000 |
parents | 1997af8f4648 |
children |
rev | line source |
---|---|
5
320f7746b9f5
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/bamparse commit d520bdab019f9afc3f78912bfbd174909114da4f
artbio
parents:
4
diff
changeset
|
1 <tool id="bamparse" name="Count alignments" version="4.1.1"> |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
2 <description>in a BAM file</description> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
3 <requirements> |
3
120eb76aa500
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e8a19ac6ada887e6daa0a2e2abc9ba69392cdb8a
artbio
parents:
2
diff
changeset
|
4 <requirement type="package" version="0.21.0=py310h41dec4a_1">pysam</requirement> |
120eb76aa500
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e8a19ac6ada887e6daa0a2e2abc9ba69392cdb8a
artbio
parents:
2
diff
changeset
|
5 <requirement type="package" version="1.0=h98b6b92_0">sambamba</requirement> |
120eb76aa500
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e8a19ac6ada887e6daa0a2e2abc9ba69392cdb8a
artbio
parents:
2
diff
changeset
|
6 <requirement type="package" version="1.17=hd87286a_1">samtools</requirement> |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
7 </requirements> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
8 <stdio> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
9 <exit_code range="1:" level="fatal" description="Tool exception" /> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
10 </stdio> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
11 <command detect_errors="exit_code"><![CDATA[ |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
12 mkdir outputdir && |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
13 #if $polarity == 'sense': |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
14 #set pol=' and not reverse_strand' |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
15 #else if $polarity == 'antisense': |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
16 #set pol=' and reverse_strand' |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
17 #else: |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
18 #set pol='' |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
19 #end if |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
20 #for $file in $input_list |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
21 sambamba view -t \$GALAXY_SLOTS -F "not unmapped$pol" -f bam '$file' -o '$file.element_identifier' && |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
22 samtools index '$file.element_identifier' && |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
23 #end for |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
24 python $__tool_directory__/bamparse.py |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
25 --alignments |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
26 #for $file in $input_list |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
27 '$file.element_identifier' |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
28 #end for |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
29 --labels |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
30 #for $file in $input_list |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
31 '$file.element_identifier' |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
32 #end for |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
33 --number '$output_option' && |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
34 #if $output_option == 'unique': |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
35 cp ./outputdir/table.tabular $table |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
36 #else if $output_option == 'multiple': |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
37 cp outputdir/* ./ && ls -latr ./ |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
38 #end if |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
39 ]]></command> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
40 <inputs> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
41 <param name="input_list" type="data" format="bam" label="Select multiple alignments to parse" multiple="true"/> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
42 <param name="polarity" type="select" label="how to count sense and antisense reads"> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
43 <option value="both">count both sense and antisense reads</option> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
44 <option value="sense">count only sense reads</option> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
45 <option value="antisense">count only antisense reads</option> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
46 </param> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
47 <param name="output_option" type="select" display="radio" label="Select the number of files for results" |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
48 help="Results can be returned either as a single multi-column table or in a collection of separate two-column |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
49 datasets (useful for DESeq subsequent analysis)"> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
50 <option value="unique">A multi-column table</option> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
51 <option value="multiple">One separate two-columns dataset per input bam alignment</option> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
52 </param> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
53 </inputs> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
54 <outputs> |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
55 <data name="table" format="tabular" label="Table of Counts"> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
56 <filter>output_option == "unique"</filter> |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
57 </data> |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
58 |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
59 <collection name="split_output" type="list" label="Collection of Count Tables"> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
60 <filter>output_option == "multiple"</filter> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
61 <discover_datasets pattern="(?P<designation>.*)\.tabular" format="tabular" visible="false" directory="outputdir"/> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
62 </collection> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
63 |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
64 </outputs> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
65 <tests> |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
66 <test expect_num_outputs="1"> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
67 <param name="input_list" value="alignment1.bam,alignment2.bam" ftype="bam" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
68 <param name="polarity" value="both" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
69 <param name="output_option" value="unique" /> |
5
320f7746b9f5
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/bamparse commit d520bdab019f9afc3f78912bfbd174909114da4f
artbio
parents:
4
diff
changeset
|
70 <output name="table" ftype="tabular" file="table.tabular" /> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
71 </test> |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
72 <test expect_num_outputs="1"> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
73 <param name="input_list" value="alignment1.bam,alignment2.bam" ftype="bam" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
74 <param name="polarity" value="both" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
75 <param name="output_option" value="multiple" /> |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
76 <output_collection name="split_output" type="list" count="2"> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
77 <element name="table0" file="table0.tabular" ftype="tabular" compare="contains" /> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
78 <element name="table1" file="table1.tabular" ftype="tabular" compare="contains" /> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
79 </output_collection> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
80 </test> |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
81 <test expect_num_outputs="1"> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
82 <param name="input_list" value="alignment1.bam,alignment2.bam" ftype="bam" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
83 <param name="polarity" value="sense" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
84 <param name="output_option" value="unique" /> |
5
320f7746b9f5
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/bamparse commit d520bdab019f9afc3f78912bfbd174909114da4f
artbio
parents:
4
diff
changeset
|
85 <output name="table" ftype="tabular" file="table.tabular" /> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
86 </test> |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
87 <test expect_num_outputs="1"> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
88 <param name="input_list" value="alignment1.bam,alignment2.bam" ftype="bam" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
89 <param name="polarity" value="antisense" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
90 <param name="output_option" value="unique" /> |
5
320f7746b9f5
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/bamparse commit d520bdab019f9afc3f78912bfbd174909114da4f
artbio
parents:
4
diff
changeset
|
91 <output name="table" ftype="tabular" file="table_antisense.tabular" /> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
92 </test> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
93 |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
94 <test expect_num_outputs="1"> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
95 <param name="input_list" value="input1.bam,input2.bam,input_new2.bam" ftype="bam" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
96 <param name="polarity" value="both" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
97 <param name="output_option" value="multiple" /> |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
98 <output_collection name="split_output" type="list" count="3"> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
99 <element name="table0" file="more_table0.tabular" ftype="tabular" compare="contains" /> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
100 <element name="table1" file="more_table1.tabular" ftype="tabular" compare="contains" /> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
101 <element name="table2" file="more_table2.tabular" ftype="tabular" compare="contains" /> |
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
102 </output_collection> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
103 </test> |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
104 <test expect_num_outputs="1"> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
105 <param name="input_list" value="input1.bam,input2.bam,input_new2.bam" ftype="bam" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
106 <param name="polarity" value="sense" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
107 <param name="output_option" value="unique" /> |
5
320f7746b9f5
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/bamparse commit d520bdab019f9afc3f78912bfbd174909114da4f
artbio
parents:
4
diff
changeset
|
108 <output name="table" ftype="tabular" file="more_sense_table.tabular" /> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
109 </test> |
4
1997af8f4648
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit e1e871049975dff030bf1e6fe2df8b8fa8997141
artbio
parents:
3
diff
changeset
|
110 <test expect_num_outputs="1"> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
111 <param name="input_list" value="input1.bam,input2.bam,input_new2.bam" ftype="bam" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
112 <param name="polarity" value="antisense" /> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
113 <param name="output_option" value="unique" /> |
5
320f7746b9f5
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/bamparse commit d520bdab019f9afc3f78912bfbd174909114da4f
artbio
parents:
4
diff
changeset
|
114 <output name="table" ftype="tabular" file="more_antisense_table.tabular" /> |
2
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
115 </test> |
8ea06787c08a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 968c9ab925ed768027ff8012d0ff6410fc24f079
artbio
parents:
1
diff
changeset
|
116 </tests> |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
117 <help> |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
118 |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
119 **What it does** |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
120 |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
121 Counts the number of reads aligned to each reference (@SN, reference NAME) in one or |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
122 several BAM alignments. |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
123 |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
124 Sense, antisense or both sense and antisense alignments can be counted |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
125 |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
126 The library labels in the returned count table are taken from the input bam datasets |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
127 names in the Galaxy history. |
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
128 </help> |
5
320f7746b9f5
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/bamparse commit d520bdab019f9afc3f78912bfbd174909114da4f
artbio
parents:
4
diff
changeset
|
129 <citations> |
320f7746b9f5
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/bamparse commit d520bdab019f9afc3f78912bfbd174909114da4f
artbio
parents:
4
diff
changeset
|
130 <citation type="doi">10.1093/bioinformatics/btp352</citation> |
320f7746b9f5
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/bamparse commit d520bdab019f9afc3f78912bfbd174909114da4f
artbio
parents:
4
diff
changeset
|
131 </citations> |
0
2a1a2bc6ae8b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bamparse commit 4e42cba873625fad03423e65dfffbf4afa91598c
artbio
parents:
diff
changeset
|
132 </tool> |