5
|
1 <tool id="plant_tribes_assembly_post_processor" name="Postprocess de novo assembly transcripts" version="0.3">
|
|
2 <description>into putative coding sequences</description>
|
0
|
3 <requirements>
|
5
|
4 <requirement type="package" version="0.3">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[
|
|
16 AssemblyPostProcesser
|
|
17 --transcripts "$input"
|
|
18 --prediction_method $prediction_method_cond.prediction_method
|
|
19 #if str($prediction_method_cond.prediction_method) == 'estscan':
|
|
20 --score_matrices "$score_matrices"
|
|
21 #end if
|
|
22 #if str($options_type.options_type_selector) == 'advanced':
|
|
23 #if str($options_type.target_gene_family_assembly_cond.target_gene_family_assembly) == 'yes':
|
|
24 --gene_family_search "$options_type.target_gene_family_assembly_cond.orthogroups"
|
6
|
25 --scaffold_dir "${GALAXY_DATA_INDEX_DIR}/plant_tribes/scaffolds"
|
0
|
26 --scaffold "$options_type.target_gene_family_assembly_cond.scaffold"
|
|
27 --method "$options_type.target_gene_family_assembly_cond.method"
|
|
28 #end if
|
|
29 --gap_trimming $options_type.gap_trimming
|
|
30 #if str($options_type.strand_specific) == 'yes':
|
|
31 --strand_specific
|
|
32 #end if
|
|
33 #if str($options_type.dereplicate) == 'yes':
|
|
34 --dereplicate
|
|
35 #end if
|
|
36 --min_length $options_type.min_length
|
|
37 #end if
|
|
38 --num_threads \${GALAXY_SLOTS:-4}
|
|
39 ]]>
|
|
40 </command>
|
|
41 <inputs>
|
|
42 <param name="input" format="fasta" type="data" label="De novo transcriptome assembly fasta file"/>
|
|
43 <conditional name="prediction_method_cond">
|
|
44 <param name="prediction_method" type="select" label="Prediction method for coding regions">
|
|
45 <option value="transdecoder" selected="true">TransDecoder</option>
|
|
46 <option value="estscan">ESTScan</option>
|
|
47 </param>
|
|
48 <when value="transdecoder" />
|
|
49 <when value="estscan">
|
|
50 <param name="score_matrices" format="smat" type="data" label="Scores matrices"/>
|
|
51 </when>
|
|
52 </conditional>
|
|
53 <conditional name="options_type">
|
|
54 <param name="options_type_selector" type="select" label="Options Configuration">
|
|
55 <option value="basic" selected="true">Basic</option>
|
|
56 <option value="advanced">Advanced</option>
|
|
57 </param>
|
|
58 <when value="basic" />
|
|
59 <when value="advanced">
|
|
60 <conditional name="target_gene_family_assembly_cond">
|
|
61 <param name="target_gene_family_assembly" type="select" label="Target gene family assembly?">
|
|
62 <option value="no" selected="true">No</option>
|
|
63 <option value="yes">Yes</option>
|
|
64 </param>
|
|
65 <when value="no" />
|
|
66 <when value="yes">
|
|
67 <param name="orthogroups" format="tabular" type="data" label="List of orthogroup identifiers for target gene families to assemble"/>
|
|
68 <param name="scaffold" type="select" label="Orthogroups or gene families proteins scaffold">
|
|
69 <options from_data_table="plant_tribes_scaffolds" />
|
|
70 <validator type="no_options" message="No PlantTribes scaffolds are available. Use the PlantTribes Scaffolds Download Data Manager tool to install and populate the PlantTribes scaffolds data table."/>
|
|
71 </param>
|
|
72 <param name="method" type="select" label="Protein clustering method">
|
|
73 <option value="gfam" selected="true">GFam</option>
|
|
74 <option value="orthofinder">OrthoFinder</option>
|
|
75 <option value="orthomcl">OrthoMCL</option>
|
|
76 </param>
|
|
77 </when>
|
|
78 </conditional>
|
3
|
79 <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
|
80 <param name="strand_specific" type="select" label="De novo transcriptome assembly was performed with strand-specific library?">
|
|
81 <option value="no" selected="true">No</option>
|
|
82 <option value="yes">Yes</option>
|
|
83 </param>
|
|
84 <param name="dereplicate" type="select" label="Remove repeated sequences in predicted coding regions?">
|
|
85 <option value="no" selected="true">No</option>
|
|
86 <option value="yes">Yes</option>
|
|
87 </param>
|
|
88 <param name="min_length" type="integer" value="200" label="Minimum sequence length of predicted coding regions"/>
|
|
89 </when>
|
|
90 </conditional>
|
|
91 </inputs>
|
|
92 <outputs>
|
|
93 <collection name="transcripts" type="list">
|
1
|
94 <discover_datasets pattern="__name__" directory="assemblyPostProcessing_dir" visible="true" ext="fasta" />
|
0
|
95 </collection>
|
|
96 </outputs>
|
|
97 <tests>
|
|
98 <test>
|
|
99 <param name="input" value="assembly.fasta" ftype="fasta" />
|
|
100 <param name="prediction_method" value="transdecoder" />
|
6
|
101 <param name="options_type_selector" value="basic" />
|
|
102 <output_collection name="transcripts" type="list">
|
7
|
103 <element name="transcripts.cds" file="transcripts.cds" ftype="fasta" compare="contains"/>
|
|
104 <element name="transcripts.cleaned.cds" file="transcripts.cleaned.cds" ftype="fasta" compare="contains"/>
|
|
105 <element name="transcripts.cleaned.pep" file="transcripts.cleaned.pep1" ftype="fasta" compare="contains"/>
|
|
106 <element name="transcripts.pep" file="transcripts.pep" ftype="fasta" compare="contains"/>
|
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">
|
7
|
117 <element name="transcripts.cds" file="transcripts.cds" ftype="fasta" compare="contains"/>
|
|
118 <element name="transcripts.cleaned.cds" file="transcripts.cleaned.cds" ftype="fasta" compare="contains"/>
|
|
119 <element name="transcripts.cleaned.nr.cds" file="transcripts.cleaned.cds" ftype="fasta" compare="contains"/>
|
|
120 <element name="transcripts.cleaned.nr.pep" file="transcripts.cleaned.pep" ftype="fasta" compare="contains"/>
|
|
121 <element name="transcripts.cleaned.pep" file="transcripts.cleaned.pep2" ftype="fasta" compare="contains"/>
|
|
122 <element name="transcripts.pep" file="transcripts.pep" ftype="fasta" compare="contains"/>
|
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.
|
0
|
139 * **Orthogroups or gene families proteins scaffold** - PlantTribes scaffolds data.
|
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>
|
|
148 <citation type="bibtex">
|
|
149 @unpublished{None,
|
5
|
150 author = {Eric Wafula},
|
0
|
151 title = {None},
|
|
152 year = {None},
|
|
153 eprint = {None},
|
|
154 url = {None}
|
|
155 }</citation>
|
|
156 </citations>
|
|
157 </tool>
|