260 10 Transforming with Traditional Programming Languages
- For the health study database in section 1.1, the subject identifier is a field
namedSID. Find all subjects in the database for which the BMI of the
subject increased by more than 4.5 during any period of time. For each
subject, print the subject identifier, the amount that the BMI increased,
and the period of time. Print the results in XML format. If this condition
is satisfied more than once by a subject, then print the maximum increase
in the BMI for this subject. Hint: Collect information about each subject
in a hash or array. - Read the GO association database, and compute the number of associa-
tions of the term GO:0003673. Unlike exercise 10.6, determine the actual
number ofgo:associationelements for the specified GO term. Do not
use then_associationsattribute. - A file contains BioML data as in figure 1.3. For each gene in this file,
compute the total length of all exons that it contains.