6
|
1 <tool id="plant_tribes_gene_family_integrator" name="GeneFamilyIntegrator" version="@WRAPPER_VERSION@.0">
|
8
|
2 <description>integrates gene models in pre-computed orthologous gene family clusters with classified gene coding sequences</description>
|
0
|
3 <macros>
|
|
4 <import>macros.xml</import>
|
|
5 </macros>
|
|
6 <expand macro="requirements_gene_family_integrator" />
|
|
7 <expand macro="stdio" />
|
|
8 <command>
|
|
9 <![CDATA[
|
|
10 #set input_format = $input_format_cond.input_format
|
|
11 #set scaffold = $input_format_cond.scaffold
|
|
12 #set method = $input_format_cond.method
|
|
13
|
|
14 python $__tool_directory__/gene_family_integrator.py
|
|
15 --scaffold '$scaffold.fields.path'
|
|
16 --method $method
|
|
17 #if str($input_format) == 'ptortho':
|
|
18 --orthogroup_faa '$input_format_cond.input_ptortho.extra_files_path'
|
4
|
19 --output '$output_ptortho'
|
|
20 --output_dir '$output_ptortho.files_path'
|
0
|
21 #else:
|
|
22 ## str($input_format) == 'ptorthocs'
|
|
23 --orthogroup_faa '$input_format_cond.input_ptorthocs.extra_files_path'
|
4
|
24 #if str($input_format_cond.orthogroup_fna) == 'yes':
|
0
|
25 --orthogroup_fna 'true'
|
4
|
26 --output '$output_ptorthocs'
|
|
27 --output_dir '$output_ptorthocs.files_path'
|
|
28 #else:
|
|
29 --output '$output_ptortho'
|
|
30 --output_dir '$output_ptortho.files_path'
|
0
|
31 #end if
|
|
32 #end if
|
|
33 ]]>
|
|
34 </command>
|
|
35 <inputs>
|
|
36 <conditional name="input_format_cond">
|
8
|
37 <param name="input_format" type="select" label="Classified orthogroup fasta files">
|
|
38 <option value="ptortho">Proteins orthogroup fasta files</option>
|
|
39 <option value="ptorthocs">Protein and coding sequences orthogroup fasta files</option>
|
0
|
40 </param>
|
|
41 <when value="ptortho">
|
8
|
42 <param name="input_ptortho" format="ptortho" type="data" label="Proteins orthogroup fasta files">
|
10
|
43 <validator type="empty_extra_files_path" />
|
8
|
44 </param>
|
0
|
45 <expand macro="param_scaffold" />
|
|
46 <expand macro="param_method" />
|
|
47 </when>
|
|
48 <when value="ptorthocs">
|
8
|
49 <param name="input_ptorthocs" format="ptorthocs" type="data" label="Protein and coding sequences orthogroup fasta files">
|
10
|
50 <validator type="empty_extra_files_path" />
|
8
|
51 </param>
|
0
|
52 <expand macro="param_scaffold" />
|
|
53 <expand macro="param_method" />
|
|
54 <expand macro="param_orthogroup_fna" />
|
|
55 </when>
|
|
56 </conditional>
|
|
57 </inputs>
|
|
58 <outputs>
|
4
|
59 <data name="output_ptortho" format="ptortho" label="Integrated gene family clusters on ${on_string}">
|
|
60 <filter>input_format_cond['input_format'] == 'ptortho' or (input_format_cond['input_format'] == 'ptorthocs' and input_format_cond['orthogroup_fna'] == 'no')</filter>
|
|
61 </data>
|
|
62 <data name="output_ptorthocs" format="ptorthocs" label="Integrated gene family clusters and corresponding coding sequences on ${on_string}">
|
|
63 <filter>input_format_cond['input_format'] == 'ptorthocs' and input_format_cond['orthogroup_fna'] == 'yes'</filter>
|
|
64 </data>
|
0
|
65 </outputs>
|
|
66 <tests>
|
10
|
67 <!-- Test framework does not currently support inputs whose associated extra_files_path contains files to be analyzed.
|
0
|
68 <test>
|
|
69 </test>
|
6
|
70 -->
|
0
|
71 </tests>
|
|
72 <help>
|
|
73 This tool is one of the PlantTribes collection of automated modular analysis pipelines for comparative and evolutionary
|
8
|
74 analyses of genome-scale gene families and transcriptomes. This tool integrates PlantTribes scaffold orthogroup backbone
|
|
75 gene models with gene coding sequences classified into the scaffold by the GeneFamilyClassifier tool.
|
0
|
76
|
|
77 -----
|
|
78
|
|
79 **Required options**
|
|
80
|
8
|
81 * **Classified orthogroup fasta files** - orthogroup fasta files produced by the GeneFamilyClassifier tool selected from your history. Depending on how the GeneFamilyClassifier tool was executed, these could either be proteins or proteins and their corresponding coding sequences.
|
|
82
|
|
83 * **Gene family scaffold** - one of the PlantTribes gene family scaffolds installed into Galaxy by the PlantTribes Scaffold Data Manager tool.
|
0
|
84 * **Protein clustering method** - gene family scaffold protein clustering method as described in the AssemblyPostProcessor tool.
|
|
85
|
|
86 **Other options**
|
|
87
|
11
|
88 * **Orthogroups coding sequences** - Select 'Yes' to create corresponding coding sequences orthogroup fasta files for the classified protein sequences.
|
0
|
89
|
|
90 </help>
|
|
91 <citations>
|
|
92 <expand macro="citation1" />
|
8
|
93 <citation type="bibtex">
|
|
94 @article{Wall2008,
|
|
95 journal = {Nucleic Acids Research},
|
|
96 author = {2. Wall PK, Leebens-Mack J, Muller KF, Field D, Altman NS},
|
|
97 title = {PlantTribes: a gene and gene family resource for comparative genomics in plants},
|
|
98 year = {2008},
|
|
99 volume = {36},
|
|
100 number = {suppl 1},
|
|
101 pages = {D970-D976},}
|
|
102 </citation>
|
|
103 <citation type="bibtex">
|
|
104 @article{Sasidharan2012,
|
|
105 journal = {Nucleic Acids Research},
|
|
106 author = {3. Sasidharan R, Nepusz T, Swarbreck D, Huala E, Paccanaro A},
|
|
107 title = {GFam: a platform for automatic annotation of gene families},
|
|
108 year = {2012},
|
|
109 pages = {gks631},}
|
|
110 </citation>
|
|
111 <citation type="bibtex">
|
|
112 @article{Li2003,
|
|
113 journal = {Genome Research}
|
|
114 author = {4. Li L, Stoeckert CJ, Roos DS},
|
|
115 title = {OrthoMCL: identification of ortholog groups for eukaryotic genomes},
|
|
116 year = {2003},
|
|
117 volume = {13},
|
|
118 number = {9},
|
|
119 pages = {2178-2189},}
|
|
120 </citation>
|
|
121 <citation type="bibtex">
|
|
122 @article{Emms2015,
|
|
123 journal = {Genome Biology}
|
|
124 author = {5. Emms DM, Kelly S},
|
|
125 title = {OrthoFinder: solving fundamental biases in whole genome comparisons dramatically improves orthogroup inference accuracy},
|
|
126 year = {2015},
|
|
127 volume = {16},
|
|
128 number = {1},
|
|
129 pages = {157},}
|
|
130 </citation>
|
0
|
131 </citations>
|
|
132 </tool>
|