swamp.parsers.mapalignparser module¶
-
class
MapAlignParser
(stdout, logger=None)[source]¶ Bases:
swamp.parsers.parser.Parser
map_align contact map alignment output parser
Parameters: - stdout (str) – the stdout to be parsed (default None)
- logger (SwampLogger) – logging interface for the parser (default None)
Variables: - con_sco (str) – the contact score obtained after alignment of the input maps
- gap_sco (str) – the gap score obtained in the alignment
- total_sco (str) – the gap score obtained after alignment of the input maps
- alignment_length (int) – the length of the alignment obtained between the two input maps
- alignemnt (dict) – a dictionary with the residue sequence number equivalence across the two input maps
Example: >>> from swamp.parsers import MapAlignParser >>> my_parser = MapAlignParser('<stdout>') >>> my_parser.parse()
-
summary
¶ A summary of the figures of merit