basic class defining symbol dictionaries
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 13 Jan 2006 16:35:09 +0000 (16:35 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 13 Jan 2006 16:35:09 +0000 (16:35 +0000)
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 [new file with mode: 0644]

diff --git a/src/org/vamsas/objects/utils/SymbolDictionary.java b/src/org/vamsas/objects/utils/SymbolDictionary.java
new file mode 100644 (file)
index 0000000..07cdab3
--- /dev/null
@@ -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
+   * 
+   */
+  
+}