Previous Article | Next Article ![]()
Journal of Clinical Microbiology, June 2003, p. 2792-2794, Vol. 41, No. 6
0095-1137/03/$08.00+0 DOI: 10.1128/JCM.41.6.2792-2794.2003
Copyright © 2003, American Society for Microbiology. All Rights Reserved.
| LETTER TO THE EDITOR |
|
|
|---|
Different algorithms for HIV-1 genotypic interpretation, however, not only contain different rules but also lack consistency in their programming languages and logical designs. Both of these factors may result in different interpretations for the same sequence, leading to confusion among clinicians and patients. Indeed, several groups have reported various levels of discordance between several of the commonly used drug resistance interpretation algorithms (2, 4, 5).
Although HIV-1 drug resistance interpretation algorithms will evolve with the publication of new data and introduction of new antiretroviral inhibitors, the software needed to implement these algorithms should remain stable to allow direct comparisons among interpretation algorithms and their component rules. We have developed a platform, which we call an Algorithm Specification Interface (ASI), that consists of an XML format for specifying an algorithm and a compiler that transforms the XML into executable code.
Here we describe the use of the ASI to encode five diverse publicly available HIV-1 genotypic resistance interpretation algorithms: Agencie Nationale de Recerches sur le Sida (3, 6), HIV RT and Protease Sequence Database (7), Resistance Collaborative Group (1), Rega Institute (8), and Visible Genetics Inc. (Toronto, Canada) (C. Reid, R. Bassett, S. Day, B. Larder, V. DeGruttola, and D. Winslow, abstr. from the 5th International Workshop on HIV Drug Resistance and Treatment Strategies, 4 to 8 June 2001, Scottsdale, Ariz., Antivir. Ther. 7:S91, 2002).
Figure 1 shows an example of an algorithm that contains each of the key elements, although for brevity in this exposition it has only two rules. The first part of the algorithm consists of an algorithm name, a version number, and a list of definitions. The definitions include the levels of drug resistance used by the algorithm, the list of drugs for which resistance levels are generated, an optional reference sequence, and an optional list of comment strings (the last two items in this list are not shown in Fig. 1). The second part of the algorithm consists of a list of rules grouped by drug.
![]() View larger version (25K): [in a new window] |
FIG. 1. An algorithm encoded using the XML template for the ASI for HIV drug resistance. Although it is syntactically correct, this algorithm contains only two rules and was therefore only designed as an example. This file shows the required XML tags, including the introductory tags for algorithm name, level definitions, drug classes, and drugs, as well as the tags for rules, conditions, and actions. The complete XML specification of five algorithms can be found at http://hivdb.stanford.edu.
|
The ASI Document Type Definition, XML coding for the five HIV genotypic drug resistance algorithms, the compiler, and detailed information about the syntax for encoding algorithms are available online (http://hivdb.stanford.edu). At this site, users can submit a list of HIV RT or protease mutations or nucleotide sequences for processing by as many of the five algorithms as they choose. They may also provide their own ASI-encoded algorithms by uploading them from their computers. The ASI is written in Perl and can be downloaded from our web site. If the ASI software is installed, algorithms can be implemented on the user's machine as well as online.
Developing a common platform for writing algorithms does not guarantee their validity. Rather, the ASI facilitates the encoding and modification of algorithms by clinical virologists and makes it feasible to compare the results of algorithms using large numbers of sequences or lists of mutations. The five algorithms we encoded were chosen because they are publicly available and widely used. Doubtlessly other algorithms can also take immediate advantage of the ASI. As new algorithms are released, or as existing algorithms are modified, the ASI Document Type Definition, the syntax of our language, and the compiler may need to evolve to accommodate new types of rules.
Algorithm specification interfaces that provide a common platform for encoding, implementing, and comparing genotypic interpretation algorithms will become necessary for other genesparticularly microbial genes with complex patterns of drug resistance mutationsif the sequences of these genes are used as the basis for medical decisions. Such interfaces will prevent the implementation of algorithms from becoming locked within inaccessible proprietary formats and will allow experts to focus on developing, testing, and modifying algorithms rather than on developing software to encode them.
|
|
|---|
|
Bradley J. Betts Robert W. Shafer* Department of Medicine Stanford University Stanford, CA 94305
|
||||||
|
* Phone: (650) 725-2946 Fax: (650) 723-8596 E-mail: rshafer{at}stanford.edu |
This article has been cited by other articles:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright © 2009 by the American Society for Microbiology. For an alternate route to Journals.ASM.org, visit: http://intl-journals.asm.org | More Info»