public abstract class MutationExtractor extends Object
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
populateAminoAcidNameToOneLookupMap
This method simple fills the two mappings between amino acid name and the amino acid one-letter code
|
static Map<String,String> |
populateAminoAcidThreeToOneLookupMap
This method simple fills the two mappings between amino acid one letter code and the amino acid three letter code
|
Constructor and Description |
---|
MutationExtractor() |
Modifier and Type | Method and Description |
---|---|
protected void |
error(String message) |
abstract Map<Mutation,Set<int[]>> |
extractMutations(String rawText)
Extract point mutations mentions from raw_text and return them in a map.
|
protected void |
warn(String message) |
public static Map<String,String> populateAminoAcidThreeToOneLookupMap
public abstract Map<Mutation,Set<int[]>> extractMutations(String rawText) throws MutationException
rawText
- the text to be processedMutationException
protected void warn(String message)
protected void error(String message)
Copyright © 2016. All rights reserved.