[Debian-med-packaging] Bug#918765: hhsuite-data: does not provide /usr/share/hhsuite/data/context_data.crf

Andrius Merkys andrius.merkys at gmail.com
Wed Jan 9 06:38:02 GMT 2019


Package: hhsuite-data
Severity: important
Control: tags -1 + patch

Hello,

hhsuite-data does not provide /usr/share/hhsuite/data/context_data.crf, which is the default context file for computing context-specific pseudocounts. This effectively breaks hhmake and hhblits unless path to existing context_data.crf is provided via '-contxt' command line option.

Steps to reproduce:

andrius at amalas:~$ gunzip -c /usr/share/doc/hhsuite/examples/query.a3m.gz > query.a3m
andrius at amalas:~$ hhmake -i query.a3m
- 01:33:47.860 ERROR: Could not open file '/usr/share/hhsuite/data/context_data.crf'

The following patch should fix the bug (was not able to try due to #917495):

diff --git a/debian/hhsuite-data.install b/debian/hhsuite-data.install
index e4403f1..f7d762c 100644
--- a/debian/hhsuite-data.install
+++ b/debian/hhsuite-data.install
@@ -1,4 +1,6 @@
 usr/data/context_data.lib usr/share/hhsuite/data
+usr/data/context_data.crf usr/share/hhsuite/data
 usr/data/cs219.lib usr/share/hhsuite/data
 usr/data/context_data.lib usr/lib/hhsuite/data
+usr/data/context_data.crf usr/lib/hhsuite/data
 usr/data/cs219.lib usr/lib/hhsuite/data
diff --git a/debian/hhsuite-data.links b/debian/hhsuite-data.links
index 4efda75..e9a226f 100644
--- a/debian/hhsuite-data.links
+++ b/debian/hhsuite-data.links
@@ -1,2 +1,3 @@
 usr/share/hhsuite/data/context_data.lib usr/lib/hhsuite/data/context_data.lib
+usr/share/hhsuite/data/context_data.crf usr/lib/hhsuite/data/context_data.crf
 usr/share/hhsuite/data/cs219.lib usr/lib/hhsuite/data/cs219.lib

Best,
Andrius

[#917495] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917495

-- 
Andrius Merkys
Vilnius University Institute of Biotechnology, Saulėtekio al. 7, room V325
LT-10257 Vilnius, Lithuania



More information about the Debian-med-packaging mailing list