From: jprocter Date: Fri, 13 Jan 2006 16:35:09 +0000 (+0000) Subject: basic class defining symbol dictionaries X-Git-Tag: Release_0.2~398 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0a4871ecf0e3218a8cbaeb744730f8ff32120211;p=vamsas.git basic class defining symbol dictionaries git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@122 be28352e-c001-0410-b1a7-c7978e42abec --- 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 + * + */ + +}