Bio::DB::Sam を使用する Perl5 コードを実行できるように、Mac で biotools を動作させようとしていますが、うまくいきません。
マック OS X 10.10.4
パール5.18.2
INSTALL の指示に従ってアップグレードされた CPAN
「brew install expat」は、expat-2.1.0_1 が既にインストールされていることを教えてくれます
「sudo perl -MCPAN -e シェル」
「CJFIELDS/BioPerl-1.6.924.tar.gz をインストール」
「Bio::DB::GFF または Bio::DB::SeqFeature::Store ライブ データベース テストを実行しますか?」=>「ん」
すべてインストール
'インターネット経由のサーバーへの接続を必要とするテストを実行しますか' => 'n'
最終的に取得します(一部の行は削除されています):
Running Build test
t/Align/AlignStats.t ................... ok
t/Align/AlignUtil.t .................... ok
t/Align/Graphics.t ..................... skipped: The optional module GD (or dependencies thereof) was not installed
...
t/AlignIO/msf.t ........................ ok
t/AlignIO/nexml.t ...................... skipped: The optional module Bio::Phylo (or dependencies thereof) was not installed
t/AlignIO/nexus.t ...................... ok
...
t/Assembly/ContigSpectrum.t ............ ok
t/Assembly/IO/bowtie.t ................. skipped: The optional module Bio::DB::Sam (or dependencies thereof) was not installed
t/Assembly/IO/sam.t .................... skipped: The optional module Bio::DB::Sam (or dependencies thereof) was not installed
t/Assembly/core.t ...................... ok
t/Cluster/UniGene.t .................... ok
その後、次のようにテストします。
perl -e "use Bio::DB::Sam;"
そして得る:
Can't locate Bio/DB/Sam.pm in @INC (you may need to install the Bio::DB::Sam module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
GitHub から bioperl-live を複製し (リビジョン 73c446c69a77 に同期)、その方法でインストールしようとすると、同じ結果が得られます。
次の方法で samtools 0.1.18 をインストールしたことに注意してください (クラスターのバージョンと一致させるため)。
.tar.gz のダウンロード
「make」を実行しています
「samtools」、「bcftools/bcftools」、および「misc/*.pl」を、私のパスにある ~/debarcer-packages/bin にコピーします。
その後、私はこれを取得します:
$ which samtools
/Users/gvwilson/debarcer-packages/bin/samtools
このビルドでは、samtools-0.1.18 Makefile に .so ファイルを生成する必要があるように見える (おそらく?) ルールがあるにもかかわらず、「.so」ファイルが生成されませんでした。