Package org.forester.io.parsers
Class HmmPfamOutputParser
java.lang.Object
org.forester.io.parsers.HmmPfamOutputParser
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Constructor Summary
ConstructorDescriptionHmmPfamOutputParser
(File input_file, String species, String model_type) HmmPfamOutputParser
(File input_file, String species, Set<String> filter, HmmPfamOutputParser.FilterType filter_type) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
int
int
int
int
int
long
getTime()
parse()
void
setAllowNonUniqueQuery
(boolean allow_non_unique_query) void
setDomainsIgnoredDueToEval
(int domains_ignored_due_to_e_value) void
setDomainsIgnoredDueToIndividualScoreCutoff
(int domains_ignored_due_to_individual_score_cutoff) void
setEValueMaximum
(double e_value_maximum) void
setIgnoreDufs
(boolean ignore_dufs) void
setIgnoreEngulfedDomains
(boolean ignore_engulfed_domains) To ignore domains which are completely engulfed by domains (individual ones or stretches of overlapping ones) with better support values.void
setIgnoreVirusLikeIds
(boolean ignore_virus_like_ids) void
setIndividualDomainScoreCutoffs
(Map<String, String> individual_domain_score_cutoffs) Sets the individual domain score cutoff values (for example, gathering thresholds from Pfam).void
setMaxAllowedOverlap
(int max_allowed_overlap) void
setReturnType
(HmmPfamOutputParser.ReturnType return_type) void
setVerbose
(boolean verbose)
-
Constructor Details
-
HmmPfamOutputParser
-
HmmPfamOutputParser
public HmmPfamOutputParser(File input_file, String species, Set<String> filter, HmmPfamOutputParser.FilterType filter_type)
-
-
Method Details
-
getDomainsEncountered
public int getDomainsEncountered() -
getDomainsIgnoredDueToDuf
public int getDomainsIgnoredDueToDuf() -
getDomainsIgnoredDueToEval
public int getDomainsIgnoredDueToEval() -
getDomainsIgnoredDueToIndividualScoreCutoff
public int getDomainsIgnoredDueToIndividualScoreCutoff() -
getDomainsIgnoredDueToNegativeDomainFilter
public int getDomainsIgnoredDueToNegativeDomainFilter() -
getDomainsIgnoredDueToNegativeDomainFilterCountsMap
-
getDomainsIgnoredDueToOverlap
public int getDomainsIgnoredDueToOverlap() -
getDomainsIgnoredDueToVirusLikeIdCountsMap
-
getDomainsIgnoredDueToVirusLikeIds
public int getDomainsIgnoredDueToVirusLikeIds() -
getDomainsStored
public int getDomainsStored() -
getDomainsStoredSet
-
getProteinsEncountered
public int getProteinsEncountered() -
getProteinsIgnoredDueToFilter
public int getProteinsIgnoredDueToFilter() -
getProteinsStored
public int getProteinsStored() -
getTime
public long getTime() -
parse
- Throws:
IOException
-
setAllowNonUniqueQuery
public void setAllowNonUniqueQuery(boolean allow_non_unique_query) -
setDomainsIgnoredDueToEval
public void setDomainsIgnoredDueToEval(int domains_ignored_due_to_e_value) -
setDomainsIgnoredDueToIndividualScoreCutoff
public void setDomainsIgnoredDueToIndividualScoreCutoff(int domains_ignored_due_to_individual_score_cutoff) -
setEValueMaximum
public void setEValueMaximum(double e_value_maximum) -
setIgnoreDufs
public void setIgnoreDufs(boolean ignore_dufs) -
setIgnoreEngulfedDomains
public void setIgnoreEngulfedDomains(boolean ignore_engulfed_domains) To ignore domains which are completely engulfed by domains (individual ones or stretches of overlapping ones) with better support values.- Parameters:
ignored_engulfed_domains
-
-
setIgnoreVirusLikeIds
public void setIgnoreVirusLikeIds(boolean ignore_virus_like_ids) -
setIndividualDomainScoreCutoffs
Sets the individual domain score cutoff values (for example, gathering thresholds from Pfam). Domain ids are the keys, cutoffs the values.- Parameters:
individual_domain_score_cutoffs
-
-
setMaxAllowedOverlap
public void setMaxAllowedOverlap(int max_allowed_overlap) -
setReturnType
-
setVerbose
public void setVerbose(boolean verbose)
-