annotate tools/maf/maf_limit_to_species.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="MAF_Limit_To_Species1" name="Filter MAF blocks">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>by Species</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">maf_limit_to_species.py $species $input1 $out_file1 $allow_partial $min_species</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param name="input1" type="data" format="maf" label="MAF file"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <param name="allow_partial" type="select" label="Exclude blocks which have missing species" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 <option value="1">No</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <option value="0">Yes</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <param name="min_species" type="select" label="Exclude blocks which have only one species" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <option value="1">Yes</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <option value="0">No</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <param name="species" type="select" label="Species to keep" display="checkboxes" multiple="true">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <options>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <filter type="data_meta" ref="input1" key="species" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 </options>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <data format="maf" name="out_file1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <param name="input1" value="4.maf"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <param name="species" value="bosTau2,canFam2,hg17,panTro1,rheMac2,rn3"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 <param name="allow_partial" value="0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <param name="min_species" value="0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <output name="out_file1" file="cf_maf_limit_to_species.dat"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 **What It Does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 This 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:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
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.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 * **Exclude blocks with have only one species** - if this option is set to **YES** all single sequence alignment blocks WILL NOT be returned.
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>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51