- 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<ann.length;i++)
- {
- ann[i] = new Annotation(_rna.getStructDBN(true), "", ' ', 0f);;
- }
- return ann;
- }
+ 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 < ann.length; i++)
+ {
+ ann[i] = new Annotation(_rna.getStructDBN(true), "", ' ', 0f);
+ ;
+ }
+ return ann;
+ }