Package eu.isas.peptideshaker.cmd
Class FollowUpCLIInputBean
java.lang.Object
eu.isas.peptideshaker.cmd.FollowUpCLIInputBean
public class FollowUpCLIInputBean extends Object
This class is a simple bean wrapping the CLI parameters provided in an
Options instance.
- Author:
- Marc Vaudel
-
Constructor Summary
Constructors Constructor Description FollowUpCLIInputBean(org.apache.commons.cli.CommandLine aLine)Construct a FollowUpCLIInputBean from an Apache CLI instance. -
Method Summary
Modifier and Type Method Description booleanaccessionExportNeeded()Indicates whether an accession export is needed.booleanfollowUpNeeded()Indicates whether follow-up tasks are required.FilegetAccessionsExportFile()Returns the file where to export the accessions.intgetAccessionsExportTypeIndex()Returns the type of export needed for the accessions.FilegetInclusionFile()Returns the file for the inclusion list generation.intgetInclusionFormat()Returns the format for inclusion list generation.ArrayList<Integer>getInclusionPeptideFilter()Returns the peptide filters to use for inclusion list generation.ArrayList<Integer>getInclusionProteinFilter()Returns the protein inference filters to use for inclusion list generation.DoublegetInclusionRtWindow()Returns the retention time window to use for inclusion list generation.PathSettingsCLIInputBeangetPathSettingsCLIInputBean()Returns the path settings provided by the user.FilegetProgenesisExportFile()Returns the Progenesis file.intgetProgenesisExportTypeIndex()Returns the type of export needed for the Progenesis export.HashSet<String>getProgenesisTargetedPTMs()Returns the list of PTMs targeted for the Progenesis PTM export.FilegetProteinSequencesExportFile()Returns the file where to export the protein details.intgetProteinSequencesExportTypeIndex()Returns the type of export needed for the protein details.FilegetProteoformsFile()Returns the proteoforms file.FilegetPsdbFile()The psdb file selected by the user.FilegetRecalibrationFolder()The folder where to export recalibrated spectra.intgetRecalibrationMode()The recalibration mode.FilegetSpectrumExportFolder()Returns the folder where to export the spectrum files.intgetSpectrumExportTypeIndex()Returns the type of export needed for the spectra.FilegetZipFile()The zip file selected by the user.booleaninclusionListNeeded()Indicates whether an inclusion list generation is needed.booleanprogenesisExportNeeded()Indicates whether a Progenesis export is needed.booleanproteinSequencesExportNeeded()Indicates whether protein details (in FASTA format) export is needed.booleanproteoformsNeeded()Indicates whether a list of proteoforms is needed.booleanrecalibrationNeeded()Indicates whether a recalibration is needed.booleanspectrumExportNeeded()Indicates whether a spectrum export is needed.
-
Constructor Details
-
FollowUpCLIInputBean
public FollowUpCLIInputBean(org.apache.commons.cli.CommandLine aLine)Construct a FollowUpCLIInputBean from an Apache CLI instance.- Parameters:
aLine- the command line
-
-
Method Details
-
getPsdbFile
The psdb file selected by the user. Null if not set.- Returns:
- psdb file selected by the user
-
getZipFile
The zip file selected by the user. Null if not set.- Returns:
- zip file selected by the user
-
getRecalibrationFolder
The folder where to export recalibrated spectra. Null if not set.- Returns:
- the folder where to export recalibrated spectra
-
getRecalibrationMode
public int getRecalibrationMode()The recalibration mode. 0 by default. See the FollowUpCLIParams for detailed description.- Returns:
- the recalibration mode
-
getSpectrumExportFolder
Returns the folder where to export the spectrum files. Null if not set.- Returns:
- the folder where to export the spectrum files
-
getSpectrumExportTypeIndex
public int getSpectrumExportTypeIndex()Returns the type of export needed for the spectra. 0 by default. See the FollowUpCLIParams for detailed description.- Returns:
- the type of export needed for the spectra
-
getAccessionsExportFile
Returns the file where to export the accessions. Null if not set.- Returns:
- the file where to export the accessions
-
getAccessionsExportTypeIndex
public int getAccessionsExportTypeIndex()Returns the type of export needed for the accessions. 0 by default. See the FollowUpCLIParams for detailed description.- Returns:
- the type of export needed for the accession
-
getProteinSequencesExportFile
Returns the file where to export the protein details. Null if not set.- Returns:
- the file where to export the protein details
-
getProteinSequencesExportTypeIndex
public int getProteinSequencesExportTypeIndex()Returns the type of export needed for the protein details. 0 by default. See the FollowUpCLIParams for detailed description.- Returns:
- the type of export needed for the protein details
-
getProgenesisExportFile
Returns the Progenesis file. Null if not set.- Returns:
- the Progenesis file
-
getProteoformsFile
Returns the proteoforms file. Null if not set.- Returns:
- the proteoforms file
-
getProgenesisExportTypeIndex
public int getProgenesisExportTypeIndex()Returns the type of export needed for the Progenesis export. 0 by default. See the FollowUpCLIParams for detailed description.- Returns:
- the type of export needed for the Progenesis export
-
getProgenesisTargetedPTMs
Returns the list of PTMs targeted for the Progenesis PTM export. An empty list if none selected.- Returns:
- the list of PTMs targeted for the Progenesis PTM export
-
getInclusionFile
Returns the file for the inclusion list generation. null if not set.- Returns:
- the file for the inclusion list generation. null if not set
-
getInclusionFormat
public int getInclusionFormat()Returns the format for inclusion list generation.- Returns:
- the format for inclusion list generation.
-
getInclusionProteinFilter
Returns the protein inference filters to use for inclusion list generation.- Returns:
- the protein inference filters to use for inclusion list generation
-
getInclusionPeptideFilter
Returns the peptide filters to use for inclusion list generation.- Returns:
- the peptide filters to use for inclusion list generation
-
getInclusionRtWindow
Returns the retention time window to use for inclusion list generation.- Returns:
- the retention time window to use for inclusion list generation
-
followUpNeeded
public boolean followUpNeeded()Indicates whether follow-up tasks are required.- Returns:
- indicates whether follow-up tasks are required
-
recalibrationNeeded
public boolean recalibrationNeeded()Indicates whether a recalibration is needed.- Returns:
- whether a recalibration is needed
-
spectrumExportNeeded
public boolean spectrumExportNeeded()Indicates whether a spectrum export is needed.- Returns:
- whether a spectrum export is needed
-
accessionExportNeeded
public boolean accessionExportNeeded()Indicates whether an accession export is needed.- Returns:
- whether an accession export is needed
-
proteinSequencesExportNeeded
public boolean proteinSequencesExportNeeded()Indicates whether protein details (in FASTA format) export is needed.- Returns:
- whether protein details (in FASTA format) export is needed
-
progenesisExportNeeded
public boolean progenesisExportNeeded()Indicates whether a Progenesis export is needed.- Returns:
- whether a Progenesis export is needed
-
inclusionListNeeded
public boolean inclusionListNeeded()Indicates whether an inclusion list generation is needed.- Returns:
- whether an inclusion list generation is needed
-
proteoformsNeeded
public boolean proteoformsNeeded()Indicates whether a list of proteoforms is needed.- Returns:
- whether a list of proteoforms is needed
-
getPathSettingsCLIInputBean
Returns the path settings provided by the user.- Returns:
- the path settings provided by the user
-