# HG changeset patch # User bgruening # Date 1557249639 14400 # Node ID 3004897342b253ce2237367e1a1286489c575587 # Parent fda428d755d755a596fea6f31db6ebf6cf7baf45 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit ed9b6859de648aa5f7cde483732f5df20aaff90e diff -r fda428d755d7 -r 3004897342b2 macros.xml --- a/macros.xml Mon Sep 03 16:32:50 2018 -0400 +++ b/macros.xml Tue May 07 13:20:39 2019 -0400 @@ -1,9 +1,10 @@ - 2.4.1 + 2.4.2 openbabel + python @@ -37,6 +38,3 @@ - - - diff -r fda428d755d7 -r 3004897342b2 ob_grep.xml --- a/ob_grep.xml Mon Sep 03 16:32:50 2018 -0400 +++ b/ob_grep.xml Tue May 07 13:20:39 2019 -0400 @@ -1,5 +1,5 @@ - - an advanced molecular grep program using SMARTS + + - an advanced molecular search program using SMARTS macros.xml @@ -7,28 +7,55 @@ '${outfile}' + + #if $input_type.inp == 'single': + obgrep + $invert_matches + #if $n_times: + -t $n_times + #end if + $only_name + $full_match + $number_of_matches + -i '${infile.ext}' + '${input_type.smarts_pattern}' + '${infile}' + > '${outfile}' + #else if $input_type.inp == 'multi': + python '$__tool_directory__/multi_obgrep.py' + -i $infile + --iformat ${infile.ext} + -q '${input_type.query}' + -o '${outfile}' + $invert_matches + --n-times $n_times + $only_name + $full_match + $number_of_matches + --processors "\${GALAXY_SLOTS:-12}" + #end if + ]]> - - - + + + + + + + + + + + + + + - + @@ -38,6 +65,7 @@ + @@ -45,6 +73,12 @@ + + + + + +