Package eu.isas.reporter.settings
Class NormalizationSettings
java.lang.Object
eu.isas.reporter.settings.NormalizationSettings
- All Implemented Interfaces:
Serializable
Settings used for the normalization.
- Author:
- Marc Vaudel, Harald Barsnes
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getContaminants(com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.parameters.identification.advanced.PeptideVariantsParameters peptideVariantsPreferences, com.compomics.util.waiting.WaitingHandler waitingHandler) Returns the accessions of the contaminants as a set taken from the contaminantsFastaFile.Returns the FASTA file containing the contaminant proteins.static FileReturns the default contaminants file.Returns the type of normalization used to normalize the peptides.Returns the type of normalization used to normalize the proteins.Returns the type of normalization used to normalize the PSMs.getStableProteins(com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.parameters.identification.advanced.PeptideVariantsParameters peptideVariantsPreferences, com.compomics.util.waiting.WaitingHandler waitingHandler) Returns the accessions of the stable proteins as a set taken from the stableProteinsFastaFile.Returns the FASTA file containing the stable proteins.booleanisSameAs(NormalizationSettings anotherSetting) Indicates whether another setting is the same as this one.voidsetContaminantsFastaFile(File contaminantsFastaFile) Sets the FASTA file containing the contaminant proteins.voidsetPeptideNormalization(NormalizationType peptideNormalization) Sets the type of normalization used to normalize the peptides.voidsetProteinNormalization(NormalizationType proteinNormalization) Sets the type of normalization used to normalize the proteins.voidsetPsmNormalization(NormalizationType psmNormalization) Sets the type of normalization used to normalize the PSMs.voidsetStableProteinsFastaFile(File stableProteinsFastaFile) Sets the FASTA file containing the stable proteins.
-
Constructor Details
-
NormalizationSettings
public NormalizationSettings()Constructor.
-
-
Method Details
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
isSameAs
Indicates whether another setting is the same as this one.- Parameters:
anotherSetting- another setting- Returns:
- a boolean indicating whether another setting is the same as this one
-
getPsmNormalization
Returns the type of normalization used to normalize the PSMs.- Returns:
- the type of normalization used to normalize the PSMs
-
setPsmNormalization
Sets the type of normalization used to normalize the PSMs.- Parameters:
psmNormalization- the type of normalization used to normalize the PSMs
-
getPeptideNormalization
Returns the type of normalization used to normalize the peptides.- Returns:
- the type of normalization used to normalize the peptides
-
setPeptideNormalization
Sets the type of normalization used to normalize the peptides.- Parameters:
peptideNormalization- the type of normalization used to normalize the peptides
-
getProteinNormalization
Returns the type of normalization used to normalize the proteins.- Returns:
- the type of normalization used to normalize the proteins
-
setProteinNormalization
Sets the type of normalization used to normalize the proteins.- Parameters:
proteinNormalization- the type of normalization used to normalize the proteins
-
getStableProteinsFastaFile
Returns the FASTA file containing the stable proteins.- Returns:
- the FASTA file containing the stable proteins
-
setStableProteinsFastaFile
Sets the FASTA file containing the stable proteins.- Parameters:
stableProteinsFastaFile- the FASTA file containing the stable proteins
-
getContaminantsFastaFile
Returns the FASTA file containing the contaminant proteins.- Returns:
- the FASTA file containing the contaminant proteins
-
setContaminantsFastaFile
Sets the FASTA file containing the contaminant proteins.- Parameters:
contaminantsFastaFile- the FASTA file containing the contaminant proteins
-
getStableProteins
public Collection<String> getStableProteins(com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.parameters.identification.advanced.PeptideVariantsParameters peptideVariantsPreferences, com.compomics.util.waiting.WaitingHandler waitingHandler) throws IOException Returns the accessions of the stable proteins as a set taken from the stableProteinsFastaFile. Null if no file is set.- Parameters:
searchParameters- the search parametersfastaParameters- the FASTA parameterspeptideVariantsPreferences- the peptide variants parameterswaitingHandler- the waiting handler- Returns:
- the accessions of the stable proteins as a collection
- Throws:
IOException- exception thrown whenever an error occurred while accessing the file.
-
getContaminants
public Collection<String> getContaminants(com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.parameters.identification.advanced.PeptideVariantsParameters peptideVariantsPreferences, com.compomics.util.waiting.WaitingHandler waitingHandler) throws IOException Returns the accessions of the contaminants as a set taken from the contaminantsFastaFile. Null if no file is set.- Parameters:
searchParameters- the search parametersfastaParameters- the FASTA parameterspeptideVariantsPreferences- the peptide variants parameterswaitingHandler- the waiting handler- Returns:
- the accessions of the stable proteins as a collection
- Throws:
IOException- exception thrown whenever an error occurred while accessing the file.
-
getDefaultContaminantFile
Returns the default contaminants file.- Returns:
- the default contaminants file
-