X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentI.java;h=a193997a288937ad7976a1eee9137ffc7d79a00a;hb=887c53273a44cff58d64ee094d9e76bb2f90265b;hp=2e0903df8381b33829cc85e886ce21277ed8bf5f;hpb=28a00b99bbd8f25fd894d5941149f2e1a45ed0f2;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentI.java b/src/jalview/datamodel/AlignmentI.java index 2e0903d..a193997 100755 --- a/src/jalview/datamodel/AlignmentI.java +++ b/src/jalview/datamodel/AlignmentI.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6) - * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) + * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle * * This file is part of Jalview. * @@ -204,9 +204,9 @@ public interface AlignmentI /** * Deletes a specific AlignmentAnnotation from the alignment, and removes its - * reference from any SequenceI or SequenceGroup object's annotation if and only if aa is - * contained within the alignment's annotation vector. Otherwise, it will do - * nothing. + * reference from any SequenceI or SequenceGroup object's annotation if and + * only if aa is contained within the alignment's annotation vector. + * Otherwise, it will do nothing. * * @param aa * the annotation to delete @@ -215,15 +215,17 @@ public interface AlignmentI public boolean deleteAnnotation(AlignmentAnnotation aa); /** - * Deletes a specific AlignmentAnnotation from the alignment, and optionally removes any - * reference from any SequenceI or SequenceGroup object's annotation if and only if aa is - * contained within the alignment's annotation vector. Otherwise, it will do - * nothing. + * Deletes a specific AlignmentAnnotation from the alignment, and optionally + * removes any reference from any SequenceI or SequenceGroup object's + * annotation if and only if aa is contained within the alignment's annotation + * vector. Otherwise, it will do nothing. * * @param aa * the annotation to delete * @param unhook - * flag indicating if any references should be removed from annotation - use this if you intend to add the annotation back into the alignment + * flag indicating if any references should be removed from + * annotation - use this if you intend to add the annotation back + * into the alignment * @return true if annotation was deleted from this alignment. */ public boolean deleteAnnotation(AlignmentAnnotation aa, boolean unhook); @@ -259,6 +261,13 @@ public interface AlignmentI public boolean isNucleotide(); /** + * Test if alignment contains RNA structure + * + * @return true if RNA structure AligmnentAnnotation was added to alignment + */ + public boolean hasRNAStructure(); + + /** * Set alignment to be a nucleotide sequence * */