Class MZTabConstants


  • public final class MZTabConstants
    extends Object
    Define a couple of constants used in the jmzTab API.
    Since:
    08/03/13
    Author:
    qingwei, nilshoffmann
    • Field Detail

      • REGEX_INDEXED_VALUE

        public static final String REGEX_INDEXED_VALUE
        Constant REGEX_INDEXED_VALUE="\\[(\\d+)\\]"
        See Also:
        Constant Field Values
      • REGEX_CV_PARAM_OPT_COLUMN_NAME

        public static final String REGEX_CV_PARAM_OPT_COLUMN_NAME
        Constant REGEX_CV_PARAM_OPT_COLUMN_NAME="cv(_([A-Za-z0-9\\-\\[\\]:\\.]+))?(_([A-Za-z0-9_\\-\\[\\]:\\.]+)*)"
        See Also:
        Constant Field Values
      • REGEX_OPT_COLUMN_NAME

        public static final String REGEX_OPT_COLUMN_NAME
        Constant REGEX_OPT_COLUMN_NAME="opt_((assay|study_variable|ms_run)\\[(\\w+)\\]|global)_([A-Za-z0-9_\\-\\[\\]:\\.]+)"
        See Also:
        Constant Field Values
      • REGEX_ABUNDANCE_COLUMN_NAME

        public static final String REGEX_ABUNDANCE_COLUMN_NAME
        Constant REGEX_ABUNDANCE_COLUMN_NAME="abundance_(.+)"
        See Also:
        Constant Field Values
      • REGEX_ABUNDANCE_ASSAY_COLUMN_NAME

        public static final String REGEX_ABUNDANCE_ASSAY_COLUMN_NAME
        Constant REGEX_ABUNDANCE_ASSAY_COLUMN_NAME="assay\\[(\\d+)\\]"
        See Also:
        Constant Field Values
      • REGEX_STUDY_VARIABLE_COLUMN_NAME

        public static final String REGEX_STUDY_VARIABLE_COLUMN_NAME
        Constant REGEX_STUDY_VARIABLE_COLUMN_NAME="study_variable\\[(\\d+)\\]"
        See Also:
        Constant Field Values
      • REGEX_NORMAL_METADATA

        public static final String REGEX_NORMAL_METADATA
        Constant REGEX_NORMAL_METADATA="(\\w+)(\\[(\\w+)\\])?(-(\\w+)(\\[(\\w+)\\])?)?(-(\\w+))?"
        See Also:
        Constant Field Values
      • REGEX_EMAIL

        public static final String REGEX_EMAIL
        Constant REGEX_EMAIL="[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-']+)*@[A-Za-z0-9]+(?:[-.][A-Za-z0-9]+)*(\\.[A-Za-z]{2,})"
        See Also:
        Constant Field Values
      • REGEX_MZTAB_M

        public static final String REGEX_MZTAB_M
        Constant REGEX_MZTAB_M="(?<major>[2]{1})\\.(?<minor>\\d{1})\\.(?<micro>\\d{1})-(?<profile>[M]{1})"
        See Also:
        Constant Field Values
      • REGEX_PARAM_SPLIT

        public static final String REGEX_PARAM_SPLIT
        Constant REGEX_PARAM_SPLIT=",(?=([^\"]*\"[^\"]*\")*[^\"]*$)"
        See Also:
        Constant Field Values
      • REGEX_DEFAULT_RELIABILITY

        public static final String REGEX_DEFAULT_RELIABILITY
        Constant REGEX_DEFAULT_RELIABILITY="[1234]{1}"
        See Also:
        Constant Field Values
      • REGEX_ADDUCT

        public static final String REGEX_ADDUCT
        Constant REGEX_ADDUCT="^\[\d*M([+-][\w\d]+)*\]\d*[+-]$"
        See Also:
        Constant Field Values
    • Constructor Detail

      • MZTabConstants

        public MZTabConstants()