Mercurial > repos > iuc > chira_merge
annotate chira_merge.xml @ 6:7f9cf152cf8f draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit cc81372929ffba1f5ab8cf620911425c832fb120"
author | iuc |
---|---|
date | Thu, 16 Apr 2020 13:23:11 -0400 |
parents | 0170de5072d4 |
children | 35f433d0bd7f |
rev | line source |
---|---|
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
1 <tool id="chira_merge" name="ChiRA merge" version="@WRAPPER_VERSION@0"> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
2 <description>merge aligned positions</description> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
3 <macros> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
5 </macros> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
7 <command><![CDATA[ |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
8 chira_merge.py |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
9 -b '$alignments' |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
10 #if str($annotation.choice) == "yes": |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
11 -g '$annotation.gtf' |
4
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
12 #end if |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
13 -so '$segment_overlap' |
4
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
14 #if str($merge.mode) == "blockbuster": |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
15 -bb |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
16 -d '$merge.distance' |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
17 -mc '$merge.min_cluster_height' |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
18 -mb '$merge.min_block_height' |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
19 -sc '$merge.scale' |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
20 #else: |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
21 -ao '$merge.alignment_overlap' |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
22 #end if |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
23 -o ./ |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
24 ]]></command> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
25 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
26 <inputs> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
27 <param format="bed" name="alignments" type="data" label="Input BED file of alignments"/> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
28 <conditional name="annotation"> |
1
ce26b5a859ba
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 6845f3b028a42acbefb07c5f59fd2e558f50a768"
iuc
parents:
0
diff
changeset
|
29 <param name="choice" type="select" label="Do you have an annotation in GTF format?"> |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
30 <option value="yes">Yes</option> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
31 <option value="no">No</option> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
32 </param> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
33 <when value="yes"> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
34 <param format="gtf,gff" name="gtf" type="data" label="Annotations in GTF format"/> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
35 </when> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
36 <when value="no"> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
37 <!-- Do nothing --> |
4
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
38 </when> |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
39 </conditional> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
40 <param name="segment_overlap" type="float" value="0.7" label="Overlap fraction for merging mapped read positions to segments" min="0" max="1" |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
41 help="Matching read positions with greater than this fraction overlap are merged into a segment"/> |
4
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
42 <conditional name="merge"> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
43 <param name="mode" type="select" label="Select the mode of merging"> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
44 <option value="overlap">Overlap based</option> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
45 <option value="blockbuster">Gaussian based (blockbuster)</option> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
46 </param> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
47 <when value="overlap"> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
48 <param name="alignment_overlap" type="float" value="0.7" label="Overlap fraction for merging alignments" min="0" max="1" |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
49 help="Minimum fraction of BED entries that must overlap inorder to merge"/> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
50 </when> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
51 <when value="blockbuster"> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
52 <param name="distance" type="integer" value="30" label="Blockbuster parameter distance" |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
53 help="Minimum distance between two clusters"/> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
54 <param name="min_cluster_height" type="float" value="10" label="Blockbuster parameter minClusterHeight" |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
55 help="minimum height (readno) of a cluster"/> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
56 <param name="min_block_height" type="float" value="1" label="Blockbuster parameter minBlockHeight" |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
57 help="minimum height (readno) of a block"/> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
58 <param name="scale" type="float" value="0.4" label="Blockbuster parameter scale" min="0" max="1" |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
59 help="scale stddev for a single read"/> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
60 </when> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
61 </conditional> |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
62 </inputs> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
63 <outputs> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
64 <data format="bed" name="segments_bed" from_work_dir="segments.bed" label="ChiRA aligned read segments on ${on_string}"/> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
65 <data format="tabular" name="merged_bed" from_work_dir="merged.bed" label="ChiRA merged alignments on ${on_string}"/> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
66 </outputs> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
67 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
68 <tests> |
4
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
69 <!-- Test: Merge without annotation --> |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
70 <test expect_num_outputs="2"> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
71 <param name="alignments" value="alignments.bed"/> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
72 <param name="choice" value="no" /> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
73 <output name="segments_bed" > |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
74 <assert_contents> |
4
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
75 <has_text_matching expression="ENSMUST00000160533\t69\t82\t34\|1\|2,ENSMUST00000160533,69,82,\+,42S13M\t1\t\+" /> |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
76 </assert_contents> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
77 </output> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
78 <output name="merged_bed" > |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
79 <assert_contents> |
4
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
80 <has_text_matching expression="ENSMUST00000182010\t408\t477\t\+" /> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
81 <has_text_matching expression="mmu-miR-106a-3p\t4\t15\t\+" /> |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
82 </assert_contents> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
83 </output> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
84 </test> |
4
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
85 <!-- Test: Merge with annotation --> |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
86 <test expect_num_outputs="2"> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
87 <param name="alignments" value="alignments.bed" /> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
88 <param name="choice" value="yes" /> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
89 <param name="gtf" value="annotation.gtf" /> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
90 <output name="segments_bed" > |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
91 <assert_contents> |
4
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
92 <has_text_matching expression="5\t137142331\t137142344\t34\|1\|2,ENSMUST00000160533,69,82,\+,42S13M\t1\t-" /> |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
93 </assert_contents> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
94 </output> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
95 <output name="merged_bed" > |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
96 <assert_contents> |
4
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
97 <has_text_matching expression="17\t39846957\t39847016\t\+" /> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
98 <has_text_matching expression="5\t137142331\t137142344\t-" /> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
99 </assert_contents> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
100 </output> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
101 </test> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
102 <!-- Test: Merge using blockbuster --> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
103 <test expect_num_outputs="2"> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
104 <param name="alignments" value="alignments.bed" /> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
105 <param name="choice" value="yes" /> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
106 <param name="gtf" value="annotation.gtf" /> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
107 <param name="mode" value="blockbuster" /> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
108 <param name="min_cluster_height" value="5" /> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
109 <output name="segments_bed" > |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
110 <assert_contents> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
111 <has_text_matching expression="5\t137142331\t137142344\t34\|1\|2,ENSMUST00000160533,69,82,\+,42S13M\t1\t-" /> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
112 </assert_contents> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
113 </output> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
114 <output name="merged_bed" > |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
115 <assert_contents> |
0170de5072d4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit aafb8e5de9023eeddd7f4683909f418ef5aae086"
iuc
parents:
1
diff
changeset
|
116 <has_text_matching expression="17\t39846957\t39847016\t\+" /> |
0
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
117 </assert_contents> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
118 </output> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
119 </test> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
120 </tests> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
121 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
122 <help> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
123 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
124 .. class:: infomark |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
125 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
126 **What it does** |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
127 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
128 This tool merges the overlapping aligned positions to define the read concentrated loci. If an annotation GTF file produced, the transcriptomic alignment positions are first converted to their corresponding genomic positions. |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
129 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
130 **Inputs** |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
131 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
132 * Alignments in BED format |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
133 * An annotation GTF file contaning reference genomic positions. |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
134 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
135 **Output** |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
136 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
137 * BED file containing the alignments with reads categorized into segments depending on which part of the read is aligned. |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
138 * Tabular file containing merged alignments. 4th column contains all the alignments merged into that location. |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
139 |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
140 </help> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
141 <expand macro="citations" /> |
5db894671434
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
142 </tool> |