Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
003ec93
Update tcofffee version
JoseEspinosa Dec 4, 2024
6cd736a
Fix environment solving issue
JoseEspinosa Dec 4, 2024
3d06186
Fix tyop and update all the remaining ping dependencies
JoseEspinosa Dec 4, 2024
9886469
Update meta.yaml
mencian Dec 4, 2024
2ebe750
Update build.sh
mencian Dec 4, 2024
80566ea
clean up recipe
mencian Dec 4, 2024
96c51f0
Update meta.yaml
mencian Dec 5, 2024
ffbc33c
Update build.sh
mencian Dec 5, 2024
398ff81
Update build.sh
mencian Dec 5, 2024
50faf5a
Update build.sh
mencian Dec 5, 2024
3a8ade5
Merge branch 'master' into update_tcoffe
mencian Dec 5, 2024
250568a
Merge branch 'master' into update_tcoffe
JoseEspinosa Dec 5, 2024
0ee4e3b
Update build.sh
mencian Dec 9, 2024
d6b4519
Update build.sh
mencian Dec 9, 2024
37c0681
Update build.sh
mencian Dec 9, 2024
d7a9d8b
Update build.sh
mencian Dec 10, 2024
5694802
Merge branch 'master' into update_tcoffe
JoseEspinosa Jan 9, 2025
bdf9632
Update meta.yaml
mencian Jan 9, 2025
b5204f2
Revert rm tcoffee installed binaries
JoseEspinosa Jan 10, 2025
e1c204b
Merge branch 'master' into update_tcoffe
JoseEspinosa Jan 10, 2025
cd4a108
Reverting last change
JoseEspinosa Jan 10, 2025
3e499ec
Merge branch 'master' into update_tcoffe
mencian Jun 10, 2025
4b90bd7
Update build.sh
mencian Jun 10, 2025
82dc555
Update meta.yaml
mencian Jun 10, 2025
dfdf8ce
Update build.sh
mencian Jun 10, 2025
de9308d
Update build.sh
mencian Jun 10, 2025
3910cd4
Update build.sh
mencian Jun 10, 2025
6b9463b
Update build.sh
mencian Jun 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 26 additions & 20 deletions recipes/t-coffee/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
#
set -eux -o pipefail
# silence some LANG perl warning messages:
export LANG=C.UTF-8
export LC_ALL="en_US.UTF-8"
export CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"

SHARE_DIR="${PREFIX}/libexec/${PKG_NAME}-${PKG_VERSION}-${PKG_BUILDNUM}"
SHARE_DIR="${PREFIX}/share/${PKG_NAME}-${PKG_VERSION}-${PKG_BUILDNUM}"
OS=$(./install get_os)

# -fsigned-char is needed for aarch64; register needs to be hidden for os-x's C++ compiler
Expand All @@ -20,30 +22,34 @@ CFLAGS="${CFLAGS} -fsigned-char -Wno-write-strings -Dregister='' -O0"
rm -fv bin/${OS}/* # remove the download binaries - we rebuild

cd t_coffee_source
make -j ${CPU_COUNT} CFLAGS="${CFLAGS} -fsigned-char -Wno-write-strings -Dregister='' -O0" CC="${CXX}" LDFLAGS="${LDFLAGS}" FCC="${FC}" FFLAGS="${FFLAGS}" all
cp t_coffee TMalign ../bin/${OS}/ # overwrite the distributed x86 linux binary
make CFLAGS="${CFLAGS} -fsigned-char -Wno-write-strings -Wno-return-type -Dregister='' -O0" CC="${CXX}" LDFLAGS="${LDFLAGS}" FCC="${FC}" FFLAGS="${FFLAGS}" all -j"${CPU_COUNT}"
cp -f t_coffee TMalign ../bin/${OS}/ # overwrite the distributed x86 linux binary
cd ..

mkdir -p "${PREFIX}/bin"

# the t-coffee home only has plugins with x86_64 support; let's not
# download them. Instead use only bioconda's own installs.
# the t_coffee application is the only one from the set required by Bio::Tools::Run::Alignment::TCoffee
./install t_coffee -tcdir="${SHARE_DIR}" CC="${CXX}" CFLAGS="${CFLAGS}"

# # llvm-otool -l fails for these plugins on macosx
# if [ "$OS" = macosx ]
# then
# for bad_plug in probconsRNA prank
# do
# rm -fv "${SHARE_DIR}/plugins/macosx/${bad_plug}"
# done
# fi
./install t_coffee -tcdir="${SHARE_DIR}" CC="$CXX" CFLAGS="$CFLAGS -O3 -Wno-register -L${PREFIX}/lib"
./install tcoffee -tcdir="${SHARE_DIR}" CC="$CXX" CFLAGS="$CFLAGS -O3 -Wno-register -L${PREFIX}/lib"
./install rcoffee -tcdir="${SHARE_DIR}" CC="$CXX" CFLAGS="$CFLAGS -O3 -Wno-register -L${PREFIX}/lib"
./install seq_reformat -tcdir="${SHARE_DIR}" CC="$CXX" CFLAGS="$CFLAGS -O3 -Wno-register -L${PREFIX}/lib"
./install expresso -tcdir="${SHARE_DIR}" CC="$CXX" CFLAGS="$CFLAGS -O3 -Wno-register -L${PREFIX}/lib"
./install psicoffee -tcdir="${SHARE_DIR}" CC="$CXX" CFLAGS="$CFLAGS -O3 -Wno-register -L${PREFIX}/lib"
./install trmsd -tcdir="${SHARE_DIR}" CC="$CXX" CFLAGS="$CFLAGS -O3 -Wno-register -L${PREFIX}/lib"
./install accurate -tcdir="${SHARE_DIR}" CC="$CXX" CFLAGS="$CFLAGS -O3 -Wno-register -L${PREFIX}/lib"
./install 3dcoffee -tcdir="${SHARE_DIR}" CC="$CXX" CFLAGS="$CFLAGS -O3 -Wno-register -L${PREFIX}/lib"
./install mcoffee -tcdir="${SHARE_DIR}" CC="$CXX" CFLAGS="$CFLAGS -O3 -Wno-register -L${PREFIX}/lib"

# llvm-otool -l fails for these plugins on macosx
if [[ "${OS}" == "Darwin" ]]; then
for bad_plug in probconsRNA prank
do
rm -f "${SHARE_DIR}/plugins/macosx/${bad_plug}"
done
fi

# The installer may try to update dependencies and install them to bin/,
# which will cause conflicts with the dependencies as separately packaged.
# t_coffee itself is not installed here
rm -fv ${PREFIX}/bin/*

sed -e "s|CHANGEME|${SHARE_DIR}|" -e "s|__OS__|${OS}|" "$RECIPE_DIR/t_coffee.sh" > "${PREFIX}/bin/t_coffee"
# rm -fv ${PREFIX}/bin/*

sed -e 's|CHANGEME|${SHARE_DIR}|' -e 's|__OS__|${OS}|' "${RECIPE_DIR}/t_coffee.sh" > "${PREFIX}/bin/t_coffee"
19 changes: 12 additions & 7 deletions recipes/t-coffee/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{% set version = "13.46.1.b8b01e06" %}
{% set name = "t-coffee" %}
{% set version = "13.46.1.b8b01e06" %}

package:
name: {{ name }}
version: {{ version }}

build:
number: 0
number: 1
run_exports:
- {{ pin_subpackage('t-coffee', max_pin="x") }}
skip: True # [osx]

source:
# The latest stable release is at http://www.tcoffee.org/Packages/Stable/Latest/ ,
Expand All @@ -24,10 +24,10 @@ requirements:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('fortran') }}
- perl
- perl-xml-simple
- perl ==5.32.1
run:
- perl ==5.32.1
- perl
- clustalo ==1.2.4
- clustalw ==2.1
- consan ==1.2 # [not osx]
Expand Down Expand Up @@ -60,13 +60,18 @@ test:
- HOME=/tmp t_coffee 2>&1 | grep "sap is Installed" # [not osx]

about:
home: http://www.tcoffee.org/Projects/tcoffee/
home: "https://tcoffee.org/Projects/tcoffee/index.html"
license: GPL-2.0-only
license_family: GPL
license_file: license.txt
summary: "A collection of tools for Multiple Alignments of DNA, RNA, Protein Sequence"
summary: "A collection of tools for Multiple Alignments of DNA, RNA, Protein Sequence."
dev_url: "https://github.com/cbcrg/tcoffee"
doc_url: "https://tcoffee.org/Projects/tcoffee/documentation/index.html"

extra:
additional-platforms:
- linux-aarch64
identifiers:
- doi:10.1006/jmbi.2000.4042
- biotools:tcoffee
- usegalaxy-eu:t_coffee
Loading