[Biojava-l] Clustalw tutorial
Thu, 28 Feb 2002 23:04:49 +0000
Guoneng Zhong wrote:
> Hi all,
> Is there a tutorial on how to handle ClustalW outputs?
We're definitely light on documentation for this - I will try to do a
on this. Here's a little explanation... hope it helps.
o The parser simple deals with the *output* from ClustalW. The
file it deals with is the .aln file that ClustalW produces (see the
ClustalWAlignmentSAXParser JavaDoc for details).
o Thus, ClustalW does *not* have to be installed on the system that
installed on. All you need is access to the .aln file.
o To understand the events produced by any SAX parser in biojava, run
biojava application org.biojava.bio.program.sax.GenericSAXParserTest.
remember to specify the full name of the SAXParser i.e.
The output of this program is an XML document. If you do this, you'll
that the XML produced for multiple alignments is very simple.
o Rather than using the ClustalWAlignmentSAXParser, a better class to
SequenceAlignmentSAXParser. This is designed to take multiple sequence
alignments from a variety of programs and recognised formats
Note - it only recognises ClustalW and Needle (from EMBOSS) right now.
Simon M. Brocklehurst, Ph.D.
Head of Bioinformatics & Advanced IS
Cambridge Antibody Technology
The Science Park, Melbourn, Cambridgeshire, UK