Biotech > FAQ > BioPerl FAQ (Frequently Asked Questions)

I get the warning (old style Annotation) on new ...

To see other biotech frequently asked questions, please visit

(Continued from previous question...)

I get the warning (old style Annotation) on new style Annotation::Collection. What is wrong?

Wow, you're using an old version! You'll see this error because the modules and interface has changed starting with BioPerl 1.0. Before v1.0 there was a Bio::Annotation module with add_Comment, add_Reference, each_Comment, and each_Reference methods.

After v1.0 there is a Bio::Annotation::Collection module with add_Annotation('comment', $ann) and get_Annotations('comment').

Please update your code in order to avoid seeing these warning messages. In the future the Reference objects will likely be implemented by the Bio::Biblio system but we hope to maintain a compatible API for these.

(Continued on next question...)

Other Frequently Asked Questions