# HG changeset patch # User peterjc # Date 1494939043 14400 # Node ID f61366a4a14e5228b2927390e37b7a8b24c6f2fa # Parent 77cfe958b5ea0d520329ad6921e65221d2c357c1 v0.0.10 Internal changes to command line handling diff -r 77cfe958b5ea -r f61366a4a14e tools/clinod/README.rst --- a/tools/clinod/README.rst Tue Sep 01 06:54:03 2015 -0400 +++ b/tools/clinod/README.rst Tue May 16 08:50:43 2017 -0400 @@ -73,6 +73,8 @@ v0.0.8 - Reorder XML elements (internal change only). - Planemo for Tool Shed upload (``.shed.yml``, internal change only). v0.0.9 - Explicitly record clinod version via ````. +v0.0.10 - Use ```` (internal change only). + - Single quote command line arguments (internal change only). ======= ====================================================================== @@ -89,17 +91,17 @@ 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_update -t testtoolshed --check_diff ~/repositories/pico_galaxy/tools/clinod/ + $ planemo shed_update -t testtoolshed --check_diff tools/clinod/ ... or:: - $ planemo shed_update -t toolshed --check_diff ~/repositories/pico_galaxy/tools/clinod/ + $ planemo shed_update -t toolshed --check_diff tools/clinod/ ... To just build and check the tar ball, use:: - $ planemo shed_upload --tar_only ~/repositories/pico_galaxy/tools/clinod/ + $ planemo shed_upload --tar_only tools/clinod/ ... $ tar -tzf shed_upload.tar.gz test-data/four_human_proteins.fasta diff -r 77cfe958b5ea -r f61366a4a14e tools/clinod/clinod.xml --- a/tools/clinod/clinod.xml Tue Sep 01 06:54:03 2015 -0400 +++ b/tools/clinod/clinod.xml Tue May 16 08:50:43 2017 -0400 @@ -1,24 +1,18 @@ - + Find nucleolar localization signals (NoLSs) in protein sequences - java clinod - - - - - ##The first non-blank line contains the version information, e.g. ##NucleOlar localization sequence Detector v. 1.3b (13 May 2011) ##Question: Why don't we have to escape the dollar here? java -jar $CLINOD/clinod-1.3.jar | grep -i "^NucleOlar localization sequence Detector" - + ##The Galaxy Tool Shed installation should define $CLINOD to point at folder ##containing both clinod-1.3.jar and the batchman binary: -java -jar \$CLINOD/clinod-1.3.jar -in="$fasta_file" -out="$tabular_file" -t="\$GALAXY_SLOTS" -f=MEDIUM_TAB -nonols -clean_sequence +java -jar \$CLINOD/clinod-1.3.jar -in='$fasta_file' -out='$tabular_file' -t="\${GALAXY_SLOTS:-4}" -f=MEDIUM_TAB -nonols -clean_sequence ##TODO - Make the -clean_sequence argument a parameter? diff -r 77cfe958b5ea -r f61366a4a14e tools/clinod/tool_dependencies.xml --- a/tools/clinod/tool_dependencies.xml Tue Sep 01 06:54:03 2015 -0400 +++ b/tools/clinod/tool_dependencies.xml Tue May 16 08:50:43 2017 -0400 @@ -2,21 +2,34 @@ - + + + + + + https://depot.galaxyproject.org/software/clinod/clinod_1.3_src_all.jar + clinod-1.3.jar$INSTALL_DIR/ + + + https://depot.galaxyproject.org/software/SNNS/SNNS_4.3_linux_x64.tar.gz + tar -zxvf SNNSv4.3.tar.gz + SNNSv4.3/tools/bin/x86_64-pc-unknown-linux-gnuoldld/batchman$INSTALL_DIR/ + + + echo "ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported." + echo "Your machine details (the output from 'uname' and 'arch'):" + uname + arch + echo "Please report this via https://github.com/peterjc/pico_galaxy/issues - thank you!" + false + + + - $INSTALL_DIR + $INSTALL_DIR/ - - wget http://www.ra.cs.uni-tuebingen.de/downloads/SNNS/SNNSv4.3.tar.gz - tar -zxvf SNNSv4.3.tar.gz - SNNSv4.3/tools/bin/x86_64-pc-unknown-linux-gnuoldld/batchman$INSTALL_DIR/ - - wget http://www.compbio.dundee.ac.uk/nod/downloads/clinod-1.3.jar - - + Downloads and installs the command line NoD (clinod) JAR file and the binary @@ -31,4 +44,3 @@ -