Mercurial > repos > greg > plant_tribes_gene_family_aligner
changeset 2:2810338344a1 draft
Uploaded
author | greg |
---|---|
date | Tue, 01 Aug 2017 14:25:22 -0400 |
parents | ab1f0bab96f3 |
children | a54d1ecdf5b3 |
files | gene_family_aligner.xml |
diffstat | 1 files changed, 21 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gene_family_aligner.xml Tue Aug 01 14:25:14 2017 -0400 +++ b/gene_family_aligner.xml Tue Aug 01 14:25:22 2017 -0400 @@ -16,7 +16,7 @@ #set output_codon_alignments = True #end if -python $__tool_directory__/gene_family_aligner.py +python '$__tool_directory__/gene_family_aligner.py' --alignment_method $alignment_method #if str($alignment_method) == 'pasta': --pasta_script_path '$__tool_directory__/run_pasta.py' @@ -29,7 +29,7 @@ ## 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' + --codon_alignments true #end if #end if #set remove_gappy_sequences = $remove_gappy_sequences_cond.remove_gappy_sequences @@ -40,7 +40,7 @@ --gap_trimming $trim_type_cond.gap_trimming #else: ## str($trim_type) == 'automated_trimming' - --automated_trimming 'true' + --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 @@ -76,6 +76,10 @@ --output_dir '$output_aln.files_path' #end if #end if +#set output_dataset_collection = $output_dataset_collection_cond.output_dataset_collection +#if str($output_dataset_collection) == 'yes': + --output_dataset_collection dataset_collection +#end if ]]></command> <inputs> <conditional name="input_format_cond"> @@ -98,6 +102,14 @@ </when> </conditional> <expand macro="cond_remove_gappy_sequences" /> + <conditional name="output_dataset_collection_cond"> + <param name="output_dataset_collection" type="select" label="Output additional dataset collection of files?"> + <option value="no" selected="true">No</option> + <option value="yes">Yes</option> + </param> + <when value="no" /> + <when value="yes" /> + </conditional> </inputs> <outputs> <data name="output_aln" format="ptalign" label="${tool.name} (proteins orthogroup alignments) on ${on_string}"> @@ -118,6 +130,10 @@ <data name="output_aln_trimmed_ca" format="ptaligntrimmedca" label="${tool.name} (trimmed protein and coding sequences orthogroup alignments) on ${on_string}"> <filter>(input_format_cond['input_format'] == 'ptortho' or (input_format_cond['input_format'] == 'ptorthocs' and input_format_cond['codon_alignments'] == 'yes')) and (remove_gappy_sequences_cond['remove_gappy_sequences'] == 'yes' and remove_gappy_sequences_cond['remove_sequences_with_gaps_cond']['remove_sequences_with_gaps'] == 'no')</filter> </data> + <collection name="dataset_collection" type="list" label="${tool.name} (dataset collection) on ${on_string}"> + <discover_datasets pattern="__name__" directory="dataset_collection" format="fasta" /> + <filter>output_dataset_collection_cond['output_dataset_collection'] == 'yes'</filter> + </collection> </outputs> <tests> <!-- Test framework does not currently support inputs whose associated extra_files_path contains files to be analyzed. @@ -156,6 +172,8 @@ - **Realignment iteration limit** - number of iterations to perform trimming, removal of sequences, and realignment of orthogroup sequences. Zero value has no effect. + * **Output additional dataset collection of files** - selecting 'Yes' will produce an additional output dataset collection whose elements are copies of the directories of files (these elements can be viewed with visualization tools). + .. _trimAl: http://trimal.cgenomics.org </help>