fraction of native side-chain concacts plot
authorCezary Czaplewski <czarek@chem.univ.gda.pl>
Sun, 10 Sep 2017 00:26:57 +0000 (02:26 +0200)
committerCezary Czaplewski <czarek@chem.univ.gda.pl>
Sun, 10 Sep 2017 00:26:57 +0000 (02:26 +0200)
django_simple/todo/templates/details.html
files/matplotlib_fit_hist.py

index a2d2eb5..bf3cc54 100644 (file)
@@ -320,6 +320,14 @@ Created {{ task.created_date  }}
                          src="/myfiles/download-file/{{task.jobdirname}}/md_rms.png"
                          width="500"> </div>
                        </li>
+
+                       <li class="list-group-item task-item">
+                         <div class="col-xs-10"> fraction of native
+                         side-chain concacts </div>
+                         <div class="col-xs-10"> <img 
+                         src="/myfiles/download-file/{{task.jobdirname}}/md_fracn.png"
+                         width="500"> </div>
+                       </li>
                        
                           {% endif %}
 
index 1f5050c..cbdafe0 100755 (executable)
@@ -27,7 +27,7 @@ with open('md.stat','r') as f:
 
 if ncolumns==14:  
  x,y= np.loadtxt('md.stat',usecols=(0,10),skiprows=10,unpack=True)
- x1,e,r,gy= np.loadtxt('md.stat',usecols=(0,3,5,12),skiprows=0,unpack=True)
+ x1,e,r,gy,nc= np.loadtxt('md.stat',usecols=(0,3,5,12,6),skiprows=0,unpack=True)
 else:
  x,y= np.loadtxt('md.stat',usecols=(0,6),skiprows=10,unpack=True)
  x1,e,gy= np.loadtxt('md.stat',usecols=(0,3,8),skiprows=0,unpack=True)
@@ -74,4 +74,10 @@ if ncolumns==14:
  plt.ylabel('RMSD')
  plt.plot(x1,r,'.')
  plt.savefig('md_rms.png')
+
+ plt.clf()
+ plt.xlabel('step')
+ plt.ylabel('fraction of native side-chain concacts')
+ plt.plot(x1,nc,'.')
+ plt.savefig('md_fracn.png')
  
\ No newline at end of file