@Deprecated public class PeptideRecognizer extends Recognizer
needsMore
Constructor and Description |
---|
PeptideRecognizer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
canBe1LetterPeptide(String s)
Deprecated.
Tests whether a string can be one-letter-abbreviated
peptide name.
A valid name contains only uppercase letters. |
static boolean |
canBe3LetterPeptide(String s)
Deprecated.
Tests whether a string can be three-letter-abbreviated
peptide name.
|
static String |
guessPeptideFormat(String header)
Deprecated.
as of Marvin 2014.07.21.0 intended for internal use
|
chemaxon.common.util.Pair<Boolean,Collection<String>> |
tryToRecognize(String line,
int lineNumber)
Deprecated.
Checks whether the parameter line can be part of a valid (format specified) file on the given file position.
|
getLastProcessedLineNum, isLastLine, needsMore, tryToRecognize
public chemaxon.common.util.Pair<Boolean,Collection<String>> tryToRecognize(String line, int lineNumber)
Recognizer
tryToRecognize
in class Recognizer
line
- the line stringlineNumber
- the position of the linePair
of which second parameter gives the format name collection that is:
public static boolean canBe1LetterPeptide(String s)
s
- the input string@Deprecated public static String guessPeptideFormat(String header)
header
- first few chars of the input streampublic static boolean canBe3LetterPeptide(String s)
s
- the input string