# HG changeset patch # User bgruening # Date 1370786006 14400 # Node ID bcfe8e0731f8b622dd97c1acf62e0922de3362a8 # Parent c243e17fb224e03053cf4475358f39e711702f35 Uploaded diff -r c243e17fb224 -r bcfe8e0731f8 augustus.xml --- a/augustus.xml Fri Jun 07 02:30:21 2013 -0400 +++ b/augustus.xml Sun Jun 09 09:53:26 2013 -0400 @@ -2,7 +2,7 @@ gene prediction for eukaryotic genomes augustus - SCRIPT_PATH + AUGUSTUS_SCRIPT_PATH ## please set export AUGUSTUS_CONFIG_PATH=/path_to_augustus/augustus/config @@ -28,7 +28,7 @@ ##--outfile=$output | tee $output #if $protein or $codingseq: - | python \$SCRIPT_PATH/extract_features.py + | python \$AUGUSTUS_SCRIPT_PATH/extract_features.py #if $protein: --protein $protein_output #end if @@ -148,21 +148,21 @@ - + - + - + @@ -171,7 +171,7 @@ - + diff -r c243e17fb224 -r bcfe8e0731f8 extract_features.py --- a/extract_features.py Fri Jun 07 02:30:21 2013 -0400 +++ b/extract_features.py Sun Jun 09 09:53:26 2013 -0400 @@ -47,16 +47,18 @@ if args.protein and line.startswith('protein sequence = ['): if line.endswith(']'): - line = line[20:-1] - protein_seq = line + protein_seq = line[20:-1] + po.write( '>%s\n%s\n' % (gene_name, '\n'.join( textwrap.wrap( protein_seq, 80 ) ) ) ) + protein_seq = '' else: line = line[20:] protein_seq = line if args.codingseq and line.startswith('coding sequence = ['): if line.endswith(']'): - line = line[19:-1] - coding_seq = line + coding_seq = line[19:-1] + co.write( '>%s\n%s\n' % (gene_name, '\n'.join( textwrap.wrap( coding_seq, 80 ) ) ) ) + coding_seq = '' else: line = line[19:] coding_seq = line diff -r c243e17fb224 -r bcfe8e0731f8 readme.rst --- a/readme.rst Fri Jun 07 02:30:21 2013 -0400 +++ b/readme.rst Sun Jun 09 09:53:26 2013 -0400 @@ -3,8 +3,9 @@ This wrapper is copyright 2012-2013 by Björn Grüning. -This is a wrapper for the command line tool of augustus. -http://bioinf.uni-greifswald.de/augustus/ +This is a wrapper for the command line tool of Augustus_. + +.. _augustus: http://bioinf.uni-greifswald.de/augustus/ AUGUSTUS is a program that predicts genes in eukaryotic genomic sequences. @@ -24,10 +25,15 @@ Installation ============ -The recommended installation is by means of the tool shed. If you need to install it manually here is a short introduction. +The recommended installation is by means of the toolshed_. +If you need to install it manually here is a short introduction. + +.. _toolshed: http://toolshed.g2.bx.psu.edu/view/bjoern-gruening/augustus -Install or downlaod augustus from: -http://bioinf.uni-greifswald.de/augustus/binaries/ + +Install or downlaod augustus from:: + + http://bioinf.uni-greifswald.de/augustus/binaries/ and follow the installation instructions or copy the binaries into your $PATH. To install the wrapper copy the augustus folder in the galaxy tools folder and modify the tools_conf.xml file to make the tool available to Galaxy. diff -r c243e17fb224 -r bcfe8e0731f8 tool_dependencies.xml --- a/tool_dependencies.xml Fri Jun 07 02:30:21 2013 -0400 +++ b/tool_dependencies.xml Sun Jun 09 09:53:26 2013 -0400 @@ -1,7 +1,7 @@ - $REPOSITORY_INSTALL_DIR + $REPOSITORY_INSTALL_DIR