[Biojava-l] Finding a feature by its ID
Jansen
jansen@lionbioscience.com
Wed, 16 Oct 2002 14:20:52 +0200
Hi,
I am trying to find a feature, identified by its identifier (String), within
a DASSequence. This is the code:
FeatureFilter.ByAnnotation ff1 = new
FeatureFilter.ByAnnotation("org.biojava.bio.program.xff.id",identifier);
FeatureHolder holder = dasSeq.filter(ff1,true);
But unfortunatly this does not find all the features. For example it finds
"components/NT_021937" if the DASSequence corresponds to chromosome 1 on the
human genome 8.30. If I am searching for "ENSE00000897633" (which is a
direct child of NT_021937) this works too. But if I am looking for
"components/AL139424.21.1.86720" which is also a child of NT_021937, the
feature is not found. The same for "AK074279@10439-10678" which is a child
of "AL139424.21.1.86720".
Any idea about this strange behaviour?
Thanks
Thorsten