2011年5月25日 星期三

Element article

1. http://www.uic.edu/depts/accc/software/unixgeneral/email101.html

2. vi http://vimregex.com/
http://www.softpanorama.org/Editors/Vimorama/vim_regular_expressions.shtml

3.

2011年5月18日 星期三

Show Method and Member and enum

Show method
http://www.java2s.com/Code/Java/Reflection/ClassReflectionshowmethods.htm

#############################################################
show enum
Reference: http://download.oracle.com/javase/1,5.0/docs/guide/language/enums.html

for (Rank rank : Rank.values())
protoDeck.add(new Card(rank, suit))

2011年4月13日 星期三

MPI

1. Library problem
http://linuxtoolkit.blogspot.com/2009/09/openmpi-centos-linking-error-libmpiso0.html

2011年2月16日 星期三

Sensitivity and specificity

http://en.wikipedia.org/wiki/Sensitivity_and_specificity

2011年2月15日 星期二

Download

1. Download ftp data
wget ftp://user:password@ftp.individual.com.tw:6667/

Reference:
http://redhat.ecenter.idv.tw/bbs/showthread.php?threadid=39222

2. More detail
wget -m ftp://user:password@share.ngc.sinica.edu.tw/dir_name/*

-m mean depth

Reference
http://emboss.sourceforge.net/docs/adminguide/node11.html
http://blogs.sitepoint.com/using-wget/

2010年12月6日 星期一

Environment

1. u can set the perl lib enoment using the perl Using the PERL5LIB
~/.bashrc
{{{
# For perl lib
export PERL5LIB=/home/Andy/GRC/MyProgram/perlLib
}}}
* Look ~/perlLib content
{{{
[Andy@blast2 fasta]$ ls /home/Andy/GRC/MyProgram/perlLib
Init_V1.pm LineFunction_V1.pm
}}}
* Usage perl selft package
{{{
require "Init_V1.pm";
require "LineFunction_V1.pm";

}}}

2010年11月30日 星期二

Bash and bash Programming

1. Stadin using the file
* using the hyphen (-) reresent input file
{{{
cat $RMDEPTHFILE |
# Delete the header and print repeat name and depeth fields
awk '{
if (NR > 1) print ($10, $NF);
}' |
# Using the stadin in symbol mini
TwoColumnsStatistic.pl -
}}}