Skip to content

Commit 47c10bb

Browse files
authored
[ci skip] Merge PR 25932
Merge PR #25932, commits were: * Add [de]activate scripts to workaround cbcrg/tcoffee#27 * Skip osx Just running `t_coffee` fails with: ``` 04:33:21 BIOCONDA INFO (OUT) -max_n_proc D [0] 1 04:33:21 BIOCONDA INFO (OUT) 04:33:21 BIOCONDA INFO (OUT) 04:33:21 BIOCONDA INFO (OUT) ************************************************************************************************* 04:33:21 BIOCONDA INFO (OUT) * FULL TRACE BACK PID: 2901 04:33:21 BIOCONDA INFO (OUT) 2901 -- ERROR: COREDUMP: T-COFFEE Version_13.45.32.7d81f5b (2020-12-18 11:45:26 - Revision 7d7e789 - Build 647) 04:33:21 BIOCONDA INFO (OUT) ************************************************************************************************* 04:33:21 BIOCONDA INFO (OUT) 04:33:21 BIOCONDA INFO (OUT) ****************************************************************** 04:33:21 BIOCONDA INFO (OUT) * Abnormal Termination 04:33:21 BIOCONDA INFO (OUT) * Job NOT Completed:[T-COFFEE, Version_13.45.32.7d81f5b] 04:33:21 BIOCONDA INFO (OUT) * Please CHECK: 04:33:21 BIOCONDA INFO (OUT) * -1 The format of your Input Files 04:33:21 BIOCONDA INFO (OUT) * -2 The parameters 04:33:21 BIOCONDA INFO (OUT) * -3 The use of special characters in sequence names: 04:33:21 BIOCONDA INFO (OUT) * (@, |, %...) 04:33:21 BIOCONDA INFO (OUT) * -4 The Online Doc (http://www.tcoffee.org) 04:33:21 BIOCONDA INFO (OUT) * -5 re-run your CL (see below) with the -debug option. This will produce a debug file you can send us. 04:33:21 BIOCONDA INFO (OUT) * 04:33:21 BIOCONDA INFO (OUT) * NO 04:33:21 BIOCONDA INFO (OUT) * to: 04:33:21 BIOCONDA INFO (OUT) * [email protected] 04:33:21 BIOCONDA INFO (OUT) * If you run T-Coffee over the WEB: 04:33:21 BIOCONDA INFO (OUT) * Windows Cut and Paste is sometimes erratic and 04:33:21 BIOCONDA INFO (OUT) * it can loose carriage returns. If you suspect this, 04:33:21 BIOCONDA INFO (OUT) * try to cut and paste through an intermediate application 04:33:21 BIOCONDA INFO (OUT) * (word pad) and inspect the results 04:33:21 BIOCONDA INFO (OUT) 04:33:21 BIOCONDA INFO (OUT) 04:33:21 BIOCONDA INFO (OUT) * CONFIDENTIALITY: 04:33:21 BIOCONDA INFO (OUT) * The File NO may contain your personal DATA 04:33:21 BIOCONDA INFO (OUT) * Remove ALL confidential DATA from this file BEFORE sending it 04:33:21 BIOCONDA INFO (OUT) ****************************************************************** 04:33:21 BIOCONDA INFO (OUT) # Command Line: t_coffee [PROGRAM:T-COFFEE] 04:33:21 BIOCONDA INFO (OUT) 04:33:21 BIOCONDA INFO (OUT) # TERMINATION STATUS: FAILURE [PROGRAM: T-COFFEE pid 2901 ppid 2895 04:33:21 BIOCONDA INFO (OUT) #CL: t_coffee ``` * Update t-coffee to 13.45.0.4846264
1 parent ffccc76 commit 47c10bb

File tree

4 files changed

+26
-10
lines changed

4 files changed

+26
-10
lines changed

recipes/t-coffee/activate.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
export MAX_N_PID_4_TCOFFEE=$(cat /proc/sys/kernel/pid_max)

recipes/t-coffee/build.sh

+8
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@ make CC=$CXX CFLAGS="$CFLAGS"
1515
# install tcoffee in the target bin directory
1616
mkdir -p $PREFIX/bin
1717
cp t_coffee $PREFIX/bin
18+
19+
# Copy the [de]activate scripts to $PREFIX/etc/conda/[de]activate.d.
20+
# This will allow them to be run on environment activation.
21+
for CHANGE in "activate" "deactivate"
22+
do
23+
mkdir -p "${PREFIX}/etc/conda/${CHANGE}.d"
24+
cp "${RECIPE_DIR}/${CHANGE}.sh" "${PREFIX}/etc/conda/${CHANGE}.d/${PKG_NAME}_${CHANGE}.sh"
25+
done

recipes/t-coffee/deactivate.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
unset MAX_N_PID_4_TCOFFEE

recipes/t-coffee/meta.yaml

+14-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
{% set version = "13.39.0.d675aed" %}
1+
{% set version = "13.45.0.4846264" %}
22

33
package:
44
name: t-coffee
55
version: {{ version }}
66

77
build:
8-
number: 2
8+
number: 0
9+
skip: True # [osx]
910

1011
source:
11-
url: http://tcoffee.org/Packages/Stable/Latest/T-COFFEE_distribution_Version_{{ version }}.tar.gz
12-
sha256: 33e0eb17fe5a88e59ddeaad2e54782e3ab5b2f70d8654e54aff1ccc4e5cc127f
12+
# The latest stable release is at http://www.tcoffee.org/Packages/Stable/Latest/ ,
13+
# but is then archived at http://www.tcoffee.org/Packages/Archives/
14+
url: http://www.tcoffee.org/Packages/Archives/T-COFFEE_distribution_Version_{{ version }}.tar.gz
15+
sha256: c8e5ba17de11ddf07cf2ed37f077d81c1432d55b77761f115f9374de6f8d0d03
1316

1417
requirements:
1518
build:
@@ -19,26 +22,27 @@ requirements:
1922
- blast
2023
- clustalo
2124
- clustalw
25+
- consan # [not osx]
2226
- dca
2327
- dialign-tx=1.0.2
2428
- mafft=7.310
2529
- muscle
2630
- mustang=3.2.3
31+
- pasta
2732
- poa=2.0 # [not osx]
2833
- prank
2934
- phylip
30-
- viennarna=2.1.9
31-
- consan # [not osx]
32-
- pasta
33-
- tmalign
3435
- ruby
36+
- tmalign
37+
- viennarna=2.1.9
3538

3639
test:
3740
commands:
38-
- HOME=/tmp/ t_coffee -version
41+
- HOME=/tmp t_coffee -version
42+
- HOME=/tmp t_coffee 2>&1 | grep "mafft is Installed"
3943

4044
about:
41-
home: "https://github.com/cbcrg/tcoffee"
45+
home: http://www.tcoffee.org/Projects/tcoffee/
4246
license: "GPL"
4347
summary: "A collection of tools for Multiple Alignments of DNA, RNA, Protein Sequence"
4448

0 commit comments

Comments
 (0)