Changes between Version 1 and Version 2 of jazz/11-05-04
- Timestamp:
- May 4, 2011, 1:26:16 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/11-05-04
v1 v2 12 12 ~$ tar zxvf velvet_1.1.03.tgz 13 13 ~$ cd velvet_1.1.03 14 ~/velvet_1.1.03$ make 15 ~/velvet_1.1.03$ ./velveth output 17 -fasta -short data/test_long.fa 16 ~/velvet_1.1.03$ ./velvetg output/ -exp_cov 3 -min_contig_lgth 100 17 }}} 18 * 使用 gprof 進行 profile 分析 19 {{{ 14 20 ~/velvet_1.1.03$ cat Makefile | sed "s#^CFLAG.*#CFLAGS = -Wall -pg#" > 15 21 ~/velvet_1.1.03$ mv Makefile.new Makefile … … 22 28 152K gmon.out 23 29 }}} 30 * 使用 [http://code.google.com/p/jrfonseca/wiki/Gprof2Dot gprof2dot] 把 gprof log 轉成 graphviz 的 dot 格式,就可以畫出圖形了。 31 {{{ 32 ~/velvet_1.1.03$ sudo apt-get install graphviz python 33 ~/velvet_1.1.03$ wget http://gprof2dot.jrfonseca.googlecode.com/hg/gprof2dot.py 34 ~/velvet_1.1.03$ chmod a+x gprof2dot.py 35 ~/velvet_1.1.03$ gprof velveth | ./gprof2dot.py | dot -Tpng -o velveth.png 36 }}}