Skip to content

Commit 204bc58

Browse files
committed
add conservation_hmm model and config
1 parent f9e1705 commit 204bc58

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ apply plugin: 'idea'
2020

2121

2222
group = 'cz.siret'
23-
version = '2.4-dev.3'
23+
version = '2.3.1'
2424

2525

2626
description = 'Ligand binding site prediction based on machine learning.'
@@ -53,7 +53,6 @@ processResources {
5353
]
5454
}
5555

56-
5756
task copyDependenciesToDist( type: Copy ) {
5857
into "$buildDir/../distro/bin/lib"
5958
from configurations.runtimeClasspath
@@ -179,4 +178,3 @@ dependencies {
179178
testImplementation 'junit:junit:4.13.2'
180179

181180
}
182-
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import cz.siret.prank.program.params.Params
2+
3+
/**
4+
* P2Rank configuration for use with the new, HMMER-based conservation pipeline.
5+
*/
6+
(params as Params).with {
7+
8+
model = "conservation_hmm.model"
9+
10+
features = ["chem","volsite","protrusion","bfactor","conservation"]
11+
12+
load_conservation = true
13+
14+
}
34 MB
Binary file not shown.

src/main/groovy/cz/siret/prank/program/routines/results/Evaluation.groovy

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import cz.siret.prank.utils.MathUtils
1212
import groovy.util.logging.Slf4j
1313
import org.apache.commons.lang3.StringUtils
1414

15+
import javax.annotation.concurrent.ThreadSafe
16+
1517
import static cz.siret.prank.geom.Atoms.intersection
1618
import static cz.siret.prank.geom.Atoms.union
1719
import static cz.siret.prank.utils.Cutils.head
@@ -23,9 +25,8 @@ import static java.util.Collections.emptyList
2325
* Represents evaluation of pocket prediction on a dataset of proteins
2426
*
2527
* Allows to collect results for a set of different pocket identification success criteria simultaneously.
26-
*
27-
* Threadsafe.
2828
*/
29+
@ThreadSafe
2930
@Slf4j
3031
class Evaluation implements Parametrized {
3132

0 commit comments

Comments
 (0)