Class DictionaryFamilyDomainFilter
- java.lang.Object
-
- de.julielab.jules.ae.genemapping.resources.DictionaryFamilyDomainFilter
-
public class DictionaryFamilyDomainFilter extends java.lang.ObjectRemoves gene synonyms from the given dictionary that look like gene families or gene domains or are otherwise unspecific.This is yet another dictionary cleaning algorithm besied
DictionaryGeneralFilterand the DictCleaner.pl script in the update_resources_and_indices directory.
-
-
Constructor Summary
Constructors Constructor Description DictionaryFamilyDomainFilter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisFiltered(de.julielab.jules.ae.genemapping.CandidateFilter cf, java.lang.String synonym)Checks the synonym for length and token number and if it looks as though it wouldn't designate a concrete gene but rather a family or domain.static voidmain(java.lang.String[] args)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
isFiltered
public static boolean isFiltered(de.julielab.jules.ae.genemapping.CandidateFilter cf, java.lang.String synonym)Checks the synonym for length and token number and if it looks as though it wouldn't designate a concrete gene but rather a family or domain.- Parameters:
cf- A CandidateFilter instance.synonym- The synonym under scrutiny.- Returns:
- true if the synonym should be removed from the dictionary, false otherwise.
-
-