# HG changeset patch # User galaxyp # Date 1607197889 0 # Node ID 704cace078c42a32e643862a4c4a92ec9a843d8e # Parent 1533239ed6f29561bc76bd1574fcfee6d3466c83 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3cafa1cc1ea87eb7a0dc0e7aae013780c3565178" diff -r 1533239ed6f2 -r 704cace078c4 CometAdapter.xml --- a/CometAdapter.xml Fri Nov 06 19:19:46 2020 +0000 +++ b/CometAdapter.xml Sat Dec 05 19:51:29 2020 +0000 @@ -1,7 +1,7 @@ - + Annotates MS/MS spectra using Comet. CometAdapter diff -r 1533239ed6f2 -r 704cace078c4 bump.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bump.json Sat Dec 05 19:51:29 2020 +0000 @@ -0,0 +1,9 @@ +{ +"AssayGeneratorMetabo": 1, +"LuciphorAdapter": 1, +"MSFraggerAdapter": 1, +"MSGFPlusAdapter": 1, +"NovorAdapter": 1, +"PSMFeatureExtractor": 1, +"SiriusAdapter": 1 +} diff -r 1533239ed6f2 -r 704cace078c4 generate.sh --- a/generate.sh Fri Nov 06 19:19:46 2020 +0000 +++ b/generate.sh Sat Dec 05 19:51:29 2020 +0000 @@ -6,8 +6,8 @@ ## FILETYPES_RE=$(grep -v "^#" $FILETYPES | grep -v "^$" | cut -f 1 -d" " | tr '\n' '|' | sed 's/|$//'| sed 's/|/\\|/g') export tmp=$(mktemp -d) + export CTDCONVERTER="$tmp/CTDConverter" - ############################################################################### ## reset old data ############################################################################### @@ -56,12 +56,14 @@ find . -maxdepth 0 -name "[A-Z]*xml" -delete source $(dirname $(which conda))/../etc/profile.d/conda.sh conda activate $tmp/OpenMS$VERSION-env -python $CTDCONVERTER/convert.py galaxy -i ctd/*ctd -o ./ -s tools_blacklist.txt -f "$FILETYPES" -m macros.xml -t tool.conf -p hardcoded_params.json --test-macros macros_autotest.xml --test-macros-prefix autotest_ --test-macros macros_test.xml --test-macros-prefix manutest_ --tool-version $VERSION --tool-profile $PROFILE > convert.out 2> convert.err +python $CTDCONVERTER/convert.py galaxy -i ctd/*ctd -o ./ -s tools_blacklist.txt -f "$FILETYPES" -m macros.xml -t tool.conf -p hardcoded_params.json --test-macros macros_autotest.xml --test-macros-prefix autotest_ --test-macros macros_test.xml --test-macros-prefix manutest_ --tool-version $VERSION --tool-profile $PROFILE --bump-file bump.json > convert.out 2> convert.err if [[ "$?" -ne "0" ]]; then >&2 echo 'CTD -> XML conversion failed'; >&2 echo -e "stderr:\n$(cat convert.err)"; fi conda deactivate patch PepNovoAdapter.xml < PepNovoAdapter.patch patch OMSSAAdapter.xml < OMSSAAdapter.patch +# this should not be necessary from 2.7 https://github.com/OpenMS/OpenMS/pull/5087 +patch PSMFeatureExtractor.xml < PSMFeatureExtractor.patch # https://github.com/OpenMS/OpenMS/pull/4984 sed -i -e 's@http://www.openms.de/documentation/@http://www.openms.de/doxygen/release/2.6.0/html/@' ./*xml diff -r 1533239ed6f2 -r 704cace078c4 hardcoded_params.json --- a/hardcoded_params.json Fri Nov 06 19:19:46 2020 +0000 +++ b/hardcoded_params.json Sat Dec 05 19:51:29 2020 +0000 @@ -122,6 +122,9 @@ "sirius:cores": [{ "value": "${GALAXY_SLOTS:-1}" }], + "out_workspace_directory": [{ + "value": "__SIRIUS_WORKSPACE__" + }], "#": "hardcode the outer loop threads for OpenSwathWorkflow", "outer_loop_threads": [{ diff -r 1533239ed6f2 -r 704cace078c4 macros.xml --- a/macros.xml Fri Nov 06 19:19:46 2020 +0000 +++ b/macros.xml Sat Dec 05 19:51:29 2020 +0000 @@ -4,7 +4,6 @@ add additional macro files using the m/macros parameter --> 2.6 - 0 openms @@ -21,6 +20,7 @@ + diff -r 1533239ed6f2 -r 704cace078c4 macros_autotest.xml --- a/macros_autotest.xml Fri Nov 06 19:19:46 2020 +0000 +++ b/macros_autotest.xml Sat Dec 05 19:51:29 2020 +0000 @@ -126,7 +126,6 @@ -
@@ -195,7 +194,6 @@ -
@@ -264,7 +262,6 @@ -
@@ -333,7 +330,6 @@ -
@@ -402,7 +398,6 @@ -
@@ -471,7 +466,6 @@ -
@@ -540,7 +534,6 @@ -
@@ -609,7 +602,6 @@ -
@@ -678,7 +670,6 @@ -
@@ -24819,6 +24810,8 @@ + + @@ -25472,7 +25465,6 @@ -
@@ -25515,7 +25507,6 @@ -
@@ -25558,7 +25549,6 @@ -
@@ -25601,7 +25591,6 @@ -
@@ -25644,7 +25633,6 @@ -
@@ -25687,7 +25675,6 @@ -
@@ -25731,7 +25718,6 @@ -
@@ -27202,4 +27188,4 @@ - + diff -r 1533239ed6f2 -r 704cace078c4 macros_test.xml --- a/macros_test.xml Fri Nov 06 19:19:46 2020 +0000 +++ b/macros_test.xml Sat Dec 05 19:51:29 2020 +0000 @@ -335,6 +335,7 @@ + @@ -354,6 +355,13 @@ + + + + + + + diff -r 1533239ed6f2 -r 704cace078c4 prepare_test_data_manual.sh --- a/prepare_test_data_manual.sh Fri Nov 06 19:19:46 2020 +0000 +++ b/prepare_test_data_manual.sh Sat Dec 05 19:51:29 2020 +0000 @@ -86,10 +86,13 @@ PhosphoScoring -in spectra.mzML -id MSGFPlusAdapter_1_out1.tmp -out PhosphoScoring.idxml > PhosphoScoring.stdout 2> stderr if [[ "$?" -ne "0" ]]; then >&2 echo 'PhosphoScoring failed'; >&2 echo -e "stderr:\n$(cat stderr | sed 's/^/ /')"; fi -PSMFeatureExtractor -test -in MSGFPlusAdapter_1_out.idXML XTandemAdapter_1_out.idXML -multiple_search_engines -skip_db_check -out PSMFeatureExtractor.idxml > PSMFeatureExtractor_1.stdout 2> stderr +# TODO PSMFeatureExtractor should have auto tests with 2.7 https://github.com/OpenMS/OpenMS/pull/5087 +PSMFeatureExtractor -test -in MSGFPlusAdapter_1_out.idXML XTandemAdapter_1_out.idXML -multiple_search_engines -skip_db_check -out_type idXML -out PSMFeatureExtractor.idxml > PSMFeatureExtractor_1.stdout 2> stderr if [[ "$?" -ne "0" ]]; then >&2 echo 'PSMFeatureExtractor_1 failed'; >&2 echo -e "stderr:\n$(cat stderr | sed 's/^/ /')"; fi -PSMFeatureExtractor -test -in MSGFPlusAdapter_1_out.idXML XTandemAdapter_1_out.idXML -multiple_search_engines -skip_db_check -out PSMFeatureExtractor.mzid > PSMFeatureExtractor_2.stdout 2> stderr +PSMFeatureExtractor -test -in MSGFPlusAdapter_1_out.idXML XTandemAdapter_1_out.idXML -multiple_search_engines -skip_db_check -out_type mzid -out PSMFeatureExtractor.mzid > PSMFeatureExtractor_2.stdout 2> stderr if [[ "$?" -ne "0" ]]; then >&2 echo 'PSMFeatureExtractor_2 failed'; >&2 echo -e "stderr:\n$(cat stderr | sed 's/^/ /')"; fi +PSMFeatureExtractor -test -in MSGFPlusAdapter_1_out.idXML -out_type idXML -out PSMFeatureExtractor_3.idXML > PSMFeatureExtractor_3.stdout 2> stderr +if [[ "$?" -ne "0" ]]; then >&2 echo 'PSMFeatureExtractor_3 failed'; >&2 echo -e "stderr:\n$(cat stderr | sed 's/^/ /')"; fi QCCalculator -test -in OpenPepXL_input.mzML -out QCCalculator1.qcML > QCCalculator_1.stdout 2> stderr if [[ "$?" -ne "0" ]]; then >&2 echo 'QCCalculator_1 failed'; >&2 echo -e "stderr:\n$(cat stderr | sed 's/^/ /')"; fi diff -r 1533239ed6f2 -r 704cace078c4 readme.md --- a/readme.md Fri Nov 06 19:19:46 2020 +0000 +++ b/readme.md Sat Dec 05 19:51:29 2020 +0000 @@ -22,11 +22,14 @@ Manual updates should only be done to -- the `@GALAXY_VERSION@"` token in `macros.xml` - and the manually contributed tests in `macros_test.xml` (The goal is that all tools that do not have an automatically generated test are covered here) - the `hardcoded_params.json` files +Wrapper versions are managed in `bump.json`. For tools listed in the file +the wrapper version will be set accordingly and otherwise `0` is used. +For a major update of the tool version the bump file should be reset (to `{}`). + In a few cases patches may be acceptable. Installation