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>
|
19
|
58 <data name="output_ptortho" format="ptortho" label="${tool.name} (integrated gene family clusters) on ${on_string}">
|
4
|
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>
|
21
|
61 <data name="output_ptorthocs" format="ptorthocs" label="${tool.name} (integrated gene family clusters) on ${on_string}">
|
4
|
62 <filter>input_format_cond['input_format'] == 'ptorthocs' and input_format_cond['orthogroup_fna'] == 'yes'</filter>
|
|
63 </data>
|
0
|
64 </outputs>
|
|
65 <tests>
|
|
66 <test>
|
19
|
67 <param name="input_format" value="ptorthocs"/>
|
|
68 <param name="input_ptorthocs" value="input.ptorthocs" ftype="ptorthocs"/>
|
|
69 <param name="scaffold" value="22Gv1.1"/>
|
|
70 <param name="method" value="orthomcl"/>
|
|
71 <param name="classifier" value="both"/>
|
|
72 <param name="orthogroup_fna" value="yes"/>
|
|
73 <output name="output_ptorthocs" file="output.ptorthocs" ftype="ptorthocs"/>
|
0
|
74 </test>
|
|
75 </tests>
|
|
76 <help>
|
|
77 This tool is one of the PlantTribes collection of automated modular analysis pipelines for comparative and evolutionary
|
8
|
78 analyses of genome-scale gene families and transcriptomes. This tool integrates PlantTribes scaffold orthogroup backbone
|
|
79 gene models with gene coding sequences classified into the scaffold by the GeneFamilyClassifier tool.
|
0
|
80
|
|
81 -----
|
|
82
|
|
83 **Required options**
|
|
84
|
8
|
85 * **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.
|
|
86
|
|
87 * **Gene family scaffold** - one of the PlantTribes gene family scaffolds installed into Galaxy by the PlantTribes Scaffold Data Manager tool.
|
0
|
88 * **Protein clustering method** - gene family scaffold protein clustering method as described in the AssemblyPostProcessor tool.
|
|
89
|
|
90 **Other options**
|
|
91
|
11
|
92 * **Orthogroups coding sequences** - Select 'Yes' to create corresponding coding sequences orthogroup fasta files for the classified protein sequences.
|
0
|
93
|
|
94 </help>
|
|
95 <citations>
|
|
96 <expand macro="citation1" />
|
8
|
97 <citation type="bibtex">
|
|
98 @article{Wall2008,
|
|
99 journal = {Nucleic Acids Research},
|
|
100 author = {2. Wall PK, Leebens-Mack J, Muller KF, Field D, Altman NS},
|
|
101 title = {PlantTribes: a gene and gene family resource for comparative genomics in plants},
|
|
102 year = {2008},
|
|
103 volume = {36},
|
|
104 number = {suppl 1},
|
|
105 pages = {D970-D976},}
|
|
106 </citation>
|
|
107 <citation type="bibtex">
|
|
108 @article{Sasidharan2012,
|
|
109 journal = {Nucleic Acids Research},
|
|
110 author = {3. Sasidharan R, Nepusz T, Swarbreck D, Huala E, Paccanaro A},
|
|
111 title = {GFam: a platform for automatic annotation of gene families},
|
|
112 year = {2012},
|
|
113 pages = {gks631},}
|
|
114 </citation>
|
|
115 <citation type="bibtex">
|
|
116 @article{Li2003,
|
|
117 journal = {Genome Research}
|
|
118 author = {4. Li L, Stoeckert CJ, Roos DS},
|
|
119 title = {OrthoMCL: identification of ortholog groups for eukaryotic genomes},
|
|
120 year = {2003},
|
|
121 volume = {13},
|
|
122 number = {9},
|
|
123 pages = {2178-2189},}
|
|
124 </citation>
|
|
125 <citation type="bibtex">
|
|
126 @article{Emms2015,
|
|
127 journal = {Genome Biology}
|
|
128 author = {5. Emms DM, Kelly S},
|
|
129 title = {OrthoFinder: solving fundamental biases in whole genome comparisons dramatically improves orthogroup inference accuracy},
|
|
130 year = {2015},
|
|
131 volume = {16},
|
|
132 number = {1},
|
|
133 pages = {157},}
|
|
134 </citation>
|
0
|
135 </citations>
|
|
136 </tool>
|