Class WeepingTreeMappingCore
- java.lang.Object
-
- de.julielab.jules.ae.genemapping.mappingcores.WeepingTreeMappingCore
-
- All Implemented Interfaces:
MappingCore
public class WeepingTreeMappingCore extends java.lang.Object implements MappingCore
A rather relaxed mapping that doesn't try hard to disambiguate and does not filter out gene families or domains. This is basically just a gene synonym expansion mapping with minor name disambiguation at best.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTAX_IDSConfiguration parameter.
-
Constructor Summary
Constructors Constructor Description WeepingTreeMappingCore(GeneMappingConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CandidateRetrievalgetCandidateRetrieval()SemanticDisambiguationgetSemanticDisambiguation()TermNormalizergetTermNormalizer()DocumentMappingResultmap(GeneDocument document)MentionMappingResultmap(GeneMention geneMention)
-
-
-
Field Detail
-
TAX_IDS
public static final java.lang.String TAX_IDS
Configuration parameter. Lists NCBI taxonomy IDs separated by commas. If this is given, only gene candidates belonging to at least one of the given taxonomy IDs will be taken into account.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WeepingTreeMappingCore
public WeepingTreeMappingCore(GeneMappingConfiguration configuration) throws GeneMappingException
- Throws:
GeneMappingException
-
-
Method Detail
-
map
public MentionMappingResult map(GeneMention geneMention) throws GeneMappingException
- Specified by:
mapin interfaceMappingCore- Throws:
GeneMappingException
-
getSemanticDisambiguation
public SemanticDisambiguation getSemanticDisambiguation()
- Specified by:
getSemanticDisambiguationin interfaceMappingCore
-
getCandidateRetrieval
public CandidateRetrieval getCandidateRetrieval()
- Specified by:
getCandidateRetrievalin interfaceMappingCore
-
getTermNormalizer
public TermNormalizer getTermNormalizer()
- Specified by:
getTermNormalizerin interfaceMappingCore
-
map
public DocumentMappingResult map(GeneDocument document) throws GeneMappingException
- Specified by:
mapin interfaceMappingCore- Throws:
GeneMappingException
-
-