Coverage for /home/deng/Projects/ete4/hackathon/ete4/ete4/phylo/evolevents.py: 18%

17 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-03-21 09:19 +0100

1__all__ = ["EvolEvent"] 

2 

3class EvolEvent: 

4 """ Basic evolutionary event. It stores all the information about an 

5 event(node) ocurred in a phylogenetic tree. 

6 

7 :attr:`etype` : ``D`` (Duplication), ``S`` (Speciation), ``L`` (gene loss), 

8 

9 :attr:`in_seqs` : the list of sequences in one side of the event. 

10 

11 :attr:`out_seqs` : the list of sequences in the other side of the event 

12 

13 :attr:`node` : link to the event node in the tree 

14 

15 """ 

16 

17 def __init__(self): 

18 self.etype = None # 'S=speciation D=duplication' 

19 self.in_seqs = [] 

20 self.out_seqs = [] 

21 self.dup_score = None 

22 self.sos = None 

23 

24 # Not documented 

25 self.inparalogs = None 

26 self.outparalogs = None 

27 self.outgroup_spcs = None # outgroup 

28 self.e_newick = None # 

29 self.root_age = None # estimated time for the outgroup node 

30 self.orthologs = None 

31 self.famSize = None 

32 self.seed = None # Seed ID used to start the phylogenetic pipeline 

33 self.branch_supports = []