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 Details

  • Method Details

    • getMsFormat

      public ProteoWizardMsFormat getMsFormat()
      Returns the format to convert to.
      Returns:
      the format to convert to
    • setMsFormat

      public void setMsFormat​(ProteoWizardMsFormat msFormat)
      Sets the format to convert to.
      Parameters:
      msFormat - the format to convert to
    • getFilters

      public Set<Integer> getFilters()
      Returns the index of the filters selected.
      Returns:
      the index of the filters selected
    • addFilter

      public void addFilter​(Integer msConvertFilterIndex, String value)
      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

      public String getValue​(int msConvertFilterIndex)
      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

      public HashMap<Integer,​String> getFiltersMap()
      Returns the filters map, filter index - value.
      Returns:
      the filters map