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