Skip to content

Commit

Permalink
Update LotuS2 wrapper to 2.28.1
Browse files Browse the repository at this point in the history
Add check that the DB directory is present, due to the changes
introduced in bioconda/bioconda-recipes#41675 .

Update test data.
  • Loading branch information
nsoranzo committed Nov 9, 2023
1 parent 1632994 commit 534b656
Show file tree
Hide file tree
Showing 6 changed files with 635 additions and 939 deletions.
1 change: 1 addition & 0 deletions .tt_biocontainer_skip
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
tools/ete
tools/lotus2
16 changes: 13 additions & 3 deletions tools/lotus2/lotus2.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<tool id="lotus2" name="LotuS2" version="@VERSION@+galaxy2" profile="20.09">
<tool id="lotus2" name="LotuS2" version="@VERSION@+galaxy0" profile="20.09">
<description>fast OTU processing pipeline</description>
<macros>
<token name="@VERSION@">2.23</token>
<token name="@VERSION@">2.28.1</token>
<xml name="refDB_macro" token_ref_fasta_formats="fasta,fasta.gz">
<conditional name="refDB_cond">
<param argument="-refDB" type="select" label="Taxonomy reference database">
Expand Down Expand Up @@ -39,8 +39,18 @@
</requirements>
<version_command>lotus2 --version</version_command>
<command detect_errors="exit_code"><![CDATA[
#import os.path
#import re
LOTUS2_DIR=\$(dirname "\$(realpath "\$(which lotus2)")") &&
if [ ! -e "\$LOTUS2_DIR/DB" ]; then
{
echo "LotuS2 databases missing in \$LOTUS2_DIR, these needs to be installed with:" &&
echo "perl autoInstall.pl -condaDBinstall" &&
echo "We currently recommend to use a conda environment instead of a biocontainer to prevent this problem.";
} >&2 &&
exit 1;
fi &&
#def symlink_basename($f, strip_ext=False):
#set $fn = re.sub('[^\w\-_.]', '_', $f.name)
#if strip_ext:
Expand Down
Loading

0 comments on commit 534b656

Please sign in to comment.