# HG changeset patch # User peterjc # Date 1431684959 14400 # Node ID e98f6bd363ba83f72fce9ac5c09daa3f44656504 # Parent 6119ddccd8a31d2091143df6eb2f6a2c797f7eca planemo upload for repository https://github.com/peterjc/galaxy_blast/tools/ncbi_blast_plus commit a567843bb239ee8faec72eb7e52f3b5aa3191631 diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/README.rst --- a/tools/ncbi_blast_plus/README.rst Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/README.rst Fri May 15 06:15:59 2015 -0400 @@ -213,6 +213,8 @@ - Replace ``.extra_files_path`` with ``.files_path`` (internal change, thanks to Bjoern Gruening and John Chilton). - 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). ======= ====================================================================== @@ -233,10 +235,28 @@ As of July 2013, development is continuing on a dedicated GitHub repository: https://github.com/peterjc/galaxy_blast -For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball I use -the following command from the GitHub repository root folder:: +For pushing a release to the test or main "Galaxy Tool Shed", use the following +Planemo commands (which requires you have set your Tool Shed access details in +``~/.planemo.yml`` and that you have access rights on the Tool Shed):: + + $ planemo shed_upload --shed_target testtoolshed --check_diff ~/repositories/galaxy_blast/tools/ncbi_blast_plus/ + ... + +or:: - $ tools/ncbi_blast_plus/make_ncbi_blast_plus.sh + $ planemo shed_upload --shed_target toolshed --check_diff ~/repositories/galaxy_blast/tools/ncbi_blast_plus/ + ... + +To just build and check the tar ball, use:: + + $ planemo shed_upload --tar_only ~/repositories/galaxy_blast/tools/ncbi_blast_plus/ + ... + $ tar -tzf shed_upload.tar.gz + test-data/blastdb.loc + ... + tools/ncbi_blast_plus/tool_dependencies.xml + $ tar -tzf shed_upload.tar.gz | wc -l + 117 This simplifies ensuring a consistent set of files is bundled each time, including all the relevant test files. diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/blastxml_to_tabular.py --- a/tools/ncbi_blast_plus/blastxml_to_tabular.py Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/blastxml_to_tabular.py Fri May 15 06:15:59 2015 -0400 @@ -1,9 +1,9 @@ #!/usr/bin/env python """Convert a BLAST XML file to tabular output. -Takes three command line options, input BLAST XML filename, output tabular -BLAST filename, output format (std for standard 12 columns, or ext for the -extended 24 columns offered in the BLAST+ wrappers). +Designed to convert BLAST XML files into tabular BLAST output (either +std for standard 12 columns, or ext for the extended 25 columns offered +in the Galaxy BLAST+ wrappers). The 12 columns output are 'qseqid sseqid pident length mismatch gapopen qstart qend sstart send evalue bitscore' or 'std' at the BLAST+ command line, which diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/blastxml_to_tabular.xml --- a/tools/ncbi_blast_plus/blastxml_to_tabular.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/blastxml_to_tabular.xml Fri May 15 06:15:59 2015 -0400 @@ -1,5 +1,10 @@ - + Convert BLAST XML output to tabular + + + + + blastxml_to_tabular.py --version blastxml_to_tabular.py -o "$tabular_file" @@ -11,11 +16,6 @@ #end if #for i in $blastxml_file#"${i}" #end for# - - - - - @@ -62,8 +62,6 @@ - - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_blastdbcmd_info.xml --- a/tools/ncbi_blast_plus/ncbi_blastdbcmd_info.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastdbcmd_info.xml Fri May 15 06:15:59 2015 -0400 @@ -1,14 +1,13 @@ - + Show BLAST database information from blastdbcmd blastdbcmd ncbi_macros.xml - + blastdbcmd -dbtype $db_opts.db_type -db "${db_opts.database.fields.path}" -info -out "$info" - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_blastdbcmd_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastdbcmd_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastdbcmd_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,10 +1,10 @@ - + Extract sequence(s) from BLAST database blastdbcmd ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -47,7 +47,6 @@ | sed 's/>\(lcl|\|gnl|BL_ORD_ID|[0-9]* \)/>/1' > "$seq" #end if - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,4 +1,4 @@ - + Search nucleotide database with nucleotide query sequence(s) @@ -6,7 +6,7 @@ blastn ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -31,14 +31,9 @@ ## End of advanced options: #end if - - - - - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_blastp_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastp_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastp_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,4 +1,4 @@ - + Search protein database with protein query sequence(s) @@ -6,7 +6,7 @@ blastp ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -29,9 +29,6 @@ ## End of advanced options: #end if - - - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_blastx_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_blastx_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blastx_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,4 +1,4 @@ - + Search protein database with translated nucleotide query sequence(s) @@ -6,7 +6,7 @@ blastx ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -30,9 +30,6 @@ ## End of advanced options: #end if - - - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_convert2blastmask_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_convert2blastmask_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_convert2blastmask_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,10 +1,10 @@ - + Convert masking information in lower-case masked FASTA input to file formats suitable for makeblastdb convert2blastmask ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -16,7 +16,6 @@ -out "$outfile" -outfmt $outformat - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_dustmasker_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_dustmasker_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_dustmasker_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,11 +1,11 @@ - + masks low complexity regions dustmasker ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -20,7 +20,6 @@ -out "$outfile" -window $window -level $level -linker $linker -outfmt $outformat - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_macros.xml --- a/tools/ncbi_blast_plus/ncbi_macros.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_macros.xml Fri May 15 06:15:59 2015 -0400 @@ -1,9 +1,18 @@ - + @BINARY@ blast+ + + + + + + + + + @BINARY@ -version @@ -116,17 +125,6 @@ - - - - - - - - - - - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_makeblastdb.xml --- a/tools/ncbi_blast_plus/ncbi_makeblastdb.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_makeblastdb.xml Fri May 15 06:15:59 2015 -0400 @@ -1,10 +1,10 @@ - + Make BLAST database makeblastdb ncbi_macros.xml - + check_no_duplicates.py ##First check for duplicates (since BLAST+ 2.2.28 fails to do so) ##and abort (via the ampersand ampersand trick) if any are found. @@ -47,7 +47,6 @@ ## Capture the stdout log information to the primary file (plain text): > "$outfile" - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_makeprofiledb.xml --- a/tools/ncbi_blast_plus/ncbi_makeprofiledb.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_makeprofiledb.xml Fri May 15 06:15:59 2015 -0400 @@ -1,10 +1,10 @@ - + Make profile database makeprofiledb ncbi_macros.xml - + ##Unlike makeblastdb, makeprofiledb needs directory to exist already: mkdir -p $outfile.files_path && @@ -34,7 +34,13 @@ -logfile "$outfile" - + + +#for $infile in $input_file +${infile} +#end for + + - - -#for $infile in $input_file -${infile} -#end for - - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_rpsblast_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_rpsblast_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_rpsblast_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,4 +1,4 @@ - + Search protein domain database (PSSMs) with protein query sequence(s) @@ -6,7 +6,7 @@ deltablast ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -27,9 +27,6 @@ ## End of advanced options: #end if - - - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_rpstblastn_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_rpstblastn_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_rpstblastn_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,4 +1,4 @@ - + Search protein domain database (PSSMs) with translated nucleotide query sequence(s) @@ -6,7 +6,7 @@ rpstblastn ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -28,7 +28,6 @@ ## End of advanced options: #end if - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_segmasker_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_segmasker_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_segmasker_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,10 +1,10 @@ - + low-complexity regions in protein sequences segmasker ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -22,7 +22,6 @@ -hicut $hicut -outfmt $outformat - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_tblastn_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_tblastn_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_tblastn_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,4 +1,4 @@ - + Search translated nucleotide database with protein query sequence(s) @@ -6,7 +6,7 @@ tblastn ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -30,9 +30,6 @@ ## End of advanced options: #end if - - - diff -r 6119ddccd8a3 -r e98f6bd363ba tools/ncbi_blast_plus/ncbi_tblastx_wrapper.xml --- a/tools/ncbi_blast_plus/ncbi_tblastx_wrapper.xml Thu Apr 02 04:48:24 2015 -0400 +++ b/tools/ncbi_blast_plus/ncbi_tblastx_wrapper.xml Fri May 15 06:15:59 2015 -0400 @@ -1,4 +1,4 @@ - + Search translated nucleotide database with translated nucleotide query sequence(s) @@ -6,7 +6,7 @@ tblastx ncbi_macros.xml - + ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces @@ -29,9 +29,6 @@ ## End of advanced options: #end if - - -