applied-bioinformatics / An-Introduction-To-Applied-Bioinformatics

Interactive lessons in bioinformatics.
http://readIAB.org
Other
805 stars 316 forks source link

bug in guide_tree_from_query_sequences #33

Closed johnchase closed 10 years ago

johnchase commented 10 years ago

guide_tree_from_query_sequences fails when passed correct data.

686 
687     guide_dm = DistanceMatrix(guide_dm, seq_ids)

--> 688 guide_lm = average(guide_dm.condensed_form()) 689 guide_tree = to_tree(guide_lm) 690 if display_tree:

AttributeError: 'DistanceMatrix' object has no attribute 'condensed_form'

jairideout commented 10 years ago

The distance matrix class names changed recently in scikit-bio, and the iab code has been updated to work with them. If you update to the latest scikit-bio version, this issue should be resolved (please reopen this if that's not the case).