# HG changeset patch # User peterjc # Date 1540290423 14400 # Node ID f0edead5615e4002193af0453a8b4b44b40f0ebf # Parent 782a1a9c87d7b1d5637737be6e549f7ab67db6c8 planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/ncbi_blast_plus commit ed6325d44993c65dd9fbab02902ede0a9c0eeb80-dirty diff -r 782a1a9c87d7 -r f0edead5615e tools/ncbi_blast_plus/README.rst --- a/tools/ncbi_blast_plus/README.rst Mon Jul 09 10:05:00 2018 -0400 +++ b/tools/ncbi_blast_plus/README.rst Tue Oct 23 06:27:03 2018 -0400 @@ -213,7 +213,7 @@ setup via ``tool-data/tool_data_table_conf.xml.sample`` - Replace ``.extra_files_path`` with ``.files_path`` (internal change, thanks to Bjoern Gruening and John Chilton). - - Added "NCBI BLAST+ integrated into Galaxy" preprint citation. + - Added *"NCBI BLAST+ integrated into Galaxy"* preprint citation. v0.1.03 - Reorder XML elements (internal change only). - Planemo for Tool Shed upload (``.shed.yml``, internal change only). v0.1.04 - Fixed regression using BLAST databases from the history. Currently @@ -259,6 +259,8 @@ - Document the BLAST+ 2.6.0 change in the standard 12 column output from ``qacc,sacc,...`` to ``qaccver,saccver,...`` instead. - Accept gzipped FASTA inputs (contribution from Anton Nekrutenko). +v0.3.1 - Clarify help text for max hits option, confusing as depending on the + output format it must be mapped to different command line arguments. ======= ====================================================================== diff -r 782a1a9c87d7 -r f0edead5615e tools/ncbi_blast_plus/blastxml_to_tabular.py --- a/tools/ncbi_blast_plus/blastxml_to_tabular.py Mon Jul 09 10:05:00 2018 -0400 +++ b/tools/ncbi_blast_plus/blastxml_to_tabular.py Tue Oct 23 06:27:03 2018 -0400 @@ -168,6 +168,7 @@ def convert(blastxml_filename, output_handle): + """Convert BLAST XML input from a file to tabular on given handle.""" blast_program = None # get an iterable try: diff -r 782a1a9c87d7 -r f0edead5615e tools/ncbi_blast_plus/ncbi_macros.xml --- a/tools/ncbi_blast_plus/ncbi_macros.xml Mon Jul 09 10:05:00 2018 -0400 +++ b/tools/ncbi_blast_plus/ncbi_macros.xml Tue Oct 23 06:27:03 2018 -0400 @@ -1,5 +1,5 @@ - 0.3.0 + 0.3.1 @@ -443,7 +443,7 @@ - + @@ -589,15 +589,41 @@ $adv_opts.filter_query =0> +## Number of database sequences to show one-line descriptions for +## Not applicable for outfmt > 4 +## Default = `500' +## * Incompatible with: max_target_seqs +## -num_alignments =0> +## Number of database sequences to show alignments for +## Default = `250' +## * Incompatible with: max_target_seqs +## +## *** Restrict search or results +## +## -max_target_seqs =1> +## Maximum number of aligned sequences to keep +## Not applicable for outfmt <= 4 +## Default = `500' +## * Incompatible with: num_descriptions, num_alignments +## +## So, taken at face value we do still need to treat the Text and HTML output +## differently from the Tabular and XML, yet the treatment of these limits is +## different (during search or after the search when writing the output): +## https://blastedbio.blogspot.com/2015/12/blast-max-target-sequences-bug.html +## +## See also our user-facing help text. #if (str($adv_opts.max_hits) and int(str($adv_opts.max_hits)) > 0): #if str($output.out_format) in ["6", "ext", "cols", "5"]: ## Most output formats use this, including tabular and XML: -max_target_seqs '${adv_opts.max_hits}' #else ## Text and HTML output formats 0-4 currently need this instead: - -num_descriptions $adv_opts.max_hits -num_alignments $adv_opts.max_hits + -num_descriptions '${adv_opts.max_hits}' -num_alignments '${adv_opts.max_hits}' #end if #end if #if str($adv_opts.max_hsps) diff -r 782a1a9c87d7 -r f0edead5615e tools/ncbi_blast_plus/ncbi_makeprofiledb.xml --- a/tools/ncbi_blast_plus/ncbi_makeprofiledb.xml Mon Jul 09 10:05:00 2018 -0400 +++ b/tools/ncbi_blast_plus/ncbi_makeprofiledb.xml Tue Oct 23 06:27:03 2018 -0400 @@ -90,7 +90,7 @@ - + diff -r 782a1a9c87d7 -r f0edead5615e tools/ncbi_blast_plus/repository_dependencies.xml --- a/tools/ncbi_blast_plus/repository_dependencies.xml Mon Jul 09 10:05:00 2018 -0400 +++ b/tools/ncbi_blast_plus/repository_dependencies.xml Tue Oct 23 06:27:03 2018 -0400 @@ -1,4 +1,4 @@ - + diff -r 782a1a9c87d7 -r f0edead5615e tools/ncbi_blast_plus/tool_dependencies.xml --- a/tools/ncbi_blast_plus/tool_dependencies.xml Mon Jul 09 10:05:00 2018 -0400 +++ b/tools/ncbi_blast_plus/tool_dependencies.xml Tue Oct 23 06:27:03 2018 -0400 @@ -1,6 +1,6 @@ - - + +