X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FSecondaryStructureAnnotation.java;fp=src%2Fjalview%2Fdatamodel%2FSecondaryStructureAnnotation.java;h=5c3eae92fe8bc695ba6ae2bd6b10d3ab1d769129;hb=a7f8fa9c06d82efbbdbc6a0bf1054bb21610b353;hp=0000000000000000000000000000000000000000;hpb=54b98888f691a29c2bdeedcfc120036e921e73d6;p=jalview.git diff --git a/src/jalview/datamodel/SecondaryStructureAnnotation.java b/src/jalview/datamodel/SecondaryStructureAnnotation.java new file mode 100644 index 0000000..5c3eae9 --- /dev/null +++ b/src/jalview/datamodel/SecondaryStructureAnnotation.java @@ -0,0 +1,31 @@ +package jalview.datamodel; + +import fr.orsay.lri.varna.models.rna.RNA; + +public class SecondaryStructureAnnotation extends AlignmentAnnotation +{ + + + private static RNA _rna = null; + public SecondaryStructureAnnotation (RNA rna) + { + super("Secondary Structure", "Un truc trop cool",getAnnotation(rna)); + + + _rna = rna; + } + + public RNA getRNA() + { + return _rna; + } + public static Annotation[] getAnnotation(RNA rna) + { + Annotation[] ann = new Annotation[rna.getSize()]; + for(int i=0;i