diff --git a/core/io/src/main/java/uk/ac/ebi/interpro/scan/io/model/HmmerModelParser.java b/core/io/src/main/java/uk/ac/ebi/interpro/scan/io/model/HmmerModelParser.java index 7ba51c459b..b4d9374352 100644 --- a/core/io/src/main/java/uk/ac/ebi/interpro/scan/io/model/HmmerModelParser.java +++ b/core/io/src/main/java/uk/ac/ebi/interpro/scan/io/model/HmmerModelParser.java @@ -32,7 +32,11 @@ public class HmmerModelParser extends AbstractModelFileParser { * Matches the name line. * Group 1: Model name. */ - private static final Pattern NAME_LINE = Pattern.compile("^NAME\\s+(.+)$"); + // private static final Pattern NAME_LINE = Pattern.compile("^NAME\\s+(.+)$"); + + private static final Pattern NAME_LINE = Pattern.compile("^NAME\\s+(.*?)(?:\\$\\d+)?$"); + + // private static final Pattern NAME_LINE_SFLD = Pattern.compile("^NAME\\s+(.*?)(?:\\[\\d+\\])?$"); /** * Matches the Description line. diff --git a/core/jms-implementation/src/main/resources/application-default.properties b/core/jms-implementation/src/main/resources/application-default.properties index 99b089ba20..c88d9b48d5 100644 --- a/core/jms-implementation/src/main/resources/application-default.properties +++ b/core/jms-implementation/src/main/resources/application-default.properties @@ -78,12 +78,9 @@ binary.hmmer2.hmmsearch.path=${bin.directory}/hmmer/hmmer2/2.3.2/hmmsearch binary.hmmer2.hmmpfam.path=${bin.directory}/hmmer/hmmer2/2.3.2/hmmpfam # HMMER 3 -binary.hmmer3.path=${bin.directory}/hmmer/hmmer3/3.1b1 -binary.hmmer3.hmmscan.path=${bin.directory}/hmmer/hmmer3/3.1b1/hmmscan -binary.hmmer3.hmmsearch.path=${bin.directory}/hmmer/hmmer3/3.1b1/hmmsearch -binary.hmmer33.path=${bin.directory}/hmmer/hmmer3/3.3 -binary.hmmer33.hmmscan.path=${bin.directory}/hmmer/hmmer3/3.3/hmmscan -binary.hmmer33.hmmsearch.path=${bin.directory}/hmmer/hmmer3/3.3/hmmsearch +binary.hmmer3.path=${bin.directory}/hmmer/hmmer3/3.3 +binary.hmmer3.hmmscan.path=${bin.directory}/hmmer/hmmer3/3.3/hmmscan +binary.hmmer3.hmmsearch.path=${bin.directory}/hmmer/hmmer3/3.3/hmmsearch # Misc binary.getorf.path=${bin.directory}/nucleotide/getorf diff --git a/core/jms-implementation/src/main/resources/spring/jobs/jobAntiFam-context.xml b/core/jms-implementation/src/main/resources/spring/jobs/jobAntiFam-context.xml index 3ba51066c1..4f5ce2612e 100644 --- a/core/jms-implementation/src/main/resources/spring/jobs/jobAntiFam-context.xml +++ b/core/jms-implementation/src/main/resources/spring/jobs/jobAntiFam-context.xml @@ -39,7 +39,7 @@ - + diff --git a/core/jms-implementation/src/main/resources/spring/jobs/jobFunFam-context.xml b/core/jms-implementation/src/main/resources/spring/jobs/jobFunFam-context.xml index 85683c0326..5e7bcb6d0d 100644 --- a/core/jms-implementation/src/main/resources/spring/jobs/jobFunFam-context.xml +++ b/core/jms-implementation/src/main/resources/spring/jobs/jobFunFam-context.xml @@ -36,8 +36,8 @@ parent="abstractCathFunFamStep"> - - + + @@ -91,7 +91,7 @@ - + diff --git a/core/jms-implementation/src/main/resources/spring/jobs/jobGene3d-context.xml b/core/jms-implementation/src/main/resources/spring/jobs/jobGene3d-context.xml index f9b06f85cc..6461cbbc19 100644 --- a/core/jms-implementation/src/main/resources/spring/jobs/jobGene3d-context.xml +++ b/core/jms-implementation/src/main/resources/spring/jobs/jobGene3d-context.xml @@ -36,8 +36,8 @@ parent="abstractCathGene3dStep"> - - + + diff --git a/core/jms-implementation/src/main/resources/spring/jobs/jobHAMAP-context.xml b/core/jms-implementation/src/main/resources/spring/jobs/jobHAMAP-context.xml index 31393c8b2a..f705b9a228 100644 --- a/core/jms-implementation/src/main/resources/spring/jobs/jobHAMAP-context.xml +++ b/core/jms-implementation/src/main/resources/spring/jobs/jobHAMAP-context.xml @@ -39,8 +39,8 @@ parent="abstractHamapHMMStep"> - - + + diff --git a/core/jms-implementation/src/main/resources/spring/jobs/jobNCBIfam-context.xml b/core/jms-implementation/src/main/resources/spring/jobs/jobNCBIfam-context.xml index d1b6e7289a..4d649e42e8 100644 --- a/core/jms-implementation/src/main/resources/spring/jobs/jobNCBIfam-context.xml +++ b/core/jms-implementation/src/main/resources/spring/jobs/jobNCBIfam-context.xml @@ -38,7 +38,7 @@ - + diff --git a/core/jms-implementation/src/main/resources/spring/jobs/jobPIRSF-context.xml b/core/jms-implementation/src/main/resources/spring/jobs/jobPIRSF-context.xml index d1e61657e9..d3312b708b 100644 --- a/core/jms-implementation/src/main/resources/spring/jobs/jobPIRSF-context.xml +++ b/core/jms-implementation/src/main/resources/spring/jobs/jobPIRSF-context.xml @@ -41,8 +41,8 @@ - - + + @@ -69,7 +69,7 @@ - + diff --git a/core/jms-implementation/src/main/resources/spring/jobs/jobPanther-context.xml b/core/jms-implementation/src/main/resources/spring/jobs/jobPanther-context.xml index c2162fb671..0fa9ad5670 100644 --- a/core/jms-implementation/src/main/resources/spring/jobs/jobPanther-context.xml +++ b/core/jms-implementation/src/main/resources/spring/jobs/jobPanther-context.xml @@ -61,8 +61,8 @@ - - + + diff --git a/core/jms-implementation/src/main/resources/spring/jobs/jobPfam-context.xml b/core/jms-implementation/src/main/resources/spring/jobs/jobPfam-context.xml index 6fcfddbf6d..23a97c4d3d 100644 --- a/core/jms-implementation/src/main/resources/spring/jobs/jobPfam-context.xml +++ b/core/jms-implementation/src/main/resources/spring/jobs/jobPfam-context.xml @@ -40,8 +40,8 @@ parent="abstractPfamStep"> - - + + diff --git a/core/jms-implementation/src/main/resources/spring/jobs/jobSFLD-context.xml b/core/jms-implementation/src/main/resources/spring/jobs/jobSFLD-context.xml index f700b298ea..abdb13e070 100644 --- a/core/jms-implementation/src/main/resources/spring/jobs/jobSFLD-context.xml +++ b/core/jms-implementation/src/main/resources/spring/jobs/jobSFLD-context.xml @@ -48,8 +48,8 @@ - - + + diff --git a/core/jms-implementation/src/main/resources/spring/jobs/jobSuperFamily-context.xml b/core/jms-implementation/src/main/resources/spring/jobs/jobSuperFamily-context.xml index 617662749b..4d5b002ede 100644 --- a/core/jms-implementation/src/main/resources/spring/jobs/jobSuperFamily-context.xml +++ b/core/jms-implementation/src/main/resources/spring/jobs/jobSuperFamily-context.xml @@ -42,7 +42,7 @@ --> - + diff --git a/core/jms-implementation/support-mini-x86-32/interproscan.properties b/core/jms-implementation/support-mini-x86-32/interproscan.properties index e359f76138..853dd0825f 100644 --- a/core/jms-implementation/support-mini-x86-32/interproscan.properties +++ b/core/jms-implementation/support-mini-x86-32/interproscan.properties @@ -14,8 +14,7 @@ perl.command=perl python3.command=python3 # Binary file locations (required for setup.py) -binary.hmmer3.path=${bin.directory}/hmmer/hmmer3/3.1b1 -binary.hmmer33.path=${bin.directory}/hmmer/hmmer3/3.3 +binary.hmmer3.path=${bin.directory}/hmmer/hmmer3/3.3 #################################### # Member databases HMMs diff --git a/core/jms-implementation/support-mini-x86-32/setup.py b/core/jms-implementation/support-mini-x86-32/setup.py index 65fec213f8..2006e6fe91 100755 --- a/core/jms-implementation/support-mini-x86-32/setup.py +++ b/core/jms-implementation/support-mini-x86-32/setup.py @@ -80,10 +80,7 @@ def main(): ignore = {"binary.tmhmm.path", "funfam.hmm.path", "smart.hmm.path"} for key, path in properties.items(): if "hmm.path" in key and key not in ignore: - if key.startswith(("sfld", "superfamily")): - bin_key = "binary.hmmer3.path" - else: - bin_key = "binary.hmmer33.path" + bin_key = "binary.hmmer3.path" if os.path.isfile(path): hmmfiles = [path]