IUBio GIL .. BIOSCI/Bionet News .. Biosequences .. Software .. FTP

Problems with subentries

Tim Cutts timc at chiark.greenend.org.uk
Thu Nov 25 11:05:47 EST 1999


Hi SRS world:

I'm trying to write a parser for SRS 5.1 for a databank which has two
distinct types of subentry.  Ideally I would like to keep these separate
as two subentry databases.

According to the documentation for thes $library class, I can have up to
10 subentry databases - I just have a list in the subentries attribute:

subentries:{@MyFeatures_DB @MyOther_DB}

But this doesn't work!

Whichever one I put first works, and the second one is ignored.

Could this be because in the $libformat definition for each of these I
have the same idType:

idType:@Feature_Id

@Feature_Id is defined in srsgen.i as:

Feature_Id:$IdType:[Feature size:6 subNBeg:0 subNLen:2 fipBeg:2 
  fipLen:3 libIdBeg:5 libIdLen:1
]

I tried changing one of the idType: attributes to @SUBENTRY_ID, but that
doesn't seem to have fixed things.

Anyone got any ideas?

Thanks in advance...

Tim.





More information about the Bio-srs mailing list

Send comments to us at archive@iubioarchive.bio.net