Errata

Mastering Perl for Bioinformatics

Errata for Mastering Perl for Bioinformatics

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 32
Exercise 1.7

in exercise 1.7, the alternative construct given to translate dna to protein
doesn't work properly. Since $i is incremented during the first iteration of
the loop the first codon is skipped.

This is how it is given:

my $i=0;
while (my $codon = substr($dna, $i += 3, 3) ) {
$protein .= Geneticcode1::codon2aa($codon);
}

BUT it should be:

my $i = -3;
while (my $codon = substr($dna, $i += 3, 3) ) {
$protein .= Geneticcode1::codon2aa($codon);
}

Anonymous   
Printed
Page 34
Fourth paragraph

Missing the example for initializing hash.

Text says:

"....as a key with its value, as in: "

And then proceeds to the next paragraph. The promised example is left out.

Anonymous   
Printed
Page 76
Lower half

A great many modules such as ioperl
->
A great many modules such as Bioperl

Anonymous   
Printed
Page 145
Chapter 4 The footnote under Analysis of SeqFileIO.prn

http://iobio.bio.indiana.edu/soft/molbio/readseq
Should be:
http://iubio.bio.indiana.edu/soft/molbio/readseq

Anonymous   
Printed
Page 155
Paragraph before parse_methods

http://www.perdoc.com should be http://www.perldoc.com

Anonymous   
Printed
Page 169
under the Heading "Resources"

http://iobio.bio.indiana.edu/soft/molbio/readseq
Should be:
http://iubio.bio.indiana.edu/soft/molbio/readseq

Anonymous   
Printed
Page 222-223
sample code

mysql>
should be:
mysql>

Anonymous   
Printed
Page 285
First part of code on top of the page

Problem in the typesetting, probably, since it's not the only place it occurs in the
book (see previously error in "unconfirmed error reports", pages 329 and 331).

Here it shows, in the book:

# plot the data on the graph
my $gd = $graph-> plot(
[ ^xsizes,
^ycounts
]
);

while it should have been:

# plot the data on the graph
my $gd = $graph-> plot(
[@xsizes,
@ycounts
]
);

Anonymous