Mercurial > repos > iuc > raxml
changeset 3:14eb2acf30e3 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/raxml commit 7e554792519972b5988f8e451d7466a62cbbc626"
author | iuc |
---|---|
date | Sun, 15 Mar 2020 15:35:33 -0400 |
parents | a4b71be30c3c |
children | 73a469f7dc96 |
files | raxml.xml |
diffstat | 1 files changed, 8 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/raxml.xml Mon Dec 02 07:52:10 2019 -0500 +++ b/raxml.xml Sun Mar 15 15:35:33 2020 -0400 @@ -1,4 +1,4 @@ -<tool id="raxml" name="Phyogenetic reconstruction with RaXML" version="8.2.4+galaxy1"> +<tool id="raxml" name="Phyogenetic reconstruction with RaXML" version="8.2.4+galaxy2"> <description>- Maximum Likelihood based inference of large phylogenetic trees</description> <requirements> <requirement type="package" version="8.2.4">raxml</requirement> @@ -6,14 +6,13 @@ </requirements> <command detect_errors="exit_code"><![CDATA[ ## binary is hard-coded to the pthreads enabled raxml executable if threads > 1 -#set $slots = $getVar('GALAXY_SLOTS', 1) -#if $slots == 1: - raxmlHPC - ## Cannot have -T 1 -#else: - raxmlHPC-PTHREADS - -T $slots -#end if +slots=\${GALAXY_SLOTS:-1}; +if [ "\$slots" == "1" ]; then + bin="raxmlHPC"; +else + bin="raxmlHPC-PTHREADS -T \$slots"; +fi; +\$bin -s '$infile' -n galaxy #if $search_model_selector.model_type == 'aminoacid':