Table of Contents

Module: modhmmer /amd/bernoulli/1/home/abt_vin/georgi/hmm/0.7/ghmm//ghmmwrapper/modhmmer.py

HMMER file format support for the GHMM library.

Imported modules   
import StringIO
import re
import string
import sys
from xml.dom import minidom
Functions   
build_matrix
del_mat
gotoLine
map_entries
norm_mat
red_mat_end
remove_state
sum_mrows
toint
write_file
xml_newdatanode
  build_matrix 
build_matrix ( n,  m )

builds n x m matrix with lists

  del_mat 
del_mat ( mat,  r )

deletes the <r>th columns and row from the matrix

  gotoLine 
gotoLine ( f,  res )

  map_entries 
map_entries ( dic,  lis )

translates the letters to the number of the columns

  norm_mat 
norm_mat ( mat )

  red_mat_end 
red_mat_end ( mat,  r )

delete <r> rows and columns from the end of the matrix

  remove_state 
remove_state ( matrix,  index )

  sum_mrows 
sum_mrows ( mat )

sums the rows of a matrix

  toint 
toint ( i )

return integer if i is value or 0

  write_file 
write_file ( strf,  strcontent )

writes <strcontent> in file <strf>

  xml_newdatanode 
xml_newdatanode (
        doc,
        nodename,
        attributename,
        attribute,
        text,
        )

returns node with attribute and text

Classes   

hmmer

reads hmmer file and converts it to xml


Table of Contents

This document was automatically generated on Fri Jan 20 14:56:59 2006 by HappyDoc version WORKING