# HG changeset patch # User peterjc # Date 1507722189 14400 # Node ID 82e833f023321bd966419f6b1c4a34f0e018abc7 # Parent ce0b2cad36266f4fbb75c77995858b58e31660b1 planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/ncbi_blast_plus commit 100608715d0e98f250057fa362b99759bd750a31-dirty diff -r ce0b2cad3626 -r 82e833f02332 tools/ncbi_blast_plus/README.rst --- a/tools/ncbi_blast_plus/README.rst Tue Sep 19 07:41:16 2017 -0400 +++ b/tools/ncbi_blast_plus/README.rst Wed Oct 11 07:43:09 2017 -0400 @@ -3,7 +3,7 @@ These wrappers are copyright 2010-2017 by Peter Cock (The James Hutton Institute, UK) and additional contributors including Edward Kirton, John Chilton, -Nicola Soranzo, Jim Johnson, and Bjoern Gruening. +Nicola Soranzo, Jim Johnson, Bjoern Gruening, and Caleb Easterly. See the licence text below. @@ -250,6 +250,11 @@ - Add ``-use_sw_tback`` option for BLASTP (Nicola Soranzo). v0.2.02 - Document the BLAST+ 2.5.0 change in the standard 12 column output from ``qseqid,sseqid,...`` to ``qacc,sacc,...`` instead. + - Support for per-matrix recommended gaps settings (``-gapopen`` and + ``-gapextend``, contribution from Caleb Easterly and Jim Johnson). + - Support for ``-window_size``, ``-threshold``, ``-comp_based_stats`` + and revising ``-word_size`` to avoid using zero to mean default + (contribution from Caleb Easterly). ======= ====================================================================== diff -r ce0b2cad3626 -r 82e833f02332 tools/ncbi_blast_plus/ncbi_blastdbcmd_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastdbcmd_wrapper.xml Tue Sep 19 07:41:16 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastdbcmd_wrapper.xml Wed Oct 11 07:43:09 2017 -0400 @@ -131,6 +131,10 @@ ------- +@CLI_OPTIONS + +------- + **References** If you use this Galaxy tool in work leading to a scientific publication please diff -r ce0b2cad3626 -r 82e833f02332 tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml Tue Sep 19 07:41:16 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml Wed Oct 11 07:43:09 2017 -0400 @@ -27,6 +27,12 @@ $adv_opts.ungapped @ADV_ID_LIST_FILTER@ @ADV_QCOV_HSP_PERC@ +## only use window size if dc-megablast mode is used +#if ($blast_type == "dc-megablast"): +-window_size @ADV_WINDOW_SIZE@ +#end if +@ADV_GAPOPEN@ +@ADV_GAPEXTEND@ ## End of advanced options: #end if @@ -53,13 +59,18 @@ - - - + + + + + @@ -168,6 +179,10 @@ ------- +@CLI_OPTIONS@ + +------- + **References** If you use this Galaxy tool in work leading to a scientific publication please diff -r ce0b2cad3626 -r 82e833f02332 tools/ncbi_blast_plus/ncbi_blastp_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastp_wrapper.xml Tue Sep 19 07:41:16 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastp_wrapper.xml Wed Oct 11 07:43:09 2017 -0400 @@ -17,7 +17,7 @@ @BLAST_OUTPUT@ @THREADS@ #if $adv_opts.adv_opts_selector=="advanced": - -matrix $adv_opts.matrix + @ADV_MATRIX_GAPCOSTS@ @ADV_FILTER_QUERY@ @ADV_MAX_HITS@ @ADV_WORD_SIZE@ @@ -26,6 +26,10 @@ @ADV_ID_LIST_FILTER@ @ADV_QCOV_HSP_PERC@ $adv_opts.use_sw_tback + @ADV_WINDOW_SIZE@ + @ADV_THRESHOLD@ + @ADV_COMP_BASED_STATS@ +## End of advanced options: #end if @@ -33,19 +37,24 @@ - + + - - + + + + - + + + + @@ -105,6 +111,17 @@ + + + + + + + + + + + @@ -117,12 +134,16 @@ @FASTA_WARNING@ ------ +------- @OUTPUT_FORMAT@ ------- +@CLI_OPTIONS@ + +------- + **References** If you use this Galaxy tool in work leading to a scientific publication please diff -r ce0b2cad3626 -r 82e833f02332 tools/ncbi_blast_plus/ncbi_macros.xml --- a/tools/ncbi_blast_plus/ncbi_macros.xml Tue Sep 19 07:41:16 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_macros.xml Wed Oct 11 07:43:09 2017 -0400 @@ -4,12 +4,14 @@ + blast @BINARY@ -version + @@ -21,6 +23,7 @@ + @@ -108,6 +111,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -120,6 +285,7 @@ + @@ -143,6 +309,7 @@ + @@ -166,6 +333,7 @@ + @@ -193,6 +361,7 @@ + @@ -220,6 +389,7 @@ + @@ -240,6 +410,7 @@ + @@ -258,25 +429,34 @@ + + + + + + - + + @@ -284,9 +464,36 @@ + + + + + + + + + + + + + + + + + + + + @@ -299,6 +506,7 @@ + + + +#if str($adv_opts.matrix_gapcosts.matrix): + -matrix $adv_opts.matrix_gapcosts.matrix + $adv_opts.matrix_gapcosts.gap_costs +#end if + + #if float(str($adv_opts.qcov_hsp_perc)) > 0: -qcov_hsp_perc $adv_opts.qcov_hsp_perc #end if + #if $adv_opts.adv_optional_id_files_opts.adv_optional_id_files_opts_selector == 'negative_gilist': -negative_gilist $adv_opts.adv_optional_id_files_opts.negative_gilist @@ -338,7 +555,9 @@ -seqidlist $adv_opts.adv_optional_id_files_opts.seqidlist #end if + -num_threads "\${GALAXY_SLOTS:-8}" + #if $db_opts.db_opts_selector == "db": -db '${" ".join(str($db_opts.database.fields.path).split(","))}' @@ -348,6 +567,7 @@ -subject '$db_opts.subject' #end if + -out '$output1' ##Set the extended list here so when we add things, saved workflows are not affected #if str($output.out_format)=="ext": @@ -381,11 +601,47 @@ #end if -#if (str($adv_opts.word_size) and int(str($adv_opts.word_size)) > 0): +#if str($adv_opts.word_size): -word_size $adv_opts.word_size #end if $adv_opts.parse_deflines + +#if str($adv_opts.window_size): +-window_size $adv_opts.window_size +#end if + + + +#if str($adv_opts.threshold): +-threshold $adv_opts.threshold +#end if + + + +#if str($adv_opts.comp_based_stats): +-comp_based_stats $adv_opts.comp_based_stats +#end if + + + +#if str($adv_opts.gapopen): +-gapopen $adv_opts.gapopen +#end if + + + +#if str($adv_opts.gapextend): +-gapextend $adv_opts.gapextend +#end if + + + +#if str($adv_opts.matrix): +-matrix $adv_opts.matrix +#end if + + #if str($db_opts.db_opts_selector)=='db' '${db_opts.database}' @@ -394,6 +650,7 @@ #else '${db_opts.subject.name}' #end if + Peter J. A. Cock, John M. Chilton, Björn Grüning, James E. Johnson, Nicola Soranzo (2015). NCBI BLAST+ integrated into Galaxy. *GigaScience* 4:39 @@ -495,4 +752,11 @@ ----- + + **Advanced Options** + +For help with advanced options and their default values, visit the `NCBI BLAST® Command Line Applications User Manual <https://www.ncbi.nlm.nih.gov/books/NBK279675/>`_. +For amino acid substitution matrices, the NCBI User Manual page is `here <https://www.ncbi.nlm.nih.gov/books/NBK379667/>`_. + + diff -r ce0b2cad3626 -r 82e833f02332 tools/ncbi_blast_plus/ncbi_makeblastdb.xml --- a/tools/ncbi_blast_plus/ncbi_makeblastdb.xml Tue Sep 19 07:41:16 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_makeblastdb.xml Wed Oct 11 07:43:09 2017 -0400 @@ -184,15 +184,16 @@ This is a wrapper for the NCBI BLAST+ tool 'makeblastdb', which is the replacement for the 'formatdb' tool in the NCBI 'legacy' BLAST suite. +More information about makeblastdb can be found in the `BLAST Command Line Applications User Manual`_. + +.. _BLAST Command Line Applications User Manual: https://www.ncbi.nlm.nih.gov/books/NBK279690/ + + -**Documentation** - -https://www.ncbi.nlm.nih.gov/books/NBK279690/ - **References** If you use this Galaxy tool in work leading to a scientific publication please diff -r ce0b2cad3626 -r 82e833f02332 tools/ncbi_blast_plus/ncbi_makeprofiledb.xml --- a/tools/ncbi_blast_plus/ncbi_makeprofiledb.xml Tue Sep 19 07:41:16 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_makeprofiledb.xml Wed Oct 11 07:43:09 2017 -0400 @@ -69,6 +69,10 @@ + + diff -r ce0b2cad3626 -r 82e833f02332 tools/ncbi_blast_plus/ncbi_rpsblast_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_rpsblast_wrapper.xml Tue Sep 19 07:41:16 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_rpsblast_wrapper.xml Wed Oct 11 07:43:09 2017 -0400 @@ -23,6 +23,7 @@ @ADV_FILTER_QUERY@ @ADV_MAX_HITS@ @ADV_QCOV_HSP_PERC@ +@ADV_WINDOW_SIZE@ ## End of advanced options: #end if @@ -41,6 +42,7 @@ + @@ -105,6 +107,10 @@ ------- +@CLI_OPTIONS@ + +------- + **References** If you use this Galaxy tool in work leading to a scientific publication please diff -r ce0b2cad3626 -r 82e833f02332 tools/ncbi_blast_plus/ncbi_rpstblastn_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_rpstblastn_wrapper.xml Tue Sep 19 07:41:16 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_rpstblastn_wrapper.xml Wed Oct 11 07:43:09 2017 -0400 @@ -105,6 +105,10 @@ ------- +@CLI_OPTIONS@ + +------- + **References** If you use this Galaxy tool in work leading to a scientific publication please diff -r ce0b2cad3626 -r 82e833f02332 tools/ncbi_blast_plus/ncbi_tblastn_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_tblastn_wrapper.xml Tue Sep 19 07:41:16 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_tblastn_wrapper.xml Wed Oct 11 07:43:09 2017 -0400 @@ -18,14 +18,17 @@ @THREADS@ #if $adv_opts.adv_opts_selector=="advanced": -db_gencode $adv_opts.db_gencode --matrix $adv_opts.matrix @ADV_FILTER_QUERY@ @ADV_MAX_HITS@ @ADV_WORD_SIZE@ +@ADV_MATRIX_GAPCOSTS@ ##Ungapped disabled for now - see comments below ##$adv_opts.ungapped @ADV_ID_LIST_FILTER@ @ADV_QCOV_HSP_PERC@ +@ADV_WINDOW_SIZE@ +@ADV_THRESHOLD@ +@ADV_COMP_BASED_STATS@ ## End of advanced options: #end if @@ -44,7 +47,7 @@ - +