git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into bug/JAL-1608createGroups
[jalview.git]
/
src
/
jalview
/
datamodel
/
SequenceI.java
diff --git
a/src/jalview/datamodel/SequenceI.java
b/src/jalview/datamodel/SequenceI.java
index
a29e2ba
..
92f797f
100755
(executable)
--- a/
src/jalview/datamodel/SequenceI.java
+++ b/
src/jalview/datamodel/SequenceI.java
@@
-217,8
+217,11
@@
public interface SequenceI extends ASequenceI
public int[] findPositionMap();
/**
public int[] findPositionMap();
/**
+ * Answers true if the sequence is composed of amino acid characters. Note
+ * that implementations may use heuristic methods which are not guaranteed to
+ * give the biologically 'right' answer.
*
*
- * @return true if sequence is composed of amino acid characters
+ * @return
*/
public boolean isProtein();
*/
public boolean isProtein();
@@
-334,7
+337,14
@@
public interface SequenceI extends ASequenceI
*/
public void addDBRef(DBRefEntry entry);
*/
public void addDBRef(DBRefEntry entry);
- public void addSequenceFeature(SequenceFeature sf);
+ /**
+ * Adds the given sequence feature and returns true, or returns false if it is
+ * already present on the sequence
+ *
+ * @param sf
+ * @return
+ */
+ public boolean addSequenceFeature(SequenceFeature sf);
public void deleteFeature(SequenceFeature sf);
public void deleteFeature(SequenceFeature sf);
@@
-456,7
+466,6
@@
public interface SequenceI extends ASequenceI
*/
public PDBEntry getPDBEntry(String pdbId);
*/
public PDBEntry getPDBEntry(String pdbId);
-
/**
* Get all primary database/accessions for this sequence's data. These
* DBRefEntry are expected to resolve to a valid record in the associated
/**
* Get all primary database/accessions for this sequence's data. These
* DBRefEntry are expected to resolve to a valid record in the associated