Skip to content
dr_sasa plot script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information. Solvent Accessible Surface Area plot software. is a python script used to plot the dr-sasa's Solvent Accessible Surface Area results.


dr-sasa is a solvent accessible surface area calculation software for biological molecules, that supports proteins, DNA and RNA inputs. The input files can be in the PDB or MOL2 format. PDB format files will use a NACCESS compatible VdW radii lookup table, while MOL2 formats will use the same VdW radii used in Chimera.

If you use this software in your research, please acknowledge it by citing the following:

Ribeiro, J., Ríos-Vera, C., Melo, F. and Schüller, A. (2018) 
“Calculation of accurate contact surface areas between atoms for the 
quantitative analysis of non-bonded molecular interactions”. 
Bioinformatics (submitted).



  • Python >= 2.7
  • Matplotlib >= 2.1
  • Pandas
  • Seaborn
  • Doctopt
  • Git (Optional, only if you are installing via pip)

how to install

Using PIP:

Open your terminal (cmd in Windows) and run the following command:

pip install git+

Usage has three operational modes:

  • residue: Plots the Buried Surface Area (BSA or Delta SASA) matrix files calculated for residues (*.by_res.tsv) as a heatmap.
  • atom: Plots the Buried Surface Area matrix file calculated for atoms (*._by_atom.tsv) as a heatmap.
  • protein-ligand: Plots the Buried Surface Area produced between a protein-ligand interface using the BSA file calculated for atoms (*._by_atom.tsv) as heatmap.

Usage: residue <tablefile> <atmasafile> [--skip-non-contact <outputfile>] atom  <tablefile> <atmasafile> [--skip-non-contact <outputfile>] protein-ligand  <tablefile> <atmasafile> [--skip-non-contact <outputfile>]


  • --skip-non-contact option is used to avoid ploting atoms or residues with none contact information.
  • <outputfile> parameter if you want to change the output filename.


#Plot using residue mode residue 3f3e_complex.LIGAND_vs_PROTEIN.by_res.tsv 3f3e_complex.atmasa --skip-non-contact

#Plot using atom mode atom 3f3e_complex.LIGAND_vs_PROTEIN.by_atom.tsv 3f3e_complex.atmasa --skip-non-contact

#Plot using protein-ligand mode atom 3f3e_complex.LIGAND_vs_PROTEIN.by_atom.tsv 3f3e_complex.atmasa --skip-non-contact
You can’t perform that action at this time.