| 1. |
I Get The Warning (old Style Annotation) On New Style Annotation::collection. What Is Wrong? |
|
Answer» 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. 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. |
|