Class ProteinInsertion

    • Constructor Detail

      • ProteinInsertion

        public ProteinInsertion​(boolean onlyPredicted,
                                ProteinRange position,
                                ProteinSeqDescription seq)
        Parameters:
        onlyPredicted - whether the change was only predicted
        position - range of length one giving the insertion position
        seq - description of the inserted sequence
    • Method Detail

      • buildWithLength

        public static ProteinInsertion buildWithLength​(boolean onlyPredicted,
                                                       String firstAA,
                                                       int firstPos,
                                                       String lastAA,
                                                       int lastPos)
        Build without any sequence description.
      • buildWithLength

        public static ProteinInsertion buildWithLength​(boolean onlyPredicted,
                                                       String firstAA,
                                                       int firstPos,
                                                       String lastAA,
                                                       int lastPos,
                                                       int insertedLength)
        Build with length information
      • buildWithSequence

        public static ProteinInsertion buildWithSequence​(boolean onlyPredicted,
                                                         String firstAA,
                                                         int firstPos,
                                                         String lastAA,
                                                         int lastPos,
                                                         String seq)
        Build with sequence
      • buildWithoutSeqDescription

        public static ProteinInsertion buildWithoutSeqDescription​(boolean onlyPredicted,
                                                                  String firstAA,
                                                                  int firstPos,
                                                                  String lastAA,
                                                                  int lastPos)
        Build without any SeqDescription
      • withOnlyPredicted

        public ProteinChange withOnlyPredicted​(boolean onlyPredicted)
        Specified by:
        withOnlyPredicted in class ProteinChange
        Returns:
        ProteinChange object with prediction state set to the one given by the parameter