Package org.forester.surfacing
Class BasicGenomeWideCombinableDomains
java.lang.Object
org.forester.surfacing.BasicGenomeWideCombinableDomains
- All Implemented Interfaces:
GenomeWideCombinableDomains
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.forester.surfacing.GenomeWideCombinableDomains
GenomeWideCombinableDomains.GenomeWideCombinableDomainsSortOrder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
createInstance
(List<Protein> protein_list, boolean ignore_combination_with_same_domain, Species species) createInstance
(List<Protein> protein_list, boolean ignore_combination_with_same_domain, Species species, Map<String, List<GoId>> domain_id_to_go_ids_map, BinaryDomainCombination.DomainCombinationType dc_type, Map<String, DescriptiveStatistics> protein_length_stats_by_dc, Map<String, DescriptiveStatistics> domain_number_stats_by_dc) createInstance
(List<Protein> protein_list, boolean ignore_combination_with_same_domain, Species species, BinaryDomainCombination.DomainCombinationType dc_type) This should return all domains ids present in the genome.This should return a statistic for per domain promiscuity in a genome.int
getSize()
This should return all binary domain combinations present in the genome.toString()
-
Method Details
-
contains
- Specified by:
contains
in interfaceGenomeWideCombinableDomains
-
get
- Specified by:
get
in interfaceGenomeWideCombinableDomains
-
getAllCombinableDomainsIds
- Specified by:
getAllCombinableDomainsIds
in interfaceGenomeWideCombinableDomains
-
getAllDomainIds
Description copied from interface:GenomeWideCombinableDomains
This should return all domains ids present in the genome.- Specified by:
getAllDomainIds
in interfaceGenomeWideCombinableDomains
- Returns:
- a sorted set of domains ids
-
getDomainCombinationType
- Specified by:
getDomainCombinationType
in interfaceGenomeWideCombinableDomains
-
getMostPromiscuosDomain
- Specified by:
getMostPromiscuosDomain
in interfaceGenomeWideCombinableDomains
-
getPerGenomeDomainPromiscuityStatistics
Description copied from interface:GenomeWideCombinableDomains
This should return a statistic for per domain promiscuity in a genome.- Specified by:
getPerGenomeDomainPromiscuityStatistics
in interfaceGenomeWideCombinableDomains
- Returns:
- descriptive statistics for per domain promiscuity in a genome
-
getSize
public int getSize()- Specified by:
getSize
in interfaceGenomeWideCombinableDomains
-
getSpecies
- Specified by:
getSpecies
in interfaceGenomeWideCombinableDomains
-
toBinaryDomainCombinations
Description copied from interface:GenomeWideCombinableDomains
This should return all binary domain combinations present in the genome.- Specified by:
toBinaryDomainCombinations
in interfaceGenomeWideCombinableDomains
- Returns:
- a sorted set of binary domain combinations
-
toString
-
toStringBuilder
public StringBuilder toStringBuilder(GenomeWideCombinableDomains.GenomeWideCombinableDomainsSortOrder sort_order) - Specified by:
toStringBuilder
in interfaceGenomeWideCombinableDomains
-
createInstance
public static BasicGenomeWideCombinableDomains createInstance(List<Protein> protein_list, boolean ignore_combination_with_same_domain, Species species) -
createInstance
public static BasicGenomeWideCombinableDomains createInstance(List<Protein> protein_list, boolean ignore_combination_with_same_domain, Species species, BinaryDomainCombination.DomainCombinationType dc_type) -
createInstance
public static BasicGenomeWideCombinableDomains createInstance(List<Protein> protein_list, boolean ignore_combination_with_same_domain, Species species, Map<String, List<GoId>> domain_id_to_go_ids_map, BinaryDomainCombination.DomainCombinationType dc_type, Map<String, DescriptiveStatistics> protein_length_stats_by_dc, Map<String, DescriptiveStatistics> domain_number_stats_by_dc)
-