Package org.forester.surfacing
Interface CombinableDomains
- All Known Implementing Classes:
 AdjactantDirectedCombinableDomains,BasicCombinableDomains,DirectedCombinableDomains
public interface CombinableDomains
- 
Method Summary
Modifier and TypeMethodDescriptionvoidaddCombinableDomain(String protein_domain) To add a new combinable domain.voidaddKeyDomainProtein(String protein) This must return all domains in this set of combinable domains (i.e.Returns the combinable domain identifiers sorted in alphabetical manner: - keys are the combinable domain identifiers - values are the counts of proteins exhibiting a particular combinationReturns the domain whose combinable domains are in stored in this combinable domains.intReturns how many times the key domain is present in a given species genome.intReturns how many proteins with the key domain are present in a given species genome.intintgetNumberOfProteinsExhibitingCombination(String protein_domain) Returns the species of this combinable domains.booleanisCombinable(String protein_domain) voidsetKeyDomainCount(int key_domain_count) Sets how many times the key domain is present in a given species genome. 
- 
Method Details
- 
addCombinableDomain
To add a new combinable domain.- Parameters:
 protein_domain-
 - 
getCombinableDomainsIds
Returns the combinable domain identifiers sorted in alphabetical manner: - keys are the combinable domain identifiers - values are the counts of proteins exhibiting a particular combination- Returns:
 - combining domain identifiers sorted in alphabetical manner
 
 - 
getCombiningDomainIdsAsStringBuilder
StringBuilder getCombiningDomainIdsAsStringBuilder() - 
getKeyDomain
String getKeyDomain()Returns the domain whose combinable domains are in stored in this combinable domains.- Returns:
 - the domain identifier
 
 - 
getKeyDomainCount
int getKeyDomainCount()Returns how many times the key domain is present in a given species genome.- Returns:
 - key domain count in species
 
 - 
getKeyDomainProteins
 - 
getKeyDomainProteinsCount
int getKeyDomainProteinsCount()Returns how many proteins with the key domain are present in a given species genome.- Returns:
 - key domain proteins count in species
 
 - 
getNumberOfCombinableDomains
int getNumberOfCombinableDomains() - 
getNumberOfProteinsExhibitingCombination
 - 
getSpecies
Species getSpecies()Returns the species of this combinable domains.- Returns:
 - the species
 
 - 
isCombinable
 - 
toBinaryDomainCombinations
List<BinaryDomainCombination> toBinaryDomainCombinations() - 
addKeyDomainProtein
 - 
getAllDomains
This must return all domains in this set of combinable domains (i.e. the key domain and all domains which can combine with the key domain).- Returns:
 - all domains
 
 - 
getCombinableDomains
 - 
setKeyDomainCount
void setKeyDomainCount(int key_domain_count) Sets how many times the key domain is present in a given species genome.- Parameters:
 key_domain_count- key domain count in species
 
 -