Contact Map Plotting

If you would like to plot a contact map using ConKit without the overhead of using Python, you can simply use the conkit-plot script.

$> conkit-plot cmap toxd/toxd.fasta fasta toxd/toxd.mat ccmpred

The call above uses the contact prediction file toxd.mat file, which is in ccmpred format, and plots the following 2D contact map stored in the file toxd/toxd.png

Toxd CMap Simple

You can also add a reference structure to determine which contacts are true and false positive contacts. By default, all contacts are identified in the reference structure by measuring the distance between Cβ atoms, whereby all atoms closer than 8Å are considered to be in contact.

$> conkit-plot cmap -p toxd/toxd.pdb -pf pdb toxd/toxd.fasta fasta toxd/toxd.mat ccmpred

The call above produces a contact map plot looking like this. The gray points are the reference contacts, and matched and mismatched contacts are shown in color.

Toxd CMap Reference

You could also add a second contact prediction file to the call to compare two maps against each other.

$> conkit-plot cmap -e toxd/toxd.psicov -ef psicov -p toxd/toxd.pdb -pf pdb toxd/toxd.fasta fasta toxd/toxd.mat ccmpred

The call above produces a contact map plot looking like this. The gray points are the reference contacts, and matched and mismatched contacts are shown in color. The top triangle is the second contact map from file toxd/toxd.psicov whereas the bottom one is from toxd/toxd.mat.

Toxd CMap Advanced

Finally, you could also illustrate the confidence with which each contact was predicted.

$> conkit-plot cmap --confidence -e toxd/toxd.psicov -ef psicov -p toxd/toxd.pdb -pf pdb toxd/toxd.fasta fasta toxd/toxd.mat ccmpred

The call above produces a contact map plot looking like this. All parameters and settings are identical to the previous map except the --confidence flag, which will show more confidently predicted contacts as larger markers.

Toxd CMap Confidence

Note

You can use the last two examples also without a reference structure!