Create a Fingerprints of your file


How many times have you received a document or a file, and you needed to be sure that you were reading the original version of that file? Moreover, how can you trust a generic .exe, a script or whatever you receive as “attachment”?

Let me introduce a smart solution created ad hoc to check what’s behind a file.

We are talking about the MD5 algorithm!

From Wikipedia
The MD5 algorithm is a widely used hash function producing a 128-bit hash value. Although MD5 was initially designed to be used as a cryptographic hash function, it has been found to suffer from extensive vulnerabilities. It can still be used as a checksum to verify data integrity, but only against unintentional corruption.

MD5 was designed by Ronald Rivest in 1991 to replace an earlier hash function MD4. The source code in RFC 1321 contains a “by attribution” RSA license.

Like most hash functions, MD5 is neither encryption nor encoding. It can be reversed by brute-force attack.

For example, you can create useful “fingerprints” of your work, and then share it.

Like this one: click here and download a .mol2 (Histidine).

How you can trust that the file you are you going to download is really “the” file we are talking about?

Well, with MD5 you can always be sure of its origin, because I have assigned to it a MD5 signature:

MD5 (Histidine.mol2) = 8926aab5d9b3e9a88f642a25a50c6146

If you download it you can see by yourself what is the MD5 without opening the file!

From your terminal just type:
$ md5 Histidine.mol2
and you will get this output:
$ MD5 (Histidine.mol2) = 8926aab5d9b3e9a88f642a25a50c6146

So now you are pretty sure: this is an information strictly related to your file. Not only this, but this is a unique information!
(Yes it can reversed by a brute force attack but it isn’t easy and it waste a lot of time/computing power!)

If you add only a “space” at end of the file the hash of this file will change like this:
$ md5 Histidine.mol2
$ MD5 (Histidine.mol2) = 0084ce853a6308b4959bd711f1172b80

The fingerprints change dramatically!
from this: 8926aab5d9b3e9a88f642a25a50c6146
to this:  0084ce853a6308b4959bd711f1172b80

There isn’t anymore any relation between two strings! And we have just added a single space at end of .mol2 file!

No one could never modify this info or even try to understand what was the info behind such fingerprints.

There are a lot of applications for “signing” a file in this way, rather than just check the origin of a file: for example, you can avoid any modification to your files done by other people, because as we’ve seen every edit will dramatically change the fingerprint itself!
Of course, md5 is also one of the best option to validate any information.

NAMD – lesson 0, an introduction to Molecular Dynamics

NAMD - Scalable Molecular Dynamics

NAMD – Scalable Molecular Dynamics

Molecular dynamics (from now on, MD) is nowadays an essential tool in chemical and biological research, as it has been employed in study of small organic compounds and big biomolecular machineries ( Its importance has been recognized in 2013 with the Nobel prize for chemistry awarded to Karplus, Levitt and Warshel for “the development of multiscale models for complex chemical systems”.

Experimental techniques such as X-ray crystallography, solution and solid-state NMR, and more recently cryo-EM help scientists to calculate the three-dimensional structures of proteins and RNA molecules, but fast-scale dynamics of these systems (i.e. conformational changes of enzymes upon substrate binding, allosteric regulation) are unaccessible with these approaches. MD simulations allow the investigator to observe the system of interest with atomic resolution and to evaluate the overall and local motion of the system subunits. To give an example of how MD is not just a theoretical tool but could impact everyday life, new generation drugs for HIV and HCV have been designed using the dynamic substrate envelope model (


NAMD is a software developed by Klaus Schulten’s group at University of Illinois in 2005 to carry out MD simulations using a broad set of force fields. Although NAMD and other MD softwares are often run on computer cluster due to the impressive computational power required, a local installation is useful to test the configuration scripts before submission of the actual job.


Here we show how to download and set up the current version of NAMD (2.11) for a local installation.


0 – Read the Copyright and Disclaimer:


1 – Download the archive for your system (Windows, MacOS or Linux).

Since we will run NAMD on a local computer, we don’t care about particular builds, so just download the basic version (Win64, MacOSX-x86_64 or Linux-x86_64).


2- Registration:

Register to the following page (choose a username and password) , then log in and accept the Terms of the License


3 – Extract the archive to your favorite destination.


For Linux and MacOS:


go to your home directory:

cd ~


create a directory for NAMD:

mkdir NAMD


move the archive to the created directory:

mv NAMD*.tar.gz NAMD


extract the archive


tar zxvf  NAMD*.tar.gz


To test the installation, type:



You will see the software fail because we don’t have yet a configuration file, but it will display some information regarding your system.
Stay tuned for the next lessons!

Lesson 0 – Download and install VMD

VMD (Visual Molecular Dynamics) is a very useful visualization software for molecular structures, available for Windows, MacOS and Linux based systems.

To download and install it follow the next steps, it’s very simple!


0 – Read the Copyright and Disclaimer: here:


1 – Choose your OS:

Go to the following page: and choose your OS package of the latest version of VMD (1.9.2 current version)


2 – Registration:

Register to the following page (choose a username and password) , then log in and accept the Terms of the License


3- Download and proceed with the installation:

The download should start automatically.


Windows: when the download is finished the installation should start automatically.


MacOS: open the VMD disk image and drag the application in the destination folder


Linux: move the dowloaded .tar to the folder where you want to install vmd:

mv archive.tar /path-to-folder

#Untar the folder and move into it:

tar -xvf archive.tar

cd vmd***

#Create the Makefile with the command:


#Then move into the src directory and run make:

cd src/

make install

Done! Now you have VMD installed on your computer. To run it:


For Windows and MacOS users: double click on the icon

For Linux users: VMD should be alredy in your PATH; to run it just type:


in your terminal.

See also here for other images!


Andrea Di Luca

Chimera – Installation and demo

Ecco una guida rapida e semplice per installare Chimera, un ottimo software molto semplice da utilizzare, per eseguire visualizzazioni (2d e 3d) e semplici calcoli, su molecole organiche / inorganiche e sistemi macromolecolari (come proteine, DNA, RNA etc).

images (4)

Per iniziare potete scaricare da qui:
(questo programma è stato sviluppato dalla University of California )

Per chi non conoscesse l’architettura del proprio pc windows (32 o 64 bit) può dare un’occhiata su questo sito:

Una volta che clicchiamo sul download si aprirà la licenza, date una lettura, scorrete in basso e cliccate su “Accept”.
(il software non installa malware / virus/ bot o spyware).
Alla fine del download, cliccando sull’icona del file, facciamo partire l’eseguibile e l’installazione del programma…
In pochi minuti sarà installato (ricordatevi di selezionare “Precompile python libraries” alla fine della installazione).

Per utilizzare il programma basterà cliccare sull’icona Chimera 1.8 e si avvierà il software.
Ecco la schermata iniziale:


Cliccando su File, poi Fetch ID, si aprirà un piccolo riquadro, dove sulla destra potremo scrivere l’entry id della struttura del pdb di esempio… 1yti
Premiamo su Fetch e si aprirà la struttura nella finestra del software!
Cliccate su Presets in alto e scegliete uno dei diversi modi di visualizzazioni in modo da evidenziare solo alcuni particolari della struttura o evidenziarli in maniera differente.

Schermata 2013-07-25 alle 09.44.42

Buon Divertimento!

Browser per Navigare su Internet

Esistono tantissimi browser per i nostri pc e dispositivi portatili.

Normalmente i pc windows hanno preinstallato internet explorer, i mac hanno safari.

Ma esistono, almeno, altri 4 browser importanti :
– Chrome
– Firefox
– Konqueror
– Opera

Chrome credo sia il migliore tra tutti, per velocità, funzioni, stabilità, possibilità di personalizzarlo e applicazioni.

un po più spartano nella grafica base di Chrome (anche qua si può personalizzare) permette di lanciare anche tool più semplici (non meno efficaci) come “Mouse Commander” o “bot” per compilare / scaricare contenuti da siti.

Konqueror (forse il migliore su sistemi Unix) permette la navigazione “tutto campo” ovvero aprire un file in word o pdf direttamente dal browser di navigazione, continuando a navigare su internet.
Si possono anche dividere le pagine in un numero illimitato di volte (ovviamente la grandezza dello schermo è il limite) in orizzontale o verticale.

Opera è l’ideale per connessioni lente (e vecchi smartphone con operamini), sicuramente trova poco spazio sui pc vista la concorrenza.

Internet Explorer credo sia tra i peggiori (molti computer di amici e colleghi me lo confermano sempre), a causa della sua lentezza (anche 10 volte di tempo rispetto a Chrome), la sua instabilità, le sue “troppe opzioni” che riducono la pagina di lettura (e sono impostate di default).

Safari è abbastanza prestante, ma non permette di vedere i link passando sopra il mouse (Senza cliccare).
Sembrerà banale ma per risparmiare tempo alle volte si possono guardare così i link, che compariranno in basso a sinistra.

Volendo stilare una classifica :
(clicca su pc/mac/linux per scaricare il browser)
Chrome (pc / mac / linux)
Safari (mac preinstallato) (win)
Konqueror (linux)
Firefox (pc/linux preinstallato/android)
Opera (pc/linux/mobile)
Internet Explorer(pc preinstallato)