public class GroupSimplification extends Object
| Constructor and Description |
|---|
GroupSimplification() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isLowerEvidence(String accession,
String[] otherAccessions,
com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider)
Returns a boolean indicating whether the protein is considered as
uncharacterized compared to the others.
|
void |
removeRedundantGroups(com.compomics.util.experiment.identification.Identification identification,
com.compomics.util.parameters.identification.IdentificationParameters identificationParameters,
com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider,
com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider,
com.compomics.util.experiment.identification.matches.ProteinMatch proteinSharedGroup,
HashMap<Long,long[]> processedKeys,
HashSet<Long> toDelete,
com.compomics.util.threading.SimpleSemaphore mutex,
com.compomics.util.waiting.WaitingHandler waitingHandler)
Removes the redundant groups for the given protein shared group.
|
void |
removeRedundantGroups(com.compomics.util.experiment.identification.Identification identification,
com.compomics.util.parameters.identification.IdentificationParameters identificationParameters,
com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider,
com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider,
com.compomics.util.waiting.WaitingHandler waitingHandler)
Remove groups that can be explained by a simpler group.
|
public void removeRedundantGroups(com.compomics.util.experiment.identification.Identification identification,
com.compomics.util.parameters.identification.IdentificationParameters identificationParameters,
com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider,
com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider,
com.compomics.util.waiting.WaitingHandler waitingHandler)
identification - the identification class containing all
identification matchesidentificationParameters - the identification parameterssequenceProvider - the sequence providerproteinDetailsProvider - the protein details providerwaitingHandler - the handler displaying feedback to the userpublic void removeRedundantGroups(com.compomics.util.experiment.identification.Identification identification,
com.compomics.util.parameters.identification.IdentificationParameters identificationParameters,
com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider,
com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider,
com.compomics.util.experiment.identification.matches.ProteinMatch proteinSharedGroup,
HashMap<Long,long[]> processedKeys,
HashSet<Long> toDelete,
com.compomics.util.threading.SimpleSemaphore mutex,
com.compomics.util.waiting.WaitingHandler waitingHandler)
identification - The identification object containing the
identification matches.identificationParameters - The identification parameters.sequenceProvider - The protein sequence provider.proteinDetailsProvider - The protein details provider.proteinSharedGroup - The protein shared group investigated.processedKeys - Map of the already processed keys.toDelete - Set of the keys to delete.mutex - Mutex to synchronize the different threads.waitingHandler - Waiting handler to show progress and interrupt
processes.public static boolean isLowerEvidence(String accession, String[] otherAccessions, com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider)
accession - the accession of the proteinotherAccessions - the accessions of the other proteinproteinDetailsProvider - the protein details providerCopyright © 2021. All rights reserved.