public int getOverlapLength ( HmmerResult other ) { int overlap = 0 ; for ( HmmerDomain d1 : getDomains ( ) ) { for ( HmmerDomain d2 : other . getDomains ( ) ) { overlap += getOverlap ( d1 , d2 ) ; } } return overlap ; }
Get the overlap between two HmmerResult objects