annotate tools/maf/interval2maf_pairwise.xml @ 0:9071e359b9a3

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:37:19 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="Interval2Maf_pairwise1" name="Extract Pairwise MAF blocks" version="1.0.1">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>given a set of genomic intervals</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">interval2maf.py --dbkey=${input1.dbkey} --chromCol=${input1.metadata.chromCol} --startCol=${input1.metadata.startCol} --endCol=${input1.metadata.endCol} --strandCol=${input1.metadata.strandCol} --mafType=$mafType --interval_file=$input1 --output_file=$out_file1 --indexLocation=${GALAXY_DATA_INDEX_DIR}/maf_pairwise.loc</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param name="input1" type="data" format="interval" label="Interval File">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <validator type="unspecified_build" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <param name="mafType" type="select" label="Choose MAF source">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <options from_file="maf_pairwise.loc">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <column name="name" index="0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <column name="value" index="1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <column name="dbkey" index="2"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <column name="species" index="3"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <filter type="data_meta" ref="input1" key="dbkey" column="2" multiple="True" separator=","/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <validator type="no_options" message="No alignments are available for the build associated with the selected interval file"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 </options>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <data format="maf" name="out_file1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <param name="input1" value="8.bed" dbkey="hg17" format="bed"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <param name="mafType" value="PAIRWISE_hg17_fr1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <output name="out_file1" file="Interval2Maf_pairwise_out.maf"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 This tool takes genomic coordinates, superimposes them on pairwise alignments (in MAF format) stored on the Galaxy site, and excises alignment blocks corresponding to each set of coordinates. Alignment blocks that extend past START and/or END positions of an interval are trimmed. Note that a single genomic interval may correspond to two or more alignment blocks.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 Here a single interval is superimposed on three MAF blocks. Blocks 1 and 3 are trimmed because they extend beyond boundaries of the interval:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 .. image:: ./static/images/maf_icons/interval2maf.png
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 **Citation**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 If you use this tool, please cite `Blankenberg D, Taylor J, Nekrutenko A; The Galaxy Team. Making whole genome multiple alignments usable for biologists. Bioinformatics. 2011 Sep 1;27(17):2426-2428. &lt;http://www.ncbi.nlm.nih.gov/pubmed/21775304&gt;`_
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 </tool>