[Biojava-l] Complement feature in CDS table

Y D Sun Yudong.Sun at newcastle.ac.uk
Tue Jul 8 15:44:10 EDT 2003


> -----Original Message-----
> From: Thomas Down [mailto:thomas at derkholm.net] 
> Sent: 08 July 2003 13:49
> To: Y D Sun
> Cc: biojava-l at biojava.org
> Subject: Re: [Biojava-l] Complement feature in CDS table
> 
> 
> Once upon a time, Y D Sun wrote:
> > Dear all,
> > 
> > How to filter the complement feature in CDS? I get the 
> features in a 
> > CDS table using the following code:
> > 
> > 	Map m = f.getAnnotation().asMap();		// f is a
> > Feature containing a CDS table
> >       
> >       String ge = m.get("gene").toString();	// ok
> >       String pr = m.get("product").toString();  // ok
> > 	...
> > 	String co = m.get("complement").toString(); // return nothing 
> > although the CDS table includes complement(int..int).
> 
> The complement(xxx..yyy) stuff is the feature's location, 
> rather than part of the qualifier-value data.  In BioJava, 
> this will be represented by a feature having a location from 
> xxx to yyy, and being on the negative strand.
> 

I want to check if a CDS contains the keyword "complement". Is there any
method to do so?

George

> For more information, see:
> 
 
http://www.ebi.ac.uk/embl/Documentation/FT_definitions/feature_table.htm
l

Thomas.



More information about the Biojava-l mailing list