Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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

0
Posted

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

0
10

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.

0

This is because we have transitioned from the add_Comment/each_Comment, add_Reference/each_Reference style to add_Annotation(‘comment’, $ann)/get_Annotations(‘comment). Please update your code in order to avoid seeing these warning messages. The objects have also changed from the Bio::Annotation object to the Bio::Annotation::Collection object, starting with v. 1.0. This is a more general and extensible system. 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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123