root/galaxy-central/tools/maf/maf_limit_to_species.xml

リビジョン 2, 2.0 KB (コミッタ: hatakeyama, 14 年 前)

import galaxy-central

行番号 
1<tool id="MAF_Limit_To_Species1" name="Filter MAF blocks">
2  <description>by Species</description>
3  <command interpreter="python">maf_limit_to_species.py $species $input1 $out_file1 $allow_partial $min_species</command>
4  <inputs>
5    <param name="input1" type="data" format="maf" label="MAF file"/>
6    <param name="allow_partial" type="select" label="Exclude blocks which have missing species" >
7      <option value="1">No</option>
8      <option value="0">Yes</option>
9    </param>
10    <param name="min_species" type="select" label="Exclude blocks which have only one species" >
11      <option value="1">Yes</option>
12      <option value="0">No</option>
13    </param>
14    <param name="species" type="select" label="Species to keep" display="checkboxes" multiple="true">
15      <options>
16        <filter type="data_meta" ref="input1" key="species" />
17      </options>
18    </param>
19  </inputs>
20  <outputs>
21    <data format="maf" name="out_file1" />
22  </outputs>
23  <tests>
24    <test>
25      <param name="input1" value="4.maf"/>
26      <param name="species" value="bosTau2,canFam2,hg17,panTro1,rheMac2,rn3"/>
27      <param name="allow_partial" value="0"/>
28      <param name="min_species" value="0"/>
29      <output name="out_file1" file="cf_maf_limit_to_species.dat"/>
30    </test>
31  </tests>
32  <help>
33
34**What It Does**
35
36This tool allows the user to remove any undesired species from a MAF file. Columns which contain only gaps are removed. The options for this tool are:
37
38 * **Exclude blocks which have missing species** - suppose you want to restrict an 8-way alignment to human, mouse, and rat.  The tool will first remove all other species. Next, if this option is set to **YES** the tool WILL NOT return MAF blocks, which do not include human, mouse, or rat. This means that all alignment blocks returned by the tool will have exactly three sequences in this example.
39
40 * **Exclude blocks with have only one species** - if this option is set to **YES** all single sequence alignment blocks WILL NOT be returned.
41
42  </help>
43</tool>
44
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。