Mercurial > repos > greg > gene_family_aligner
view gene_family_aligner.xml @ 8:9e68bebb3d7c draft
Uploaded
author | greg |
---|---|
date | Mon, 10 Apr 2017 10:55:45 -0400 |
parents | badd2d0f1689 |
children | 43341e97bb08 |
line wrap: on
line source
<tool id="plant_tribes_gene_family_aligner" name="GeneFamilyAligner" version="@WRAPPER_VERSION@.0"> <description>aligns gene family sequences</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements_gene_family_aligner" /> <expand macro="stdio" /> <command> <![CDATA[ #set input_format = $input_format_cond.input_format #set scaffold = $input_format_cond.scaffold #set alignment_method_cond = $input_format_cond.alignment_method_cond #set alignment_method = $alignment_method_cond.alignment_method python $__tool_directory__/gene_family_aligner.py --scaffold '$scaffold.fields.path' --method $input_format_cond.method --alignment_method $alignment_method #if str($alignment_method) == 'pasta': --pasta_script_path '$__tool_directory__/run_pasta.py' --pasta_iter_limit $alignment_method_cond.pasta_iter_limit #end if --num_threads \${GALAXY_SLOTS:-4} #if str($input_format) == 'ptortho': --orthogroup_faa '$input_format_cond.input_ptortho.extra_files_path' #else: ## str($input_format) == 'ptorthocs' --orthogroup_faa '$input_format_cond.input_ptorthocs.extra_files_path' #if str($input_format_cond.codon_alignments) == 'yes': --codon_alignments 'true' #end if #end if #if str($options_type_cond.options_type) == 'advanced': #set remove_gappy_sequences_cond = $options_type_cond.remove_gappy_sequences_cond #set remove_gappy_sequences = $remove_gappy_sequences_cond.remove_gappy_sequences #if str($remove_gappy_sequences) == 'yes': #set trim_type_cond = $remove_gappy_sequences_cond.trim_type_cond #set trim_type = $trim_type_cond.trim_type #if str($trim_type) == 'gap_trimming': --gap_trimming $trim_type_cond.gap_trimming #else: ## str($trim_type) == 'automated_trimming' --automated_trimming 'true' #end if #set remove_sequences_with_gaps_cond = $remove_gappy_sequences_cond.remove_sequences_with_gaps_cond #set remove_sequences_with_gaps = $remove_sequences_with_gaps_cond.remove_sequences_with_gaps #if str($remove_sequences_with_gaps) == 'yes': --remove_sequences $remove_sequences_with_gaps_cond.remove_sequences_with_gaps_of --iterative_realignment $remove_sequences_with_gaps_cond.iterative_realignment --output '$output_aln_filtered' --output_dir '$output_aln_filtered.files_path' #else: --output '$output_aln_trimmed' --output_dir '$output_aln_trimmed.files_path' #end if #else: --output '$output_aln' --output_dir '$output_aln.files_path' #end if #esle: --output '$output_aln' --output_dir '$output_aln.files_path' #end if ]]> </command> <inputs> <conditional name="input_format_cond"> <param name="input_format" type="select" label="Select type of data to sub sample"> <option value="ptortho">Gene family clusters</option> <option value="ptorthocs">Gene family clusters with corresponding coding sequences</option> </param> <when value="ptortho"> <param name="input_ptortho" format="ptortho" type="data" label="Gene family clusters" /> <expand macro="param_scaffold" /> <expand macro="param_method" /> <expand macro="cond_alignment_method" /> </when> <when value="ptorthocs"> <param name="input_ptorthocs" format="ptorthocs" type="data" label="Gene family clusters with corresponding coding sequences" /> <expand macro="param_scaffold" /> <expand macro="param_method" /> <expand macro="cond_alignment_method" /> <expand macro="param_codon_alignments" /> </when> </conditional> <conditional name="options_type_cond"> <expand macro="param_options_type" /> <when value="basic" /> <when value="advanced"> <expand macro="cond_remove_gappy_sequences" /> </when> </conditional> </inputs> <outputs> <data name="output_aln" format="ptalign" label="Aligned gene family sequences on ${on_string}"> <filter>options_type_cond['options_type'] == 'basic' or (options_type_cond['options_type'] == 'advanced' and options_type_cond['remove_gappy_sequences_cond']['remove_gappy_sequences'] == 'no')</filter> </data> <data name="output_aln_filtered" format="ptalignfiltered" label="Filtered aligned gene family sequences on ${on_string}"> <filter>options_type_cond['options_type'] == 'advanced' and options_type_cond['remove_gappy_sequences_cond']['remove_gappy_sequences'] == 'yes' and options_type_cond['remove_gappy_sequences_cond']['remove_sequences_with_gaps_cond']['remove_sequences_with_gaps'] == 'yes'</filter> </data> <data name="output_aln_trimmed" format="ptaligntrimmed" label="Trimmed aligned gene family sequences on ${on_string}"> <filter>options_type_cond['options_type'] == 'advanced' and options_type_cond['remove_gappy_sequences_cond']['remove_gappy_sequences'] == 'yes' and options_type_cond['remove_gappy_sequences_cond']['remove_sequences_with_gaps_cond']['remove_sequences_with_gaps'] == 'no'</filter> </data> </outputs> <tests> <!-- Test framework does not currently support inputs whose associated files_path contains files to be analyzed. <test> </test> --> </tests> <help> This tool is one of the PlantTribes collection of automated modular analysis pipelines for comparative and evolutionary analyses of genome-scale gene families and transcriptomes. This tool aligns gene family sequences. ----- **Required options** * **Select type of data to sub sample** - **Gene family clusters** - sequences classified into gene family clusters. - **Gene family clusters with corresponding coding sequences** - sequences classified into gene family clusters including corresponding coding sequences. - **Construct orthogroup multiple codon alignments** - construct orthogroup multiple codon alignments. * **Gene family scaffold** - one of the PlantTribes gene family scaffolds [2-4] installed into Galaxy by the PlantTribes Scaffold Data Manager tool. * **Protein clustering method** - gene family scaffold protein clustering method as described in the AssemblyPostProcessor tool. * **Select method for multiple sequence alignments** - **MAFFT algorithm** - mafft algorithm. - **Pasta algorithm** - pasta algorithm. - **Maximum number of iterations that the PASTA algorithm will execute** - maximum number of iterations that the PASTA algorithm will execute. **Other options** * **Remove gappy sequences in alignments** - **Select process used for gap trimming** - either nucleotide based or using trimAl's ML heuristic trimming approach - **Nucleotide based** - **Remove sites in alignments with gaps of** - **Maximum number of iterations** - maximum number of iterations for iterative orthogroups realignment, trimming and fitering </help> <citations> <expand macro="citation1" /> <expand macro="citations2to4" /> </citations> </tool>