Use the mfold web server directly from Assemble2

Here is the last feature i have implemented for the upcoming Assemble2 1.2. We will start with an RNA secondary structure displayed in Assemble2 (and predicted from the sequence stored in the sample file ft3100_from_FANTOM3_project.fasta). I have selected the prediction from the algorithm RNAfold.

ft3100_from_FANTOM3_project_fasta_et_New_Post_—_WordPress_com

Now I would like to submit this sequence to the mfold Web server. By choosing Plugins | mfold Web Server, this opens the RNA folding form inside Assemble2. Once the web page loaded, and if a secondary structure is displayed, the name and the sequence are automatically filled in the form.

mfold_Web_Server_et_ft3100_from_FANTOM3_project_fasta

Once the button “Fold RNA” clicked, the sequence is reformatted by the website, indicating that the prediction has been correctly submitted. I have observed that the website is a little bit less reactive through Assemble2, but nothing dramatical. After a while, you should get the predictions. They’re listed on the web page (the blue arrow in the next screen capture), and Assemble2 lists them also in a choice box (the red arrow in the next screen capture).

mfold_Web_Server_et_ft3100_from_FANTOM3_project_fasta

Now i can use this choice box to select the prediction/structure #5 (for example) to see and manipulate it in Assemble2. To do so, i click on the button on the right (the red arrow in the next screen capture). And it’s done!!

Structure__5predicted_from_mfold_et_mfold_Web_Server

To resume, starting from Assemble2 1.2, you will be able to use all the options available from the mfold web server to predict and manipulate your favorite molecule without leaving Assemble2. As you can imagine, more will come, based on the same principle.

Load data directly from RNA databases into Assemble2.

Thanks to JavaFX, the upcoming release of Assemble2 will provide you the way to load data directly from several RNA databases (i have started with the Nucleic Acid Database and RNACentral). You will be able to browse the website as you were used to it. Once on a webpage describing a 3D structure (for the Nucleic Acid Database) or a sequence (for RNACentral), a button will be activated, indicating the ability to import the data into Assemble2.

RNACentral_linked_to_Assemble2

Deploy your own Assemble2 Web services with Vagrant

For several tasks (2D prediction, 3D annotation,…), Assemble2 delegates the work to a bunch of Web services. By default, Assemble2 is configured to use our public server (http://arn-ibmc.in2p3.fr/api/). But if you want to speed up Assemble2, you can deploy your own server locally. I have recently updated the way to do it. You will need to install on your machine:

The next releases of Assemble2 will provide a file named “Vagrantfile” containing all the details to transparently install a linux virtual machine containing the webservices needed by Assemble2. For now, you need to download the file from here and to install it in your Assemble2 directory. Once done, go into the Assemble2 directory and type from a command line:

vagrant up

The first time, this will take a while since Vagrant will download the linux virtual machine on your own computer. Once done, type:

vagrant ssh

This will log you into the virtual machine. Then type from the command line of the virtual machine:

server.py

This launches the server hosting the web services. Now start Assemble2, open the configuration panel (File -> Configure -> Assemble2) and change the Web Services Address like the following :

Configuration