3 Feb 2004 04:54
Re: hmmpfam parser
Brad Chapman <chapmanb <at> uga.edu>
2004-02-03 03:54:52 GMT
2004-02-03 03:54:52 GMT
Hi Wagied; > I have some code which is able to parse hmmer output, > as well as code donated by Joanne Adamkewicz from Exilexis. > > If you guys/gals find it useful, updates and modification will be done! Thanks for sending this -- hmmpfam parsing code in Biopython is definitely something we need. A few notes on what you sent: 1. I'm guessing that PfamParser.py and ExPFam.py are completely separate pieces of code (except for both dealing with parsing Pfam). For Biopython, the PfamParser.py is the more generally useful piece of code since it provides an interface to parse a hmmpfam result into a record-like object. So I'll probably restrict my comments to that code. 2. Is there an methodology that you use to iterate over a file full of hmmpfam results? Normally most parsers in Biopython include a parser for individual records and then an iterator so that you can apply the parser to a file full of results. 3. Some of the code does not follow the naming conventions that we normally use in Biopython. Specifically: a. Functions should be lowercase_separated_by_underscores style. b. Variables should be lowercase_underscores style or alltogether style. One of the things which was confusing to me in your code is that you alternate between the lowercase_underscores style and(Continue reading)
.
But the point is that I'm going to try and dig through my sent box
and forward on some mails which never saw the light of day. So, if
some responses I send now seem especially non-timely, I blame it
entirely on the e-mail system and not my slacking.
Sorry about this -- if anything you may have wrote to the
development list got no attention make sure to send me a mail so
that I know about it. Thanks!
Brad
RSS Feed