PageRenderTime 25ms CodeModel.GetById 19ms app.highlight 4ms RepoModel.GetById 0ms app.codeStats 0ms

/tools/maf/interval2maf_pairwise.xml

https://bitbucket.org/ialbert/galaxy-genetrack
XML | 43 lines | 37 code | 6 blank | 0 comment | 0 complexity | 230a8620740b0de1c982253edbd30dab MD5 | raw file
 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
32This 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
38Here 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  </help>
43</tool>