NEWEST /   

In-Silico PCR 用ソフト isPcr を OSX にインストール

UCSCのJimKentにメールしてソースの在処を教えていただく。
これのコマンドライン版
http://genome.ucsc.edu/cgi-bin/hgPcr?command=start
ホームに解凍、README のとおり作業を進める。
Jimのソフトは基本、ホーム/bin/$MACHTYPE に入る(気がする)

 % echo $MACHTYPE
 i386
 % mkdir ~/bin/i386
 % mkdir ~/lib/i386
 % make

 (略)
 ld warning: in ../../lib/i386/jkOwnLib.a, file is not of required architecture
 ld warning: in ../../lib/i386/jkweb.a, file is not of required architecture
 Undefined symbols:
  "_gfPcrOutputFreeList", referenced from:
  _main in gfPcr.o
 (略)
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [gfPcr] Error 1

あまり驚かないが・・・
「要求されてるライブラリのファイルじゃないですよー」って
その下のエラーは全部そこに入ってるやつじゃん!
かなり悩みましたが、
「gcc はi386だと思ってないらしい」ということに突然気付く

 % gcc
 i686-apple-darwin9-gcc-4.2.1: no input files

もしや・・・

 % setenv MACHTYPE i686
 % mkdir ~/bin/i686
 % mkdir ~/lib/i686
 % make


成功!!!

| BioInformatics::Software | 02:04 PM | comments (0) | trackback (x) |

ebi EXONERATE を Mac OSX にインストール

コレ
http://www.ebi.ac.uk/~guy/exonerate/

上記ページからソースコードをダウンロード・解凍

 % ./configure
 ERROR: Could not find pkg-config ... is glib-2 installed ???

いきなり....
まず pkg-configをインストール。finkでは「pkgconfig」らしい
 (これに気付くまでにアホほど時間がかかってですね・・・)

 % fink install pkgconfig

OK!

 % ./configure
 Package glib-2.0 was not found in the pkg-config search path.

ううーむ怒 finkで入るglibはバージョン1みたいなので、
OSX用のGTK+Framework をインストール → http://www.gtk-osx.org/
これはDashcord用に独特のところに入り、先に入れたpkg-configが見つけられないようだ。
しかし!前の続きに

 Perhaps you should add the directory containing `glib-2.0.pc'
 to the PKG_CONFIG_PATH environment variable


ともあることなので、下記のように環境設定する。

 % setenv PKG_CONFIG_PATH /Library/Frameworks/GLib.framework/Resources/dev/lib/pkgconfig

 % ./configure
 % make
 % sudo make install

 
で無事インストールできました

| BioInformatics::Software | 09:33 AM | comments (0) | trackback (x) |

GenSCAN を使う

続きませんでした、スミマセン
コレ
http://genes.mit.edu/GENSCANinfo.html

Sunのバイナリがあったのでダウンロード

 % genscan parameter_file_path genome_file_path

 Error: calloc failed on CUM_SCORE array

うーん この他にも

 Error: calloc failed on POLYA_SCORE array

と出たりもする.....

どうもローカルgenscanは2MB以上のファイルを読めないらしい。
 2MBて!
あと、MultiFASTAもダメで、結局 1scaffold/1file に分割。
細かいscaffold だったのでどれも2MB以上にはならず、
無事プログラムは終了しました。

| BioInformatics::Software | 05:34 PM | comments (0) | trackback (x) |

NEWEST / PAGE TOP /   


ARCHIVES

<前月 2009年04月 次月>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30   

CATEGORIES

OTHER