You probably want to say... StrandedFeature cds = (StrandedFeature) feat; if(cds.getStrand() == StrandedFeature.NEGATIVE) { // this is a negative strand feature, and is therefore // complemented. ... } > I want to check if a CDS contains the keyword "complement". Is there any > method to do so? > > George >