X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=srcjar%2Ffr%2Forsay%2Flri%2Fvarna%2Fmodels%2Ftemplates%2FRNANodeValueTemplate.java;fp=srcjar%2Ffr%2Forsay%2Flri%2Fvarna%2Fmodels%2Ftemplates%2FRNANodeValueTemplate.java;h=79374ba93e63bb2d71005f8af2c76e4cd161dd63;hb=4898f0ae429e0c61ddba72ca46be89b34bb4df8b;hp=0000000000000000000000000000000000000000;hpb=5a6ac5b535856903629234ad43a71319a91ebee5;p=jalview.git diff --git a/srcjar/fr/orsay/lri/varna/models/templates/RNANodeValueTemplate.java b/srcjar/fr/orsay/lri/varna/models/templates/RNANodeValueTemplate.java new file mode 100644 index 0000000..79374ba --- /dev/null +++ b/srcjar/fr/orsay/lri/varna/models/templates/RNANodeValueTemplate.java @@ -0,0 +1,23 @@ +package fr.orsay.lri.varna.models.templates; + +import fr.orsay.lri.varna.models.treealign.GraphvizDrawableNodeValue; + + +/** + * An node from an RNA template is either a sequence of non-paired bases, + * a base pair originally belonging to an helix, + * or a single base originally belonging to an helix but which was broken + * in order to remove pseudoknots. + * + * @author Raphael Champeimont + */ +public abstract class RNANodeValueTemplate implements GraphvizDrawableNodeValue { + + public String toString() { + return toGraphvizNodeName(); + } + + public abstract String toGraphvizNodeName(); + + +}