Getting database sizes for indexed databases

Peter Rice pmr at ebi.ac.uk
Thu Mar 6 15:13:18 UTC 2003


David Martin wrote:
> Is there an easy way to determine the size (ie number of sequences) in a
> database?
> Could such information be added to showdb?
>
> I am thinking of emblcd indexed databases. It must be possible to count the
> number of sequences in each file indexed and then use the file: wild cards
> to build a total for that database.

For EMBLCD databases it can be read from the index files (the number is 
in the header).

For SRS databases a simple query can return the count.

For complex cases there may be no answer - but we can either write a 
short message, or add an attribute to the database definition in 
emboss.default.

So ... is this a useful addition to showdb?

Peter





More information about the EMBOSS mailing list