Class MsConvertParameters
java.lang.Object
com.compomics.util.experiment.mass_spectrometry.proteowizard.MsConvertParameters
public class MsConvertParameters extends Object
The parameters to use when running msconvert.
- Author:
- Marc Vaudel
-
Constructor Summary
Constructors Constructor Description MsConvertParameters()
Constructor. -
Method Summary
Modifier and Type Method Description void
addFilter(Integer msConvertFilterIndex, String value)
Adds a filter.Set<Integer>
getFilters()
Returns the index of the filters selected.HashMap<Integer,String>
getFiltersMap()
Returns the filters map, filter index - value.ProteoWizardMsFormat
getMsFormat()
Returns the format to convert to.String
getValue(int msConvertFilterIndex)
Returns the value set for a given filter.void
setMsFormat(ProteoWizardMsFormat msFormat)
Sets the format to convert to.
-
Constructor Details
-
MsConvertParameters
public MsConvertParameters()Constructor.
-
-
Method Details
-
getMsFormat
Returns the format to convert to.- Returns:
- the format to convert to
-
setMsFormat
Sets the format to convert to.- Parameters:
msFormat
- the format to convert to
-
getFilters
Returns the index of the filters selected.- Returns:
- the index of the filters selected
-
addFilter
Adds a filter.- Parameters:
msConvertFilterIndex
- the index of the filter according to the MsConvertFilter enumerator.value
- the value of the filter according to the filter specifications.
-
getValue
Returns the value set for a given filter.- Parameters:
msConvertFilterIndex
- the index of the filter of interest.- Returns:
- the value set by the user
-
getFiltersMap
Returns the filters map, filter index - value.- Returns:
- the filters map
-