# HG changeset patch # User greg # Date 1507129690 14400 # Node ID b91bf5a51d38a38328aeddfcfa2534eb00987d14 # Parent 47db4f99b31f9e40ae7bd2d9dcdf4db7246c2943 Uploaded diff -r 47db4f99b31f -r b91bf5a51d38 .shed.yml --- a/.shed.yml Thu Aug 24 13:28:08 2017 -0400 +++ b/.shed.yml Wed Oct 04 11:08:10 2017 -0400 @@ -8,7 +8,7 @@ utilize objective classifications of complete protein sequences from sequenced plant genomes to perform comparative evolutionary studies. This tool integrates classified post processed de novo transcriptome assembly sequences with the scaffold gene family sequences. -remote_repository_url: https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/plant_tribes/gene_family_integrator +remote_repository_url: https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/phylogenetics/plant_tribes/gene_family_integrator type: unrestricted categories: - Phylogenetics diff -r 47db4f99b31f -r b91bf5a51d38 gene_family_integrator.py --- a/gene_family_integrator.py Thu Aug 24 13:28:08 2017 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -#!/usr/bin/env python -import argparse -import os - -import utils - -OUTPUT_DIR = 'integratedGeneFamilies_dir' - -parser = argparse.ArgumentParser() -parser.add_argument('--orthogroup_faa', dest='orthogroup_faa', help='Directory of input fasta datasets') -parser.add_argument('--scaffold', dest='scaffold', help='Orthogroups or gene families proteins scaffold') -parser.add_argument('--method', dest='method', help='Protein clustering method') -parser.add_argument('--orthogroup_fna', dest='orthogroup_fna', default=None, help='Use correspong coding sequences') -parser.add_argument('--output', dest='output', help='Output dataset') -parser.add_argument('--output_dir', dest='output_dir', help='Output dataset file_path directory') - -args = parser.parse_args() - -# Build the command line. -cmd = 'GeneFamilyIntegrator' -cmd += ' --orthogroup_faa %s' % args.orthogroup_faa -cmd += ' --scaffold %s' % args.scaffold -cmd += ' --method %s' % args.method -if args.orthogroup_fna is not None: - cmd += ' --orthogroup_fna' - -# Run the command. -utils.run_command(cmd) - -# Handle outputs. -utils.move_directory_files(os.path.join(OUTPUT_DIR, 'orthogroups_fasta'), args.output_dir) -utils.write_html_output(args.output, 'Integrated gene family sequences', args.output_dir) diff -r 47db4f99b31f -r b91bf5a51d38 gene_family_integrator.xml --- a/gene_family_integrator.xml Thu Aug 24 13:28:08 2017 -0400 +++ b/gene_family_integrator.xml Wed Oct 04 11:08:10 2017 -0400 @@ -1,64 +1,31 @@ - + integrates gene models in pre-computed orthologous gene family clusters with classified gene coding sequences macros.xml - - - - - - - - - - - - - - - - - - - - - + + + - - input_format_cond['input_format'] == 'ptortho' or (input_format_cond['input_format'] == 'ptorthocs' and input_format_cond['orthogroup_fna'] == 'no') - - - input_format_cond['input_format'] == 'ptorthocs' and input_format_cond['orthogroup_fna'] == 'yes' - + + +