看板
[ Perl ]
討論串[請益] 有關寫入檔案
共 7 篇文章
內容預覽:
^^^^在這裡是要寫入產生亂數的程式碼嗎. 還是別的. 以下是我的程式. print randomSeq();. sub randomSeq. {for ($a=0; $a<240; $a++). {$aminoacid=int(rand(20));. if ($aminoacid==0) {pri
(還有747個字)
內容預覽:
use Bio::SeqIO;. use Bio::Tools::SeqWords;. my $in = Bio::SeqIO->new( -file => "prot.seq", -format => 'Fasta' );. while ( my $seq = $in->next_seq() )
(還有312個字)
內容預覽:
random sequence generator: http://0rz.net/be1sV. (1) 安裝 bioperl 1.4. (2) 執行. perl generate_random_seq.pl --length=240 --type=prot --filename=prot.seq.
(還有92個字)