In this topic we will go through the steps explaining how to create your own user-specific post-download conversion / processing activity. In the previous topic we saw that the activity can be accomplished with a console background application such as xml2pdb.exe. Other examples of the console-background-application activity are zipping/unzipping file archives with zip.exe, rar.exe, gzip.exe, Minigzip.exe, or file processing with numerous bioinformatics tools / utilities, or your own application (Perl scripts, Python scripts, binaries, etc.)
We would like to emphasize that the activity should not be limited only to console-based applications. Here we present an activity that opens every PDB file one-by-one with a molecular graphics visualization program, RasMol. The goal of the activity is to visually get acquainted with every PDB structure from the list. The user can also specify the maximum time allocated for viewing every structure in RasMol.
Instead of RasMol it can be any graphical user interface (GUI) application that accepts a PDB or other bioinformatics file as input argument. The user might consider such way of using the post-download conversion / processing tool as means of considerable time saving from routine repeatable actions done with each downloaded file.
This field specifies what argument line is passed to the application, in this case to raswin.exe.
The content of RasmolScript.txt is:
It is a set of Rasmol commands that we want to apply in every Rasmol session.
If you enter 15 seconds then every 15 seconds the structure in Rasmol Viewer is switched to the next one in the list. If you close Rasmol Viewer with the current structure before the timeout has expired then the next structure from the list will be shown. If you want to spend almost unlimited amount of time per each structure then enter the maximum possible value. The default value is 180 seconds.
Rasmol will consecutively open every PDB file and apply the RasmolScript.txt script to each session:
and so on ...