Class FullProteinEnricher
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher<T>
-
- psidev.psi.mi.jami.enricher.impl.AbstractInteractorEnricher<Protein>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalProteinEnricher
-
- psidev.psi.mi.jami.enricher.impl.full.FullProteinEnricher
-
- All Implemented Interfaces:
InteractorEnricher<Protein>
,MIEnricher<Protein>
,ProteinEnricher
public class FullProteinEnricher extends MinimalProteinEnricher
Full enricher of proteins. As an enricher, no data will be overwritten in the protein being enriched. See description of full enrichment in AbstractInteractorEnricher If the protein remapper is not null and the enricher cannot find a uniprot identifier, it will remap to uniprot using the proteinMapper. In case of dead uniprot entries, it will move the dead uniprot identifier to the xrefs and add a caution in the annotations. If the remapping is successfull, it will remove any cautions left because of dead entry and set the uniprot identifier of the protein - enrich sequence of protein. If the sequence of the polymer to enrich is null, it will enrich it with the sequence of the fetched protein The protein fetcher is require to enrich proteins- Since:
- 13/06/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalProteinEnricher
CAUTION_MESSAGE
-
-
Constructor Summary
Constructors Constructor Description FullProteinEnricher(ProteinFetcher proteinFetcher)
The only constructor which forces the setting of the fetcher If the cvTerm fetcher is null, an illegal state exception will be thrown at the next enrichment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isFullEnrichment()
isFullEnrichment.protected void
processOtherProperties(Protein proteinToEnrich, Protein fetched)
processOtherProperties.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalProteinEnricher
canEnrichInteractor, find, getInteractorFetcher, getProteinMapper, onCompletedEnrichment, onEnrichedVersionNotFound, onInteractorCheckFailure, processDeadUniprotIdentity, remapProtein, setProteinMapper
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.AbstractInteractorEnricher
enrich, getCvTermEnricher, getListener, getOrganismEnricher, getRetryCount, processAliases, processAnnotations, processChecksums, processFullName, processIdentifiers, processInteractorType, processInteractorType, processOrganism, processOrganism, processShortLabel, processXrefs, setCvTermEnricher, setListener, setOrganismEnricher, setRetryCount
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher
enrich, enrich
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.enricher.InteractorEnricher
getCvTermEnricher, getListener, getOrganismEnricher, setCvTermEnricher, setListener, setOrganismEnricher
-
Methods inherited from interface psidev.psi.mi.jami.enricher.MIEnricher
enrich, enrich, enrich
-
-
-
-
Constructor Detail
-
FullProteinEnricher
public FullProteinEnricher(ProteinFetcher proteinFetcher)
The only constructor which forces the setting of the fetcher If the cvTerm fetcher is null, an illegal state exception will be thrown at the next enrichment.- Parameters:
proteinFetcher
- The protein fetcher to use.
-
-
Method Detail
-
isFullEnrichment
protected boolean isFullEnrichment()
isFullEnrichment.
- Overrides:
isFullEnrichment
in classMinimalProteinEnricher
- Returns:
- a boolean.
-
processOtherProperties
protected void processOtherProperties(Protein proteinToEnrich, Protein fetched)
processOtherProperties.
- Overrides:
processOtherProperties
in classAbstractInteractorEnricher<Protein>
- Parameters:
proteinToEnrich
- a T object.fetched
- a T object.
-
-