annotate maf_stats.xml @ 0:5a92f4c476b5 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
author iuc
date Thu, 13 Aug 2020 09:30:47 -0400
parents
children 0c84cce7b030
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
1 <tool id="maf_stats1" name="MAF Coverage Stats" version="1.0.1">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
2 <description>Alignment coverage information</description>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
3 <command>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
4 <![CDATA[
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
5 #if $maf_source_type.maf_source == 'cached'
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
6 #set $tab = '\t'
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
7 echo '$maf_source_type.mafType.fields.name${tab}$maf_source_type.mafType.fields.value${tab}$maf_source_type.mafType.fields.indexed_for${tab}$maf_source_type.mafType.fields.exists_in_maf${tab}$maf_source_type.mafType.fields.path' >> ./maf_index.loc &&
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
8 #end if
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
9 python '$__tool_directory__/maf_stats.py' $maf_source_type.maf_source
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
10 #if $maf_source_type.maf_source == 'user':
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
11 '$input2'
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
12 #else:
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
13 $maf_source_type.mafType.fields.value
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
14 #end if
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
15 '$input1' '$out_file1' $dbkey ${input1.metadata.chromCol} ${input1.metadata.startCol} ${input1.metadata.endCol} $summary '.'
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
16 #if $maf_source_type.maf_source == 'user':
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
17 '$input2.metadata.maf_index'
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
18 #end if
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
19 ]]>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
20 </command>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
21 <inputs>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
22 <param format="interval" name="input1" label="Interval File" type="data">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
23 <validator type="unspecified_build" />
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
24 </param>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
25 <conditional name="maf_source_type">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
26 <param name="maf_source" type="select" label="MAF Source">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
27 <option value="cached" selected="true">Locally Cached Alignments</option>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
28 <option value="user">Alignments in Your History</option>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
29 </param>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
30 <when value="user">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
31 <param format="maf" name="input2" label="Choose alignments" type="data">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
32 <options>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
33 <filter type="data_meta" ref="input1" key="dbkey" />
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
34 </options>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
35 <validator type="dataset_ok_validator" />
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
36 </param>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
37 <param name="species" type="select" display="checkboxes" multiple="true" label="Choose species" help="Select species to be included in the final alignment">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
38 <options>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
39 <filter type="data_meta" ref="input2" key="species" />
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
40 </options>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
41 </param>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
42 </when>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
43 <when value="cached">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
44 <param name="mafType" type="select" label="Choose alignments">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
45 <options from_data_table="maf_indexes">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
46 <column name="name" index="0"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
47 <column name="value" index="1"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
48 <column name="indexed_for" index="2"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
49 <column name="exists_in_maf" index="3" />
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
50 <column name="path" index="4" />
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
51 <filter type="data_meta" ref="input1" key="dbkey" column="2" multiple="True" separator=","/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
52 <validator type="no_options" message="No alignments are available for the build associated with the selected interval file"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
53 </options>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
54 </param>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
55 <param name="species" type="select" display="checkboxes" multiple="true" label="Choose species" help="Select species to be included in the final alignment">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
56 <options from_data_table="maf_indexes">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
57 <column name="value" index="3"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
58 <filter type="multiple_splitter" column="3" separator=","/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
59 </options>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
60 </param>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
61 </when>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
62 </conditional>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
63 <param name="summary" type="select" label="Type of Output">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
64 <option value="false" selected="true">Coverage by Region</option>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
65 <option value="true">Summarize Coverage</option>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
66 </param>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
67 </inputs>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
68 <outputs>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
69 <data format="interval" name="out_file1" metadata_source="input1">
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
70 <change_format>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
71 <when input="summary" value="true" format="tabular" />
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
72 </change_format>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
73 </data>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
74 </outputs>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
75 <tests>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
76 <test>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
77 <param name="input1" value="maf_stats-in1.bed" dbkey="hg38" ftype="bed"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
78 <param name="maf_source" value="cached"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
79 <param name="mafType" value="TEST"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
80 <output name="out_file1" file="maf_stats-out1.dat"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
81 <param name="summary" value="false"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
82 </test>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
83 <test>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
84 <param name="input1" value="maf_stats-in2.bed" dbkey="hg38" ftype="bed"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
85 <param name="maf_source" value="cached"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
86 <param name="mafType" value="TEST"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
87 <output name="out_file1" file="maf_stats-out2.dat"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
88 <param name="summary" value="true"/>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
89 </test>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
90 </tests>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
91 <help>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
92 **What it does**
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
93
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
94 This tool takes a MAF file and an interval file and relates coverage information by interval for each species.
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
95 If a column does not exist in the reference genome, it is not included in the output.
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
96
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
97 Consider the interval: "chrX 1000 1100 myInterval"
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
98 Let's suppose we want to do stats on three way alignments for H, M, and R. The result look like this:
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
99
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
100 chrX 1000 1100 myInterval H XXX YYY
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
101
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
102 chrX 1000 1100 myInterval M XXX YYY
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
103
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
104 chrX 1000 1100 myInterval R XXX YYY
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
105
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
106
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
107 where XXX and YYY are:
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
108
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
109 XXX = number of nucleotides
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
110
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
111 YYY = number of gaps
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
112
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
113 ----
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
114
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
115 Alternatively, you can request only summary information for a set of intervals:
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
116
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
117 ======== =========== ========
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
118 #species nucleotides coverage
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
119 ======== =========== ========
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
120 hg18 30639 0.2372
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
121 rheMac2 7524 0.0582
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
122 panTro2 30390 0.2353
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
123 ======== =========== ========
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
124
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
125 where **coverage** is the number of nucleotides divided by the total length of the provided intervals.
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
126 </help>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
127 <citations>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
128 <citation type="doi">10.1093/bioinformatics/btr398</citation>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
129 </citations>
5a92f4c476b5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/interval2maf/ commit f7b04f8c6edca90b1e9bc867a1569996aec76d7a"
iuc
parents:
diff changeset
130 </tool>