# HG changeset patch # User peterjc # Date 1505476342 14400 # Node ID 9e483194ebf659799bae74d31bfb2745bd0de42a # Parent b98c41537d0fd0eade5f7f514efc8c9dca2b83c3 planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/ncbi_blast_plus commit befaf16290a437209109c06c20d0deb170925d16-dirty diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/README.rst --- a/tools/ncbi_blast_plus/README.rst Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/README.rst Fri Sep 15 07:52:22 2017 -0400 @@ -244,6 +244,9 @@ (internal change only). v0.2.01 - Use ```` (internal change only). - Single quote command line arguments (internal change only). + - Show the BLAST option corresponding to each tool parameter + - Add ``-max_hsps`` option + - Add ``-use_sw_tback`` option for BLASTP ======= ====================================================================== @@ -280,7 +283,7 @@ $ planemo shed_upload --tar_only tools/ncbi_blast_plus/ ... - $ tar -tzf shed_upload.tar.gz + $ tar -tzf shed_upload.tar.gz test-data/blastdb.loc ... tools/ncbi_blast_plus/tool_dependencies.xml diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_blastdbcmd_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastdbcmd_wrapper.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastdbcmd_wrapper.xml Fri Sep 15 07:52:22 2017 -0400 @@ -55,10 +55,10 @@ - + - + diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml Fri Sep 15 07:52:22 2017 -0400 @@ -31,9 +31,9 @@ #end if - + - + @@ -49,16 +49,14 @@ - + - - + + - - - - + + @@ -134,6 +132,15 @@ + + + + + + + + + @@ -144,7 +151,7 @@ - + @SEARCH_TIME_WARNING@ **What it does** diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_blastp_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastp_wrapper.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastp_wrapper.xml Fri Sep 15 07:52:22 2017 -0400 @@ -17,23 +17,23 @@ @BLAST_OUTPUT@ @THREADS@ #if $adv_opts.adv_opts_selector=="advanced": --matrix $adv_opts.matrix -@ADV_FILTER_QUERY@ -@ADV_MAX_HITS@ -@ADV_WORD_SIZE@ -##Ungapped disabled for now - see comments below -##$adv_opts.ungapped -@ADV_ID_LIST_FILTER@ -@ADV_QCOV_HSP_PERC@ -## End of advanced options: + -matrix $adv_opts.matrix + @ADV_FILTER_QUERY@ + @ADV_MAX_HITS@ + @ADV_WORD_SIZE@ + ##Ungapped disabled for now - see comments below + ##$adv_opts.ungapped + @ADV_ID_LIST_FILTER@ + @ADV_QCOV_HSP_PERC@ + $adv_opts.use_sw_tback #end if - + - + @@ -50,11 +50,12 @@ Can't use '-ungapped' on its own, error back is: Composition-adjusted searched are not supported with an ungapped search, please add -comp_based_stats F or do a gapped search Tried using '-ungapped -comp_based_stats F' and blastp crashed with 'Attempt to access NULL pointer.' - + --> + @@ -127,7 +128,7 @@ - + @SEARCH_TIME_WARNING@ **What it does** @@ -150,5 +151,5 @@ @REFERENCES@ - + diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_blastx_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastx_wrapper.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastx_wrapper.xml Fri Sep 15 07:52:22 2017 -0400 @@ -30,11 +30,11 @@ #end if - + - + @@ -48,7 +48,7 @@ - + @@ -107,7 +107,7 @@ - + @SEARCH_TIME_WARNING@ **What it does** diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_convert2blastmask_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_convert2blastmask_wrapper.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_convert2blastmask_wrapper.xml Fri Sep 15 07:52:22 2017 -0400 @@ -17,22 +17,22 @@ -outfmt $outformat - - + + - + - - + + diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_dustmasker_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_dustmasker_wrapper.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_dustmasker_wrapper.xml Fri Sep 15 07:52:22 2017 -0400 @@ -22,10 +22,10 @@ - - - - + + + + diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_macros.xml --- a/tools/ncbi_blast_plus/ncbi_macros.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_macros.xml Fri Sep 15 07:52:22 2017 -0400 @@ -23,7 +23,7 @@ - + @@ -109,11 +109,11 @@ - + - + @@ -121,7 +121,7 @@ - + @@ -144,7 +144,7 @@ - + @@ -178,7 +178,7 @@ - + @@ -188,7 +188,7 @@ - + @@ -214,7 +214,7 @@ - + @@ -257,36 +257,33 @@ - + - + - + - - - + + - + - - - + - + - + @@ -312,15 +309,15 @@ - - - @@ -369,13 +366,16 @@ ## Note -max_target_seqs used to simply override -num_descriptions and -num_alignments ## but this was changed in BLAST+ 2.2.27 onwards to force their use (raised with NCBI) #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 + #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 + #end if #end if +#if str($adv_opts.max_hsps) + -max_hsps $adv_opts.max_hsps #end if @@ -483,7 +483,7 @@ .. class:: warningmark **Note**. Database searches may take a substantial amount of time. -For large input datasets it is advisable to allow overnight processing. +For large input datasets it is advisable to allow overnight processing. ----- diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_makeblastdb.xml --- a/tools/ncbi_blast_plus/ncbi_makeblastdb.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_makeblastdb.xml Fri Sep 15 07:52:22 2017 -0400 @@ -49,7 +49,7 @@ > "$outfile" - + @@ -57,13 +57,13 @@ NOTE Double check the new database would be self contained first --> - - - - + + + + - + @@ -77,11 +77,11 @@ - + diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_makeprofiledb.xml --- a/tools/ncbi_blast_plus/ncbi_makeprofiledb.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_makeprofiledb.xml Fri Sep 15 07:52:22 2017 -0400 @@ -10,7 +10,7 @@ mkdir -p $outfile.files_path && makeprofiledb -out '${os.path.join($outfile.files_path, "blastdb")}' -##We turn $infile_list into $infiles with a configfile entry defined below +##We turn $input_file into $infiles with a configfile entry defined below -in '$infiles' #if $title: @@ -42,13 +42,12 @@ - - - - + + - - diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_rpsblast_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_rpsblast_wrapper.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_rpsblast_wrapper.xml Fri Sep 15 07:52:22 2017 -0400 @@ -27,7 +27,7 @@ #end if - + @@ -61,7 +61,7 @@ - + @SEARCH_TIME_WARNING@ **What it does** @@ -76,7 +76,7 @@ http://www.ncbi.nlm.nih.gov/Structure/cdd/cdd_help.shtml#NCBI_curated_domains *Kog* - PSSMs from automatically aligned sequences and sequence -fragments classified in the KOGs resource, the eukaryotic +fragments classified in the KOGs resource, the eukaryotic counterpart to COGs, see http://www.ncbi.nlm.nih.gov/COG/ *Cog* - PSSMs from automatically aligned sequences and sequence diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_rpstblastn_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_rpstblastn_wrapper.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_rpstblastn_wrapper.xml Fri Sep 15 07:52:22 2017 -0400 @@ -28,7 +28,7 @@ #end if - + @@ -61,7 +61,7 @@ - + @SEARCH_TIME_WARNING@ **What it does** @@ -76,7 +76,7 @@ http://www.ncbi.nlm.nih.gov/Structure/cdd/cdd_help.shtml#NCBI_curated_domains *Kog* - PSSMs from automatically aligned sequences and sequence -fragments classified in the KOGs resource, the eukaryotic +fragments classified in the KOGs resource, the eukaryotic counterpart to COGs, see http://www.ncbi.nlm.nih.gov/COG/ *Cog* - PSSMs from automatically aligned sequences and sequence diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_tblastn_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_tblastn_wrapper.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_tblastn_wrapper.xml Fri Sep 15 07:52:22 2017 -0400 @@ -30,10 +30,10 @@ #end if - + - + @@ -51,7 +51,7 @@ Can't use '-ungapped' on its own, error back is: Composition-adjusted searched are not supported with an ungapped search, please add -comp_based_stats F or do a gapped search Tried using '-ungapped -comp_based_stats F' and tblastn crashed with 'Attempt to access NULL pointer.' - + --> @@ -144,7 +144,7 @@ - + @SEARCH_TIME_WARNING@ **What it does** diff -r b98c41537d0f -r 9e483194ebf6 tools/ncbi_blast_plus/ncbi_tblastx_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_tblastx_wrapper.xml Fri May 19 06:04:55 2017 -0400 +++ b/tools/ncbi_blast_plus/ncbi_tblastx_wrapper.xml Fri Sep 15 07:52:22 2017 -0400 @@ -29,7 +29,7 @@ #end if - + @@ -69,7 +69,7 @@ - + @SEARCH_TIME_WARNING@ **What it does**