A module to produce a contact map chord diagram
ContactMapChordFigure
(hierarchy, **kwargs)[source]¶Bases: conkit.plot._Figure.Figure
A Figure object specifically for a Contact Map chord diagram
This figure will illustrate the contacts linking the residues in the target sequence. This plot is a very common representation of contacts. With this figure, you can illustrate intra-molecular.
Color scheme:
Amino acid | Hex code | Amino acid | Hex code | Amino acid | Hex code | Amino acid | Hex code | Amino acid | Hex code |
---|---|---|---|---|---|---|---|---|---|
Ala | #882D17 |
Arg | #B3446C |
Asn | #F99379 |
Asp | #875692 |
Cys | #F3C300 |
Gln | #F6A600 |
Glu | #F38400 |
Gly | #BE0032 |
His | #C2B280 |
Ile | #848482 |
Leu | #E68FAC |
Lys | #008856 |
Met | #0067A5 |
Phe | #A1CAF1 |
Pro | #604E97 |
Ser | #DCD300 |
Thr | #8DB600 |
Trp | #E25822 |
Tyr | #2B3D26 |
Val | #654522 |
Unk | #000000 |
Examples
>>> import conkit
>>> cmap = conkit.io.read('toxd/toxd.mat', 'ccmpred').top_map
>>> conkit.plot.ContactMapChordFigure(cmap)
Attributes
hierarchy |
The default contact map hierarchy |
Methods
redraw () |
Re-draw the plot with updated parameters |
hierarchy
¶The default contact map hierarchy