public class NucleotideParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static char |
BRANCH_END_SYMBOL |
static char |
BRANCH_START_SYMBOL |
static Map<String,String> |
complementMap |
static String |
DEFAULT_NOTATION_SOURCE
Deprecated.
|
static int |
MINUMUM_MATCH_FRAGMENT_LENGTH |
static char |
MODIFICATION_END_SYMBOL |
static char |
MODIFICATION_START_SYMBOL |
static String |
RNA_DESIGN_DICER_27_L |
static String |
RNA_DESIGN_DICER_27_R |
static String |
RNA_DESIGN_NONE |
static String |
RNA_DESIGN_TUSCHL_19_PLUS_2 |
static List<String> |
SUPPORTED_DESIGN_LIST |
| Constructor and Description |
|---|
NucleotideParser() |
| Modifier and Type | Method and Description |
|---|---|
static Nucleotide |
convertToNucleotide(String id,
boolean last)
method to convert an string to an nucleotide
|
static int |
getMatchingBracketPosition(char[] characters,
int position,
char openingBracket,
char closingBracket) |
static int |
getMonomerCountForRNA(String notation) |
static List<String> |
getMonomerIDListFromNucleotide(String element) |
static Nucleotide |
getNucleotide(org.jdom2.Element nucleotideElement) |
static Nucleotide |
getNucleotide(String nucleotideXML) |
static Map<String,Map<String,String>> |
getNucleotideTemplates(org.jdom2.Element templatesElement) |
static String |
getNucleotideTemplatesXML(Map<String,Map<String,String>> templates) |
static boolean |
validateSimpleNotationForRNA(String polymerNotation)
validate RNA simple notation
|
public static final char MODIFICATION_START_SYMBOL
public static final char MODIFICATION_END_SYMBOL
public static final char BRANCH_START_SYMBOL
public static final char BRANCH_END_SYMBOL
@Deprecated public static final String DEFAULT_NOTATION_SOURCE
public static final int MINUMUM_MATCH_FRAGMENT_LENGTH
public static final String RNA_DESIGN_NONE
public static final String RNA_DESIGN_TUSCHL_19_PLUS_2
public static final String RNA_DESIGN_DICER_27_R
public static final String RNA_DESIGN_DICER_27_L
public static Map<String,Map<String,String>> getNucleotideTemplates(org.jdom2.Element templatesElement)
public static Nucleotide getNucleotide(org.jdom2.Element nucleotideElement)
public static Nucleotide getNucleotide(String nucleotideXML) throws org.jdom2.JDOMException, IOException
org.jdom2.JDOMExceptionIOExceptionpublic static String getNucleotideTemplatesXML(Map<String,Map<String,String>> templates)
public static List<String> getMonomerIDListFromNucleotide(String element) throws org.helm.notation2.parser.exceptionparser.NotationException
org.helm.notation2.parser.exceptionparser.NotationExceptionpublic static Nucleotide convertToNucleotide(String id, boolean last) throws MonomerException, NotationException, ChemistryException, NucleotideLoadingException, org.helm.notation2.parser.exceptionparser.NotationException
id - given input stringlast - if the nucleotide is the last element of an rnaChemistryException - if the chemistry engine could not be initializedNotationException - if notation is not validMonomerException - if the monomer is not validNucleotideLoadingException - if nucleotides can not be loadedorg.helm.notation2.parser.exceptionparser.NotationException - if the notation is not validpublic static int getMonomerCountForRNA(String notation) throws org.helm.notation2.parser.exceptionparser.NotationException
notation - given notationorg.helm.notation2.parser.exceptionparser.NotationException - if notation is not validpublic static boolean validateSimpleNotationForRNA(String polymerNotation) throws org.helm.notation2.parser.exceptionparser.NotationException
polymerNotation - notation to be checkedorg.helm.notation2.parser.exceptionparser.NotationException - if notation is not validpublic static int getMatchingBracketPosition(char[] characters,
int position,
char openingBracket,
char closingBracket)
Copyright © 2017. All rights reserved.