[ensembl-dev] protein tree id and tagvalue

Matthieu Muffato muffato at ebi.ac.uk
Thu Jul 5 12:03:45 BST 2012


Nice to hear that :)

What do you mean by "has_tag() == false" ? has_tag is supposed to have 
one argument: the tag name to be tested.
And are you speaking of node tags (from a GeneTreeNode object) ? or 
tree-wide tags (from a GeneTree object) ?

Regards,
Matthieu

On 04/07/12 18:22, Sébastien Moretti wrote:
> It works perfectly now (second solution).
> Thanks
>
> Are all trees without tags (has_tag() == false) "fake trees" with only 1
> or 2 sequences ?
> Or are there other trees without tags ?
>
> Regards
> Sébastien
>
>> The initial call to split_tree should use $tree->root, then.
>>
>> The other solution is to define $tree as
>> $tree_adaptor->fetch_by_root_id(487410)->root and you will not need any
>> further ->root() call
>>
>> Matthieu





More information about the Dev mailing list