You are here

How to sort a Silent File based on RMSD

3 posts / 0 new
Last post
How to sort a Silent File based on RMSD
#1

Dear all,

I have a silent file of 20,000 structures with associated rms for each one. The typical cluster application in Rosetta is not very useful as it clusters them based on energy score.

1. Simply, I want to sort the structures based on the value of rms from the lowest (best) to the highest (worst), how to do so?

2. Is there any way to calculate the average of the rms of all decoys?

Thank you for your time and effort,

Jad

Post Situation: 
Sun, 2013-08-04 14:40
JadAbbass

Hi Jadabbas,
you can use the score file or you can grep SCORE to get the scores and rmsd values of the decoys from the silent file.
$grep SCORE x.silent

Then sort as you want and calculate average rmsd.

Mon, 2013-08-05 05:32
nawsad

I think I know now. :)

grep SCORE path/to/silent/file | sort -n -k2 > path/to/txt/file

Mon, 2014-10-06 15:30
lanselibai