Package eu.isas.reporter.cli
Class ReporterCLIInputBean
java.lang.Object
eu.isas.reporter.cli.ReporterCLIInputBean
This class is used to verify that a command line is valid and parse its
parameters.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
ConstructorsConstructorDescriptionReporterCLIInputBean(org.apache.commons.cli.CommandLine aLine) Parses the arguments of a command line. -
Method Summary
Modifier and TypeMethodDescriptionReturns the file containing the contaminants.com.compomics.util.parameters.identification.IdentificationParametersReturns the identification parameters.Returns the identification parameters file.Returns the list of PTMs to ignore.Returns a boolean indicating whether peptides presenting missed cleavages should be ignored.Returns a boolean indicating whether peptides presenting null intensities should be ignored.Returns the isotope correction file, null if not set.Returns the minimum number of unique peptides to consider only those for a protein group ratio estimation.Indicates whether the most accurate reporter ion should be used.intReturns the number of threads to use.Returns the output file where to save the project, null if not set.Returns the path settings provided by the user.Returns the peptide normalization.Returns the PeptideShaker file.Returns the percentile for ratio window estimation.Returns the m/z tolerance to use for the precursor ion window.Indicates whether the precursor ion window m/z tolerance is in ppm.Returns the RT tolerance to use for the precursor ion window in seconds.Returns the protein normalization.Returns the PSM normalization.Returns the list of reference samples indexed by ordered reagent mass, 1 is the first reagent.Returns the report export options required.Indicates whether the quantification peaks are in the same spectra as the identification peaks.Returns the tolerance used for the reporter ion matching in the spectrum.Returns the name of the reporter methods provided by the user.Returns the resolution for ratio estimation.Returns the file containing the stable proteins.Returns the validation level to use for peptides.Returns the validation level to use for proteins.Returns the validation level to use for PSMs.Returns the file where to export the project as zip file.
-
Constructor Details
-
ReporterCLIInputBean
public ReporterCLIInputBean(org.apache.commons.cli.CommandLine aLine) throws IOException, ClassNotFoundException Parses the arguments of a command line.- Parameters:
aLine- the command line- Throws:
IOException- thrown if an error occurred while reading the FASTA fileClassNotFoundException- thrown if the search parameters cannot be converted
-
-
Method Details
-
getPeptideShakerFile
Returns the PeptideShaker file.- Returns:
- the PeptideShaker file
-
getOutputFile
Returns the output file where to save the project, null if not set.- Returns:
- the output file
-
getIsotopesFile
Returns the isotope correction file, null if not set.- Returns:
- the isotope correction file
-
getReferenceSamples
Returns the list of reference samples indexed by ordered reagent mass, 1 is the first reagent.- Returns:
- the list of reference samples indexed by ordered reagent mass, 1 is the first reagent
-
getnThreads
public int getnThreads()Returns the number of threads to use.- Returns:
- the number of threads to use
-
getReporterMethod
Returns the name of the reporter methods provided by the user.- Returns:
- the name of the reporter method
-
getReporterIonTolerance
Returns the tolerance used for the reporter ion matching in the spectrum.- Returns:
- the tolerance used for the reporter ion matching in the spectrum
-
getMostAccurate
Indicates whether the most accurate reporter ion should be used.- Returns:
- a boolean indicating whether the most accurate reporter ion should be used
-
getReporterIonsLocation
Indicates whether the quantification peaks are in the same spectra as the identification peaks.- Returns:
- a boolean indicating whether the quantification peaks are in the same spectra as the identification peaks
-
getPrecMzTolerance
Returns the m/z tolerance to use for the precursor ion window.- Returns:
- the m/z tolerance to use for the precursor ion window
-
getPrecMzTolerancePpm
Indicates whether the precursor ion window m/z tolerance is in ppm.- Returns:
- a boolean indicating whether the window precursor ion m/z tolerance is in ppm
-
getPrecRtTolerance
Returns the RT tolerance to use for the precursor ion window in seconds.- Returns:
- the RT tolerance to use for the precursor ion window in seconds
-
getIdentificationParametersFile
Returns the identification parameters file.- Returns:
- the identification parameters file
-
getIgnoreNull
Returns a boolean indicating whether peptides presenting null intensities should be ignored.- Returns:
- a boolean indicating whether peptides presenting null intensities should be ignored
-
getIgnoreMc
Returns a boolean indicating whether peptides presenting missed cleavages should be ignored.- Returns:
- a boolean indicating whether peptides presenting missed cleavages should be ignored
-
getPercentile
Returns the percentile for ratio window estimation.- Returns:
- the percentile for ratio window estimation
-
getResolution
Returns the resolution for ratio estimation.- Returns:
- the resolution for ratio estimation
-
getMinUnique
Returns the minimum number of unique peptides to consider only those for a protein group ratio estimation.- Returns:
- the minimum number of unique peptides to consider only those for a protein group ratio estimation
-
getIgnoredPtms
Returns the list of PTMs to ignore.- Returns:
- the list of PTMs to ignore
-
getValidationPsm
Returns the validation level to use for PSMs.- Returns:
- the validation level to use for PSMs
-
getValidationPeptide
Returns the validation level to use for peptides.- Returns:
- the validation level to use for peptides
-
getValidationProtein
Returns the validation level to use for proteins.- Returns:
- the validation level to use for proteins
-
getPsmNormalizationType
Returns the PSM normalization.- Returns:
- the PSM normalization
-
getPeptideNormalizationType
Returns the peptide normalization.- Returns:
- the peptide normalization
-
getProteinNormalizationType
Returns the protein normalization.- Returns:
- the protein normalization
-
getStableProteins
Returns the file containing the stable proteins.- Returns:
- the file containing the stable proteins
-
getContaminants
Returns the file containing the contaminants.- Returns:
- the file containing the contaminants
-
getZipExport
Returns the file where to export the project as zip file. Null if not set.- Returns:
- the file where to export the project as zip file
-
getIdentificationParameters
public com.compomics.util.parameters.identification.IdentificationParameters getIdentificationParameters()Returns the identification parameters.- Returns:
- the identification parameters
-
getPathSettingsCLIInputBean
Returns the path settings provided by the user.- Returns:
- the path settings provided by the user
-
getReportCLIInputBean
Returns the report export options required.- Returns:
- the report export options required
-