/ mabslib / Output.py
Takes care of the output formating.
Also gzip related.
from cStringIO import StringIOfrom time import localtimeimport types
formatalignCHAOS ( alignment )
Formats the alignment as anchoring file for DIALIGN2 (a la CHAOS) Not quite
savematch ( data, filename='' )
data must have the following format: dictionary from Matrix to Sequence to Index to Score
formatalign ( alignment, seq=None )
Formats the alignment for human use
get ( data )
formatalignGFF ( alignment )
Formats the alignment for GFF file
savealign ( alignment, filename='' )
saves the alignment
showmatch ( data )