system (" /usr/local/ncbi/blast/bin/makeblastdb -in '$upload_directory/$filename_db' -out '$upload_directory/$filename_db' -dbtype nucl ");
1 2 3 4 5 6 7 8 9
if ($sequence1 =~ /^>(.+)/) { $handle_ref = $1; $handle_ref =~ s/\s+//g; } $datei1 = $handle_ref.".txt"; open (SEQFILE1, "> $upload_directory/$datei1"); chomp ($sequence1); print SEQFILE1 $sequence1; close (SEQFILE1);
1 2 3 4 5 6 7 8 9 10 11 12
open (DATEI2, "> $upload_directory/$datei2") or die "Couldn't open: $!"; while ($i < length ($seq) ) { ... if ($ii == 50) { print DATEI2 "\n>$kopf\n$dna"; $dna = ""; $seq_dna = ""; $ii = 0; $iii++; } } close DATEI2;
1
2
3
4
5
-rw-r--r-- 1 _www staff 176K 10 Mai 22:21 gi30018278.txt
-rw-r--r-- 1 _www staff 73B 10 Mai 22:21 gi30018278.txt.nhr
-rw-r--r-- 1 _www staff 136B 10 Mai 22:21 gi30018278.txt.nin
-rw-r--r-- 1 _www staff 43K 10 Mai 22:21 gi30018278.txt.nsq
-rw-r--r-- 1 _www staff 174K 10 Mai 22:21 temp.txt