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