Public Member Functions

MGT::PhageHostDb::VirHostParser Class Reference

List of all members.

Public Member Functions

def assignHost

Detailed Description

Class that find phage-host pairs based on GenBank annotation as well as from phage and microbe names alone.
The main entry point is assignHostsAndSave()

Member Function Documentation

def MGT::PhageHostDb::VirHostParser::assignHost (   self,
  node,
  candNames 
)
Search candidate names in the taxonomy tree.
@param candNames [(edit_distance,name),(edit_distance,name),...]
sorted by edit_distance.
@ret list of nodes found.
Going from smaller to larger edit distances, find all matches
at a given edit distance and return nodes that are not descendants
of any other found nodes. Once a list of nodes at a given edit distance
is found, the method returns w/o looking at larger edit distances.

The documentation for this class was generated from the following file: