Skip to content
Snippets Groups Projects
Commit 0d972f6e authored by tcarver's avatar tcarver
Browse files

tidy

parent d331d69d
No related branches found
No related tags found
No related merge requests found
......@@ -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.
**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment