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 - **Proteins orthogroup fasta files** - proteins fasta files.
|
|
84 - **Protein and coding sequences orthogroup fasta files** - proteins and their corresponding coding sequences fasta files.
|
|
85
|
|
86 * **Gene family scaffold** - one of the PlantTribes gene family scaffolds installed into Galaxy by the PlantTribes Scaffold Data Manager tool.
|
0
|
87 * **Protein clustering method** - gene family scaffold protein clustering method as described in the AssemblyPostProcessor tool.
|
|
88
|
|
89 **Other options**
|
|
90
|
8
|
91 * **Orthogroups coding sequences** - Select 'Yes' to create corresponding coding sequences orthogroups fasta files for the classified protein sequences.
|
0
|
92
|
|
93 </help>
|
|
94 <citations>
|
|
95 <expand macro="citation1" />
|
8
|
96 <citation type="bibtex">
|
|
97 @article{Wall2008,
|
|
98 journal = {Nucleic Acids Research},
|
|
99 author = {2. Wall PK, Leebens-Mack J, Muller KF, Field D, Altman NS},
|
|
100 title = {PlantTribes: a gene and gene family resource for comparative genomics in plants},
|
|
101 year = {2008},
|
|
102 volume = {36},
|
|
103 number = {suppl 1},
|
|
104 pages = {D970-D976},}
|
|
105 </citation>
|
|
106 <citation type="bibtex">
|
|
107 @article{Sasidharan2012,
|
|
108 journal = {Nucleic Acids Research},
|
|
109 author = {3. Sasidharan R, Nepusz T, Swarbreck D, Huala E, Paccanaro A},
|
|
110 title = {GFam: a platform for automatic annotation of gene families},
|
|
111 year = {2012},
|
|
112 pages = {gks631},}
|
|
113 </citation>
|
|
114 <citation type="bibtex">
|
|
115 @article{Li2003,
|
|
116 journal = {Genome Research}
|
|
117 author = {4. Li L, Stoeckert CJ, Roos DS},
|
|
118 title = {OrthoMCL: identification of ortholog groups for eukaryotic genomes},
|
|
119 year = {2003},
|
|
120 volume = {13},
|
|
121 number = {9},
|
|
122 pages = {2178-2189},}
|
|
123 </citation>
|
|
124 <citation type="bibtex">
|
|
125 @article{Emms2015,
|
|
126 journal = {Genome Biology}
|
|
127 author = {5. Emms DM, Kelly S},
|
|
128 title = {OrthoFinder: solving fundamental biases in whole genome comparisons dramatically improves orthogroup inference accuracy},
|
|
129 year = {2015},
|
|
130 volume = {16},
|
|
131 number = {1},
|
|
132 pages = {157},}
|
|
133 </citation>
|
0
|
134 </citations>
|
|
135 </tool>
|