Thread my richtig setzen (18 answers)
Opened by Byonik at 2010-06-24 10:28

esskar
 2010-06-24 11:32
#138903 #138903
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
das glaube ich eben in deinem fall nicht
Code (perl): (dl )
1
2
3
4
5
6
7
for (my $i=0; $i < (length($dna)-2);$i+=3)
{
   my $codon =substr($dna,$i,3);
   my $protein .= codon2aa($codon); 
}

print "$protein"; 

in der schleife wird immer ein neues $protein geändert.
außerhalb wird $protein leer sein

View full thread my richtig setzen