diff --git a/uk/ac/sanger/artemis/Feature.java b/uk/ac/sanger/artemis/Feature.java index 9b578da47ceac8278ec636ee80ba53c0ae48197e..e94868276dce5775718d6eb5f80e5c93cfbe6d92 100644 --- a/uk/ac/sanger/artemis/Feature.java +++ b/uk/ac/sanger/artemis/Feature.java @@ -666,30 +666,11 @@ public class Feature return false; } - /** - * Return true if and only if the key of this feature is CDS feature and - * the feature has a /pseudo qualifier. - **/ - public boolean isPseudoCDS() - { - try - { - if(getKey().equals("CDS") && getQualifierByName("pseudo") != null) - return true; - else - return false; - } - catch(InvalidRelationException e) - { - throw new Error("internal error - unexpected exception: " + e); - } - } - /** * Return true if and only if the key of this feature is CDS feature and * the feature has a /partial qualifier. **/ - public boolean isPartialCDS() + private boolean isPartialCDS() { try { @@ -704,25 +685,6 @@ public class Feature } } - /** - * Return true if and only if the key of this feature is an RNA feature or - * is a CDS feature and doesn't have a /pseudo qualifier. - **/ - public boolean isCodingFeature() - { - if(getKey().equals("CDS") && ! isPseudoCDS() || - getKey().equals("misc_RNA") || - getKey().equals("mRNA") || - getKey().equals("precursor_RNA") || - getKey().equals("rRNA") || - getKey().equals("scRNA") || - getKey().equals("snRNA") || - getKey().equals("tRNA")) - return true; - else - return false; - } - /** * Return the Location of this Feature. **/