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

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:37:19 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:9071e359b9a3
1 <tool id="Interval2Maf_pairwise1" name="Extract Pairwise MAF blocks" version="1.0.1">
2 <description>given a set of genomic intervals</description>
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>
4 <inputs>
5 <param name="input1" type="data" format="interval" label="Interval File">
6 <validator type="unspecified_build" />
7 </param>
8 <param name="mafType" type="select" label="Choose MAF source">
9 <options from_file="maf_pairwise.loc">
10 <column name="name" index="0"/>
11 <column name="value" index="1"/>
12 <column name="dbkey" index="2"/>
13 <column name="species" index="3"/>
14 <filter type="data_meta" ref="input1" key="dbkey" column="2" multiple="True" separator=","/>
15 <validator type="no_options" message="No alignments are available for the build associated with the selected interval file"/>
16 </options>
17 </param>
18 </inputs>
19 <outputs>
20 <data format="maf" name="out_file1" />
21 </outputs>
22 <tests>
23 <test>
24 <param name="input1" value="8.bed" dbkey="hg17" format="bed"/>
25 <param name="mafType" value="PAIRWISE_hg17_fr1"/>
26 <output name="out_file1" file="Interval2Maf_pairwise_out.maf"/>
27 </test>
28 </tests>
29 <help>
30 **What it does**
31
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.
33
34 -----
35
36 **Example**
37
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:
39
40 .. image:: ./static/images/maf_icons/interval2maf.png
41
42 ------
43
44 **Citation**
45
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;`_
47
48
49 </help>
50 </tool>