Class CsvParserLogger

    • Constructor Detail

      • CsvParserLogger

        public CsvParserLogger()
    • Method Detail

      • onMismatchBetweenPeptideAndLinkedPositions

        public void onMismatchBetweenPeptideAndLinkedPositions​(List<CsvRange> peptidePositions,
                                                               List<CsvRange> linkedPositions)
        Event fired when the number of peptide positions is greater than one and is not the same as the number of linked positions
        Specified by:
        onMismatchBetweenPeptideAndLinkedPositions in interface CsvParserListener
        Parameters:
        peptidePositions - : peptide positions in protein sequence
        linkedPositions - : linked feature positions relative to peptide positions
      • onMismatchBetweenRangePositionsAndProteins

        public void onMismatchBetweenRangePositionsAndProteins​(List<CsvRange> rangePositions,
                                                               List<CsvProtein> proteins)
        Event fired when the number of range positions is superior to 1 and the number of proteins is also superior to 1 but does not match the number of ranges
        Specified by:
        onMismatchBetweenRangePositionsAndProteins in interface CsvParserListener
        Parameters:
        rangePositions - : feature ranges
        proteins - : proteins
      • onInvalidProteinIdentifierSyntax

        public void onInvalidProteinIdentifierSyntax​(String[] identifiers,
                                                     int lineNumber,
                                                     int columnNumber)
        Event fired when we don't find protein xrefs with db|uniprotId|name
        Specified by:
        onInvalidProteinIdentifierSyntax in interface CsvParserListener
        Parameters:
        identifiers - : the identifiers
        lineNumber - a int.
        columnNumber - a int.
      • onMissingProtein1Column

        public void onMissingProtein1Column​(int lineNumber)
        Event fired when the column Protein1 is missing or empty
        Specified by:
        onMissingProtein1Column in interface CsvParserListener
        Parameters:
        lineNumber - : line number