conkit.plot.contactmapchord module¶
A module to produce a contact map chord diagram
-
class
ContactMapChordFigure
(hierarchy, use_conf=False, **kwargs)[source]¶ Bases:
conkit.plot.figure.Figure
A Figure object specifically for a
ContactMap
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
-
hierarchy
¶ The default contact map hierarchy
Type: ContactMap
Examples
>>> import conkit >>> cmap = conkit.io.read('toxd/toxd.mat', 'ccmpred').top_map >>> conkit.plot.ContactMapChordFigure(cmap)
-
hierarchy
The default contact map hierarchy
-