programming

Python implementation of Nussinov Folding Algorithm for RNA Secondary Structure Prediction

#This software is a free software. 
#Thus, it is licensed under GNU General Public License.
#Python implementation to Nussinov Folding Algorithm 
#for Homework 7 of Bioinformatics class.
#Forrest Bao, Nov.  

Labelling whatever number you want to a Theorem in LaTeX

Forrest Sheng Bao http://fsbao.net

When you write a note, you wanna enjoy the environment, "Theorem", "Example", "Lemma", "Collary", etc. But you may facing the problem that the number of them are not the same as the ones in original text book, because the counters are changed. So what you do? Actually, you have a way to get what ever you want.

Python implementation of Feng-Doolittle Algorithm for Multiple Sequence Alignment

#This software is a free software. 
#Thus, it is licensed under GNU General Public License.
#Python implementation to Fen-Doolittle Algorithm
#for Homework 6 of Bioinformatics class.
#Forrest Bao, Nov.  

An example of GNUPlot script

Forrest Sheng Bao http://fsbao.net

run the command gnuplot replot.pg to plot.

contents in replot.pg

plot './ORG_WCA_SIZE.txt' using 1:2 title 'Original WCA' with linespoints lt 1 pt 6 pointsize 1.5, './EWCA_SIZE.txt' using 1:2 title 'EWCA' with linespoints lt 1 pt 8 pointsize 1.5,  './EWCA-TS-SIZE.txt' using 1:2 title 'EWCA-TS' with linespoints lt 1 pt 3 pointsize 1.5
set key 65,7.2
set xlabel 'Maximum Displacement'
set ylabel 'Average number of clusters'
set yrange [6.5:10]
set terminal postscript eps
set output './clusterNO_vs_maxdisp.eps'
set size 0.9,0.7
replot

contents in EWCA_SIZE.txt

%max_disp vs. cluster number
5 8.43166666666667
10 8.55233333333333
15 8.67733333333333
20 8.83833333333333
Syndicate content