From 0a4871ecf0e3218a8cbaeb744730f8ff32120211 Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 13 Jan 2006 16:35:09 +0000 Subject: [PATCH] basic class defining symbol dictionaries git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@122 be28352e-c001-0410-b1a7-c7978e42abec --- src/org/vamsas/objects/utils/SymbolDictionary.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/org/vamsas/objects/utils/SymbolDictionary.java diff --git a/src/org/vamsas/objects/utils/SymbolDictionary.java b/src/org/vamsas/objects/utils/SymbolDictionary.java new file mode 100644 index 0000000..07cdab3 --- /dev/null +++ b/src/org/vamsas/objects/utils/SymbolDictionary.java @@ -0,0 +1,19 @@ +package org.vamsas.objects.utils; + +public class SymbolDictionary { + /** + * defines standard names and properties for vamsas sequence dictionaries + */ + static final public String STANDARD_AA="info:iubmb.org/aminoacids"; // strict 1 letter code + static final public String STANDARD_NA="info:iubmb.org/nucleosides";// strict 1 letter code (do not allow arbitrary rare nucleosides) + /** + * TODO: Vamsas Dictionary properties interface + * an interface for dictionary provides : + * validation for a string + * symbolwidth (or symbol next/previous) + * mappings to certain other dictionaries (one2three, etc) + * gap-character test + * + */ + +} -- 1.7.10.2