24
|
1 <tool id="plant_tribes_assembly_post_processor" name="Postprocess de novo assembly transcripts" version="0.4.0">
|
5
|
2 <description>into putative coding sequences</description>
|
0
|
3 <requirements>
|
14
|
4 <requirement type="package" version="0.4">plant_tribes_assembly_post_processor</requirement>
|
0
|
5 </requirements>
|
|
6 <stdio>
|
|
7 <!-- Anything other than zero is an error -->
|
|
8 <exit_code range="1:" />
|
6
|
9 <exit_code range=":-1" />
|
|
10 <!-- In case the return code has not been set propery check stderr too -->
|
0
|
11 <regex match="Error:" />
|
|
12 <regex match="Exception:" />
|
|
13 </stdio>
|
|
14 <command>
|
|
15 <![CDATA[
|
15
|
16 #import os
|
0
|
17 AssemblyPostProcesser
|
15
|
18 --transcripts '$input'
|
0
|
19 --prediction_method $prediction_method_cond.prediction_method
|
|
20 #if str($prediction_method_cond.prediction_method) == 'estscan':
|
15
|
21 --score_matrices '$score_matrices'
|
0
|
22 #end if
|
|
23 #if str($options_type.options_type_selector) == 'advanced':
|
|
24 #if str($options_type.target_gene_family_assembly_cond.target_gene_family_assembly) == 'yes':
|
24
|
25 --config_dir '$options_type.target_gene_family_assembly_cond.scaffold.fields.path'
|
15
|
26 --gene_family_search '$options_type.target_gene_family_assembly_cond.orthogroups'
|
21
|
27 --scaffold '$options_type.target_gene_family_assembly_cond.scaffold.fields.path'
|
15
|
28 --method '$options_type.target_gene_family_assembly_cond.method'
|
0
|
29 #end if
|
|
30 --gap_trimming $options_type.gap_trimming
|
|
31 #if str($options_type.strand_specific) == 'yes':
|
|
32 --strand_specific
|
|
33 #end if
|
|
34 #if str($options_type.dereplicate) == 'yes':
|
|
35 --dereplicate
|
|
36 #end if
|
|
37 --min_length $options_type.min_length
|
|
38 #end if
|
|
39 --num_threads \${GALAXY_SLOTS:-4}
|
|
40 ]]>
|
|
41 </command>
|
|
42 <inputs>
|
|
43 <param name="input" format="fasta" type="data" label="De novo transcriptome assembly fasta file"/>
|
|
44 <conditional name="prediction_method_cond">
|
|
45 <param name="prediction_method" type="select" label="Prediction method for coding regions">
|
|
46 <option value="transdecoder" selected="true">TransDecoder</option>
|
|
47 <option value="estscan">ESTScan</option>
|
|
48 </param>
|
|
49 <when value="transdecoder" />
|
|
50 <when value="estscan">
|
|
51 <param name="score_matrices" format="smat" type="data" label="Scores matrices"/>
|
|
52 </when>
|
|
53 </conditional>
|
|
54 <conditional name="options_type">
|
|
55 <param name="options_type_selector" type="select" label="Options Configuration">
|
|
56 <option value="basic" selected="true">Basic</option>
|
|
57 <option value="advanced">Advanced</option>
|
|
58 </param>
|
|
59 <when value="basic" />
|
|
60 <when value="advanced">
|
|
61 <conditional name="target_gene_family_assembly_cond">
|
|
62 <param name="target_gene_family_assembly" type="select" label="Target gene family assembly?">
|
|
63 <option value="no" selected="true">No</option>
|
|
64 <option value="yes">Yes</option>
|
|
65 </param>
|
|
66 <when value="no" />
|
|
67 <when value="yes">
|
|
68 <param name="orthogroups" format="tabular" type="data" label="List of orthogroup identifiers for target gene families to assemble"/>
|
|
69 <param name="scaffold" type="select" label="Orthogroups or gene families proteins scaffold">
|
|
70 <options from_data_table="plant_tribes_scaffolds" />
|
10
|
71 <validator type="no_options" message="No PlantTribes scaffolds are available. Use the PlantTribes Scaffolds Download Data Manager tool in Galaxy to install and populate the PlantTribes scaffolds data table."/>
|
0
|
72 </param>
|
|
73 <param name="method" type="select" label="Protein clustering method">
|
|
74 <option value="gfam" selected="true">GFam</option>
|
|
75 <option value="orthofinder">OrthoFinder</option>
|
|
76 <option value="orthomcl">OrthoMCL</option>
|
|
77 </param>
|
|
78 </when>
|
|
79 </conditional>
|
3
|
80 <param name="gap_trimming" type="float" value="0.1" min="0" max="1.0" label="Remove sites in alignments with gaps of" help="0.1 removes sites with 90% gaps"/>
|
0
|
81 <param name="strand_specific" type="select" label="De novo transcriptome assembly was performed with strand-specific library?">
|
|
82 <option value="no" selected="true">No</option>
|
|
83 <option value="yes">Yes</option>
|
|
84 </param>
|
|
85 <param name="dereplicate" type="select" label="Remove repeated sequences in predicted coding regions?">
|
|
86 <option value="no" selected="true">No</option>
|
|
87 <option value="yes">Yes</option>
|
|
88 </param>
|
|
89 <param name="min_length" type="integer" value="200" label="Minimum sequence length of predicted coding regions"/>
|
|
90 </when>
|
|
91 </conditional>
|
|
92 </inputs>
|
|
93 <outputs>
|
|
94 <collection name="transcripts" type="list">
|
1
|
95 <discover_datasets pattern="__name__" directory="assemblyPostProcessing_dir" visible="true" ext="fasta" />
|
0
|
96 </collection>
|
|
97 </outputs>
|
|
98 <tests>
|
|
99 <test>
|
|
100 <param name="input" value="assembly.fasta" ftype="fasta" />
|
|
101 <param name="prediction_method" value="transdecoder" />
|
6
|
102 <output_collection name="transcripts" type="list">
|
15
|
103 <element name="transcripts.cds" file="transcripts.cds" ftype="fasta"/>
|
|
104 <element name="transcripts.cleaned.cds" file="transcripts.cleaned.cds" ftype="fasta"/>
|
16
|
105 <element name="transcripts.cleaned.pep" file="transcripts.cleaned.pep" ftype="fasta"/>
|
15
|
106 <element name="transcripts.pep" file="transcripts.pep" ftype="fasta"/>
|
6
|
107 </output_collection>
|
|
108 </test>
|
|
109 <test>
|
|
110 <param name="input" value="assembly.fasta" ftype="fasta" />
|
|
111 <param name="prediction_method" value="transdecoder" />
|
0
|
112 <param name="options_type_selector" value="advanced" />
|
7
|
113 <param name="gap_trimming" value="0.1" />
|
0
|
114 <param name="dereplicate" value="yes" />
|
7
|
115 <param name="min_length" value="200" />
|
0
|
116 <output_collection name="transcripts" type="list">
|
16
|
117 <element name="transcripts.cds" file="transcripts.cds" ftype="fasta"/>
|
|
118 <element name="transcripts.cleaned.cds" file="transcripts.cleaned.cds" ftype="fasta"/>
|
|
119 <element name="transcripts.cleaned.nr.cds" file="transcripts.cleaned.nr.cds" ftype="fasta"/>
|
|
120 <element name="transcripts.cleaned.nr.pep" file="transcripts.cleaned.nr.pep" ftype="fasta"/>
|
|
121 <element name="transcripts.cleaned.pep" file="transcripts.cleaned.pep" ftype="fasta"/>
|
|
122 <element name="transcripts.pep" file="transcripts.pep" ftype="fasta"/>
|
0
|
123 </output_collection>
|
|
124 </test>
|
|
125 </tests>
|
|
126 <help>
|
|
127 This tool is one of the PlantTribes' collection of automated modular analysis pipelines that utilize objective classifications of
|
5
|
128 complete protein sequences from sequenced plant genomes to perform comparative evolutionary studies. It postprocesses de novo assembly
|
|
129 transcripts into putative coding sequences and their corresponding amino acid translations, locally assembling targeted gene families.
|
0
|
130
|
|
131 -----
|
|
132
|
|
133 **Options**
|
|
134
|
|
135 * **Prediction method for coding regions** - The prediction method for coding regions; one of ESTScan or TransDecoder.
|
|
136 * **Scores matrices** - Scores matrices that reflect the codons preferences in the studied organisms.
|
5
|
137 * **Target gene family assembly?** - Select 'Yes' to target gene families to assemble.
|
|
138 * **List of orthogroup identifiers for target gene families to assemble** - History item with a list of orthogroup identifiers for target gene families to assemble.
|
23
|
139 * **Orthogroups or gene families proteins scaffold** - PlantTribes scaffolds data installed into Galaxy by the PlantTribes Scaffolds Download Data Manager tool.
|
5
|
140 * **Protein clustering method** - One of GFam (domain architecture based clustering), OrthoFinder (broadly defined clusters) or OrthoMCL (narrowly defined clusters).
|
|
141 * **Remove sites in alignments with gaps of** - Removes gappy sites in alignments (i.e. 0.1 removes sites with 90% gaps): [0.0 to 1.0]
|
|
142 * **De novo transcriptome assembly was performed with strand-specific library?** - Select 'Yes' if de novo transcriptome assembly was performed with strand-specific library.
|
0
|
143 * **Remove repeated sequences in predicted coding regions?** - Select yes to remove repeated sequences in predicted coding regions.
|
|
144 * **Minimum sequence length of predicted coding regions** - Set the minimum sequence length of predicted coding regions.
|
|
145
|
|
146 </help>
|
|
147 <citations>
|
24
|
148 <citation type="bibtex">
|
|
149 @unpublished{None,
|
|
150 author = {Eric Wafula},
|
|
151 title = {None},
|
|
152 year = {None},
|
|
153 url = {https://github.com/dePamphilis/PlantTribes}
|
|
154 }</citation>
|
|
155 <citation type="bibtex">
|
|
156 @published{Proc Int Conf Intell Syst Mol Biol,
|
|
157 author = {Iseli C, Jongeneel CV, Bucher P.},
|
|
158 title = {ESTScan: a program for detecting, evaluating, and reconstructing potential coding regions in EST sequences.},
|
|
159 year = {1999},
|
|
160 url = {http://estscan.sourceforge.net/}
|
|
161 }</citation>
|
|
162 <citation type="doi">10.1038/nprot.2013.084</citation>
|
|
163 <citation type="doi">10.1109/tcbb.2013.68</citation>
|
|
164 <citation type="bibtex">
|
|
165 @unpublished{None,
|
|
166 author = {None},
|
|
167 title = {HMMER 3.1+ hmmscan search sequence(s) against a profile database},
|
|
168 year = {2013},
|
|
169 url = {http://hmmer.org/}
|
|
170 }</citation>
|
|
171 <citation type="bibtex">
|
|
172 @published{Genome Research,
|
|
173 author = {Huang X, Madan A},
|
|
174 title = {CAP3: A DNA sequence assembly program},
|
|
175 year = {1999},
|
|
176 url = {http://seq.cs.iastate.edu/cap3.html}
|
|
177 }</citation>
|
0
|
178 </citations>
|
|
179 </tool>
|