FPocketWeb runs fpocket, a popular program for identifying cavities in protein surfaces, entirely in a web browser. The pocket-hunting calculations occur on the user's own computer rather than a remote server. The FPocketWeb app includes a convenient interface, so users can easily set up their pocket-finding runs and analyze the results. A working version of the app can be accessed free of charge from http://durrantlab.com/fpocketweb.
We have tested FPocketWeb on all major operating systems (Linux, macOS, Windows, Android, iOS) and web browsers (Chrome, Firefox, Safari, Edge).
The "Input Parameters" tab includes the "Input File" and "Advanced Parameters" subsections. In the "Input File" subsection, users can specify the protein file (PDB format) for pocket hunting. The contents of these files are loaded into the browser's memory, but they are never transmitted/uploaded to any third-party server. Users who wish to simply test FPocketWeb can instead click the "Use Example File" button to load a preprepared structure of H. sapiens heat shock protein 90 (Hsp90, PDB 5J2V). Loaded files are displayed in the "PDB Preview" subsection using a 3Dmol.js molecular viewer.
The "Advanced Parameters" subsection allows users to specify the same parameters available through the fpocket command-line executable, so they can fine-tune the underlying pocket-finding method. FPocketWeb initially hides these parameters because most users will prefer to use the default values. Once ready, users can click the "Start FPocketWeb" button to initiate the FPocketWeb run.
FPocketWeb displays the "Output" tab once the calculations are complete, which includes the "Visualization" and "Detected Pockets" subsections, among others. The "Visualization" subsection displays the specified protein and detected cavities. Initially, only the pocket with the highest fpocket score is displayed.
The "Detected Pockets" subsection contains a table with the detailed output for each detected pocket, one pocket per row. Initially, only the score, the druggability score, the number of alpha spheres, and the volume are displayed, but the "Show Details" toggles allow users to display all other fpocket metrics for each detected pocket. Users can also change the color used to visualize each pocket.
The "Output Files" subsection allows users to view the FPocketWeb output PDB file directly. This file includes the original protein structure and all the detected pockets. Users can press the associated "Download" button to save the file to disk.
Finally, the "Run Fpocket from the Command Line" subsection provides a code snippet so users can run fpocket from the command line with the same FPocketWeb parameters used in the browser.
The "Start Over" tab displays a simple button that allows the user to restart the FPocketWeb app. A warning message reminds the user that they will lose the results of the current FPocketWeb run unless they have saved their output files.
Most users will wish to simply access the already compiled, publicly available FPocketWeb web app at http://durrantlab.com/fpocketweb. If you wish to instead run FPocketWeb on your own UNIX-like computer (LINUX, macOS, etc.), follow these instructions:
- Download the fpocketweb.zip file
- Uncompress the file:
- Change to the new
- Start a local server. We recommend using
npm install -g http-server
- Access the server from your web browser (e.g.,
Running FPocketWeb on other operating systems (e.g., Windows) should be similar.
In some circumstances, the FPocketWeb web app may report usage statistics to Google Analytics. These reports are useful for securing and justifying funding for the Durrant lab. Usage statistics are only sent if the web-app URL contains the substring "durrantlab," so installing FPocketWeb on your own server should prevent reporting. Even when using the publicly available version of FPocketWeb hosted at http://durrantlab.com/fpocketweb, information about your specific protein is never transmitted to any remote server.