# HG changeset patch # User bgruening # Date 1566484236 14400 # Node ID a072cb20757171000cc079187263f0d82f165a17 # Parent d00ae56d3ba5da2ae87c1bd3e092d2288bcef608 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit a889b6ed75666406a95e29d672b58a8fee6e8784" diff -r d00ae56d3ba5 -r a072cb207571 macros.xml --- a/macros.xml Fri May 10 08:53:48 2019 -0400 +++ b/macros.xml Thu Aug 22 10:30:36 2019 -0400 @@ -1,5 +1,5 @@ - 2.4.2 + 2.4.2.1 diff -r d00ae56d3ba5 -r a072cb207571 ob_convert.xml --- a/ob_convert.xml Fri May 10 08:53:48 2019 -0400 +++ b/ob_convert.xml Thu Aug 22 10:30:36 2019 -0400 @@ -13,28 +13,37 @@ #set $format = $oformat.oformat_opts_selector - #if $format == "fs": + #if $format == 'fs': ## For the fastsearch index we need to copy the original molecule files to the composite datatype of obfs. ## Because openbabel likes file extensions, we give the molecule file a proper file extension. mkdir $outfile.files_path; - cp "${infile}" ${os.path.join($outfile.files_path, 'molecule.%s' % $infile.ext )}; + cp '${infile}' ${os.path.join($outfile.files_path, 'molecule.%s' % $infile.ext )}; + #end if + + #if $split == 'true': + mkdir output && #end if - obabel -i "${infile.ext}" + obabel -i '${infile.ext}' - #if $format == "fs": + #if $format == 'fs': ## the fs filetype need his own symlink path, all others can take the original ones ${os.path.join($outfile.files_path, 'molecule.%s' % $infile.ext )} - -o "$format" -e + -o '$format' -e -O ${os.path.join($outfile.files_path,'molecule.fs')} #if int($oformat.fs_fold) > 0: -xN$oformat.fs_fold #end if ${oformat.fs_fptype} #else: - "${infile}" - -o "${format}" - -O "${outfile}" + '${infile}' + -o '${format}' + #if $split == 'true': + -O 'output/molecule.$format' + -m + #else: + -O '${outfile}' + #end if -e #end if @@ -188,6 +197,7 @@ + @@ -335,6 +345,7 @@ + @@ -379,6 +390,7 @@ + @@ -415,6 +427,7 @@ + split == False @@ -424,9 +437,15 @@ + + + + split == True + + @@ -462,6 +481,15 @@ + + + + + + + + +