Mercurial > repos > greg > plant_tribes_assembly_post_processor
annotate assembly_post_processor.xml @ 11:2c2ad8af0a4e draft default tip
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
author | greg |
---|---|
date | Wed, 12 Jun 2024 19:29:25 +0000 |
parents | 4d73965d99a2 |
children |
rev | line source |
---|---|
11
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
1 <tool id="plant_tribes_assembly_post_processor" name="AssemblyPostProcessor" version="@TOOL_VERSION@.4.0+galaxy0" profile="18.09"> |
0 | 2 <description>post-processes de novo transcriptome assembly</description> |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
4 | 6 <requirements> |
9 | 7 <requirement type="package" version="1.0.4">plant_tribes_assembly_post_processor</requirement> |
4 | 8 </requirements> |
6 | 9 <code file="get_clustering_methods.py"/> |
0 | 10 <command detect_errors="exit_code"><![CDATA[ |
4 | 11 #set output_dir = 'assemblyPostProcessing_dir' |
12 AssemblyPostProcessor | |
0 | 13 --transcripts '$input' |
10
4d73965d99a2
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 71ba0e157346927bf42b788f552b95a71556b28a"
greg
parents:
9
diff
changeset
|
14 --prediction_method 'transdecoder' |
0 | 15 #if str($options_type.options_type_selector) == 'advanced': |
16 #set target_gene_family_assembly_cond = $options_type.target_gene_family_assembly_cond | |
17 #if str($target_gene_family_assembly_cond.target_gene_family_assembly) == 'yes': | |
18 --gene_family_search '$target_gene_family_assembly_cond.orthogroups' | |
19 --scaffold '$target_gene_family_assembly_cond.scaffold.fields.path' | |
20 --method '$target_gene_family_assembly_cond.method' | |
21 --gap_trimming $target_gene_family_assembly_cond.gap_trimming | |
4 | 22 #if str($target_gene_family_assembly_cond.min_coverage) != '0.0': |
23 --min_coverage $target_gene_family_assembly_cond.min_coverage | |
24 #end if | |
0 | 25 #end if |
26 #if str($options_type.strand_specific) == 'yes': | |
4 | 27 --strand_specific |
0 | 28 #end if |
29 #if str($options_type.dereplicate) == 'yes': | |
4 | 30 --dereplicate |
0 | 31 #end if |
32 --min_length $options_type.min_length | |
33 #end if | |
34 --num_threads \${GALAXY_SLOTS:-4} | |
5 | 35 &>assembly_post_processor_log.txt; |
36 if [[ $? -ne 0 ]]; then | |
37 cp assembly_post_processor_log.txt '$output_cds'; | |
38 cp assembly_post_processor_log.txt '$output_pep'; | |
39 cp assembly_post_processor_log.txt '$output_cleaned_cds'; | |
40 cp assembly_post_processor_log.txt '$output_cleaned_pep'; | |
41 #if str($options_type.options_type_selector) == 'advanced': | |
42 #if str($target_gene_family_assembly_cond.target_gene_family_assembly) == 'yes': | |
43 cp assembly_post_processor_log.txt '$output_targeted_gene_families_stats'; | |
44 #end if | |
45 #if str($options_type.dereplicate) == 'yes': | |
46 cp assembly_post_processor_log.txt '$output_cleaned_nr_cds'; | |
47 cp assembly_post_processor_log.txt '$output_cleaned_nr_pep'; | |
48 #end if | |
4 | 49 #end if |
5 | 50 exit 1; |
51 else | |
52 mv $output_dir/transcripts.cds '$output_cds'; | |
53 mv $output_dir/transcripts.pep '$output_pep'; | |
54 mv $output_dir/transcripts.cleaned.cds '$output_cleaned_cds'; | |
55 mv $output_dir/transcripts.cleaned.pep '$output_cleaned_pep'; | |
56 #if str($options_type.options_type_selector) == 'advanced': | |
57 #if str($target_gene_family_assembly_cond.target_gene_family_assembly) == 'yes': | |
58 mv $output_dir/targeted_gene_family_assemblies.stats '$output_targeted_gene_families_stats'; | |
59 #end if | |
60 #if str($options_type.dereplicate) == 'yes': | |
61 mv $output_dir/transcripts.cleaned.nr.cds '$output_cleaned_nr_cds'; | |
62 mv $output_dir/transcripts.cleaned.nr.pep '$output_cleaned_nr_pep'; | |
63 #end if | |
4 | 64 #end if |
5 | 65 fi]]></command> |
0 | 66 <inputs> |
67 <param name="input" format="fasta" type="data" label="Transcriptome assembly fasta file"/> | |
68 <conditional name="options_type"> | |
69 <param name="options_type_selector" type="select" label="Options configuration"> | |
70 <option value="basic" selected="true">Basic</option> | |
71 <option value="advanced">Advanced</option> | |
72 </param> | |
73 <when value="basic" /> | |
74 <when value="advanced"> | |
75 <conditional name="target_gene_family_assembly_cond"> | |
76 <param name="target_gene_family_assembly" type="select" label="Perform targeted gene assembly?"> | |
77 <option value="no" selected="true">No</option> | |
78 <option value="yes">Yes</option> | |
79 </param> | |
80 <when value="no" /> | |
81 <when value="yes"> | |
82 <param name="orthogroups" format="tabular" type="data" label="Targeted gene families"/> | |
6 | 83 <expand macro="param_scaffold"/> |
84 <expand macro="param_method"/> | |
0 | 85 <param name="gap_trimming" type="float" value="0.1" min="0" max="1.0" label="Trim alignments"/> |
4 | 86 <param name="min_coverage" type="float" value="0" min="0" max="1.0" label="Minimum alignment coverage"/> |
0 | 87 </when> |
88 </conditional> | |
89 <param name="strand_specific" type="select" label="Strand-specific assembly?"> | |
90 <option value="no" selected="true">No</option> | |
91 <option value="yes">Yes</option> | |
92 </param> | |
93 <param name="dereplicate" type="select" label="Remove duplicate sequences?"> | |
94 <option value="no" selected="true">No</option> | |
95 <option value="yes">Yes</option> | |
96 </param> | |
97 <param name="min_length" type="integer" value="200" label="Minimum sequence length"/> | |
98 </when> | |
99 </conditional> | |
100 </inputs> | |
101 <outputs> | |
4 | 102 <data name="output_targeted_gene_families_stats" format="tabular" label="Targeted gene families statistics: ${tool.name} on ${on_string}"> |
0 | 103 <filter>options_type['options_type_selector'] == 'advanced' and options_type['target_gene_family_assembly_cond']['target_gene_family_assembly'] == 'yes'</filter> |
104 </data> | |
4 | 105 <collection name="output_targeted_gene_families" type="list" label="Targeted gene families: ${tool.name} on ${on_string}"> |
106 <discover_datasets pattern="__name__" directory="assemblyPostProcessing_dir/targeted_gene_family_assemblies" format="fasta" /> | |
107 <filter>options_type['options_type_selector'] == 'advanced' and options_type['target_gene_family_assembly_cond']['target_gene_family_assembly'] == 'yes'</filter> | |
108 </collection> | |
0 | 109 <data name="output_pep" format="fasta" label="transcripts.pep: ${tool.name} on ${on_string}"/> |
110 <data name="output_cleaned_pep" format="fasta" label="transcripts.cleaned.pep: ${tool.name} on ${on_string}"/> | |
111 <data name="output_cleaned_nr_pep" format="fasta" label="transcripts.cleaned.nr.pep: ${tool.name} on ${on_string}"> | |
112 <filter>options_type['options_type_selector'] == 'advanced' and options_type['dereplicate'] == 'yes'</filter> | |
113 </data> | |
114 <data name="output_cleaned_nr_cds" format="fasta" label="transcripts.cleaned.nr.cds: ${tool.name} on ${on_string}"> | |
115 <filter>options_type['options_type_selector'] == 'advanced' and options_type['dereplicate'] == 'yes'</filter> | |
116 </data> | |
117 <data name="output_cleaned_cds" format="fasta" label="transcripts.cleaned.cds: ${tool.name} on ${on_string}"/> | |
118 <data name="output_cds" format="fasta" label="transcripts.cds: ${tool.name} on ${on_string}"/> | |
119 </outputs> | |
120 <tests> | |
11
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
121 <test expect_num_outputs="4"> |
0 | 122 <param name="input" value="assembly.fasta" ftype="fasta"/> |
123 <output name="output_cds" file="transcripts.cds" ftype="fasta"/> | |
124 <output name="output_cleaned_cds" file="transcripts.cleaned.cds" ftype="fasta"/> | |
125 <output name="output_cleaned_pep" file="transcripts.cleaned.pep" ftype="fasta"/> | |
126 <output name="output_pep" file="transcripts.pep" ftype="fasta"/> | |
127 </test> | |
11
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
128 <test expect_num_outputs="8"> |
0 | 129 <param name="input" value="assembly_tgf.fasta" ftype="fasta"/> |
130 <param name="options_type_selector" value="advanced"/> | |
131 <param name="target_gene_family_assembly" value="yes"/> | |
132 <param name="orthogroups" value="target_orthos.ids"/> | |
133 <param name="method" value="orthomcl"/> | |
134 <param name="dereplicate" value="yes"/> | |
11
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
135 <output_collection name="output_targeted_gene_families" type="list" count="0"> |
4 | 136 </output_collection> |
137 <output name="output_targeted_gene_families_stats" file="output_targeted_gene_families_stats.tabular" ftype="tabular"/> | |
0 | 138 <output name="output_cds" file="transcripts_tgf.cds" ftype="fasta"/> |
139 <output name="output_cleaned_cds" file="transcripts.cleaned_tgf.cds" ftype="fasta"/> | |
140 <output name="output_cleaned_nr_cds" file="transcripts_tgf.cleaned.nr.cds" ftype="fasta"/> | |
141 <output name="output_cleaned_nr_pep" file="transcripts_tgf.cleaned.nr.pep" ftype="fasta"/> | |
142 <output name="output_cleaned_pep" file="transcripts.cleaned_tgf.pep" ftype="fasta"/> | |
143 <output name="output_pep" file="transcripts_tgf.pep" ftype="fasta"/> | |
144 </test> | |
145 </tests> | |
146 <help> | |
147 This tool is one of the PlantTribes collection of automated modular analysis pipelines for comparative and | |
148 evolutionary analyses of genome-scale gene families and transcriptomes. This tool post-processes de novo | |
149 assembled transcripts into putative coding sequences and their corresponding amino acid translations and | |
150 optionally assigns transcripts to circumscribed gene families ("orthogroups")[2]. After transcripts have been | |
151 assigned to gene families, overlapping contigs can be identified and merged to reduce fragmentation in the | |
5 | 152 de novo assembly. |
0 | 153 |
154 ----- | |
155 | |
156 **Required options** | |
157 | |
158 * **Transcriptome assembly fasta file** - either de novo or reference-guided transcriptome assembly fasta file selected from your history. | |
159 * **Coding regions prediction method** - method for finding coding regions within transcripts. Available methods are TransDecoder[3] and ESTScan[4]. | |
160 | |
161 **Other options** | |
162 | |
163 * **Perform targeted gene assembly?** - selecting 'Yes' enables local assembly of one or more targeted gene families in a specific scaffold. Scaffolds are defined in PlantTribes as clusters of paralogous/orthologous sequences from a specified set of proteomes[5-7]. | |
164 | |
4 | 165 * **Targeted gene families** - select a history item containing a list of targeted orthogroup identifiers corresponding to the gene family classification from a specified scaffold. Gene family identifiers can be obtained from the function annotation table ("Orthogroup ID" field of .summary file) of scaffold data installed into Galaxy via the PlantTribes Scaffolds Download Data Manager tool, and are also available in the PlantTribes "annotation" directory of the scaffold data download. |
0 | 166 * **Gene family scaffold** - one of the PlantTribes gene family scaffolds (installed into Galaxy by the PlantTribes Scaffolds Download Data Manager tool) whose orthogroup(s) are targeted for the localized assembly. |
167 * **Protein clustering method** - gene family scaffold protein clustering method. Each PlantTribes scaffold data has up to three sets of clusters - GFam[8] (clusters of consensus domain architecture), OrthoFinder[9] (broadly defined clusters) or OrthoMCL[10] (narrowly defined clusters). You can also install your own data scaffold created using a different clustering method as long as it conforms to the PlantTribes scaffold data format. | |
168 * **Trim alignments** - trim gene family multiple sequence alignments that include scaffold backbone genes and locally assembled transcripts to remove non-conserved regions (gappy sites)[11]. The trimmed alignments are used in assigning scores to locally assembled transcripts to determine how well they compare to the backbone gene models. The default setting of 0.1 removes sites that have gaps in 90% or more of the sequences in the multiple sequence alignment. This option is restricted to the range 0.0 - 1.0. | |
4 | 169 * **Minimum alignment coverage** - allowable sequence coverage in the orthogroup trimmed protein multiple sequence alignments. Selecting transcripts with coverage of at least the average of the backbone orthogroup gene models is recommended. Details are shown in the targeted gene family assembly statistics history item. |
0 | 170 |
171 * **Strand-specific assembly?** - select 'Yes' if transcriptome library sequences were strand-specific. If 'Yes" is selected, transcripts from the minority strand (antisense) are removed. | |
172 * **Remove duplicate sequences?** - select 'Yes' to remove duplicated and exact subsequences[12]. | |
173 * **Minimum sequence length** - set the minimum sequence length of predicted coding regions. The default is 200 bp. | |
174 | |
175 </help> | |
176 <citations> | |
11
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
177 <citation type="doi">10.3389/fpls.2022.1011199</citation> |
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
178 <citation type="doi">10.1371/journal.pone.0146062</citation> |
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
179 <citation type="doi">10.1038/nprot.2013.084</citation> |
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
180 <citation type="doi">10.1101/gr.9.9.868</citation> |
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
181 <citation type="doi">10.1142/9781848165632_0019</citation> |
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
182 <citation type="doi">10.1093/molbev/mst010</citation> |
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
183 <citation type="doi">10.1093/nar/gks631</citation> |
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
184 <citation type="doi">10.1101/gr.1224503</citation> |
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
185 <citation type="doi">10.1186/s13059-015-0721-2</citation> |
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
186 <citation type="doi">10.1093/bioinformatics/btp348</citation> |
2c2ad8af0a4e
planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/assembly_post_processor commit 5b19bd262023af92bc9aaa65f75b5ec81814e90f-dirty
greg
parents:
10
diff
changeset
|
187 <citation type="doi">10.1109/TCBB.2013.68</citation> |
0 | 188 </citations> |
189 </tool> |