From biterbilen@yahoo.com Sat Aug 3 10:57:56 2002 From: biterbilen@yahoo.com (biter bilen) Date: Sat, 3 Aug 2002 02:57:56 -0700 (PDT) Subject: [BioPython] documentation files Message-ID: <20020803095756.47188.qmail@web10104.mail.yahoo.com> --0-1565905991-1028368676=:43191 Content-Type: text/plain; charset=us-ascii hi, i installed biopython with windows installer. but this doesn't install the documentation, example code and source code. does any on know any url where i can find a file containing these? thanks biter bilen --------------------------------- Do You Yahoo!? Yahoo! Health - Feel better, live better --0-1565905991-1028368676=:43191 Content-Type: text/html; charset=us-ascii

hi,

i installed biopython with windows installer. but this doesn't install the documentation, example code and source code. does any on know any url where i can find a file containing these?

thanks

biter bilen



Do You Yahoo!?
Yahoo! Health - Feel better, live better --0-1565905991-1028368676=:43191-- From gec@compbio.berkeley.edu Sun Aug 4 22:00:11 2002 From: gec@compbio.berkeley.edu (Gavin Crooks) Date: Sun, 4 Aug 2002 14:00:11 -0700 Subject: [BioPython] Mac OS X, biopython and fink Message-ID: --============_-1183627681==_============ Content-Type: text/plain; charset="us-ascii" I have written a biopython installer for fink, the Mac OS X unix-style package manager. 1) Install Fink See http://fink.sourceforge.net 2) Unpack the two .info files attached to this message 3) Copy the two .info files into /sw/fink/dists/local/main/finkinfo sudo mkdir /sw/fink/dists/local/main/finkinfo sudo cp *.info /sw/fink/dists/local/main/finkinfo 4) Install biopython sudo fink install python-biopython Fink should install python, mxTextTools, and finally biopython. Gavin --============_-1183627681==_============ Content-Id: Content-Type: application/octet-stream; name="python-biopython-1.00a4.info" ; x-mac-type="00000000" ; x-mac-creator="00000000" Content-Disposition: attachment; filename="python-biopython-1.00a4.info" ; modification-date="Sun, 4 Aug 2002 13:55:48 -0700" Content-Transfer-Encoding: x-uuencode begin 644 python-b.inf M4&%C:V%G93H@<'ET:&]N+6)I;W!Y=&AO;@I697)S:6]N.B`Q+C`P830*4F5V M:7-I;VXZ(#$*36%I;G1A:6YE71H;VXM;7@@"E-O=7)C M93H@:'1T<#HO+V)I;W!Y=&AO;BYO@I#;VUP:6QE4V-R:7!T.B!P>71H;VYX('-E='5P+G!Y(&)U:6QD M("`@"DEN#TE:0H@(&UK9&ER("UP("5I+W-H87)E+V1O8R\E;B]D M;V-,"B`@8W`@+5(@9&]C("5I+W-H87)E+V1O8R\E;B]D;V,*/#P*1&]C1FEL M97,Z($Y%5U,@4D5!1$U%($-/3E1224(@3$E#14Y310I$97-C71H;VXO96=E;FEX+6UX+6)A"!S971U<"YP>2!I;G-T86QL("TM<')E M9FEX/25I"B`@;6MD:7(@+7`@)6DO"]$;V,O("5I+W-H87)E+V1O8R\E;B](5$U,"CP\"D1O8T9I;&5S.B!- M04Y)1D535"!214%$344@"D1E Hi Gavin, Excellent. Thanks for doing this! Any chance to get this packaged in with Fink? Jeff In-Reply-To: ; from gec@compbio.berkeley.edu on Sun, Aug 04, 2002 at 02:00:11PM -0700 On Sun, Aug 04, 2002 at 02:00:11PM -0700, Gavin Crooks wrote: > > I have written a biopython installer for fink, the Mac OS X unix-style package manager. > > > 1) Install Fink > See http://fink.sourceforge.net > > 2) Unpack the two .info files attached to this message > > 3) Copy the two .info files into /sw/fink/dists/local/main/finkinfo > sudo mkdir /sw/fink/dists/local/main/finkinfo > sudo cp *.info /sw/fink/dists/local/main/finkinfo > > 4) Install biopython > sudo fink install python-biopython > > Fink should install python, mxTextTools, and finally biopython. > > > Gavin > From jchang@smi.stanford.edu Tue Aug 6 21:19:01 2002 From: jchang@smi.stanford.edu (Jeffrey Chang) Date: Tue, 6 Aug 2002 13:19:01 -0700 Subject: [BioPython] Yair Benita's Carbon Biopython now online Message-ID: <20020806131901.A2305@springfield.stanford.edu> Thanks to Yair Benita, there is Carbon build of Biopython available for Mac OS X users. This was built against the current CVS, so contains the latest patches and fixes not available in 1.00a4. However, it also contains bleeding edge code that is not yet fully tested. You may download it from the website from: http://biopython.org/Download/biopython-Mac.sit Jeff From dyoo@acoma.Stanford.EDU Wed Aug 7 20:18:30 2002 From: dyoo@acoma.Stanford.EDU (Danny Yoo) Date: Wed, 7 Aug 2002 12:18:30 -0700 (PDT) Subject: [BioPython] Re: [Bioperl-l] *major* error in genbank parser or am i just insane? (fwd) Message-ID: Hi everyone, There's been a lot of activity on the Bioperl mailing list recently about their Genbank location parser, and there was a call to compare the behavior of it versus that of the other Bio projects. Perhaps it might be a good thing to collaborate with them? Someone can write a set of common tests to make sure that sublocation parsing and sequence extraction is being done consistantly between Biopython and Bioperl. I'll try writing something this afternoon. ---------- Forwarded message ---------- Date: Wed, 7 Aug 2002 11:39:19 -0700 (PDT) From: Chris Mungall To: Hilmar Lapp Cc: Elia Stupka , Jason Stajich , bioperl-l@bioperl.org Subject: Re: [Bioperl-l] *major* error in genbank parser or am i just insane? i would have though the sublocations strand should be -1, as they represent exons on the reverse strand. but i don't really understand the whole bioperl location+seqfeature semantics/model; when outside the bioperl world i just have one class that rolls seqfeature and location into one. i'm happy to have hilmar revoke my fix and instead go with checking the parent location strand rather than the sublocation strand (if someone could fix the genbank dumper to print the complement correctly that would be great). if we go this route i will fix bioperl-db so that the parent location strand goes into the seqfeature_location table. note that this will introduce a slight disjunction between biosql abnd bioperl (in biosql we absolutely must represent -ve strand exons as seqfeature_location.strand = -1). hmm, how does biojava handle this. On Wed, 7 Aug 2002, Hilmar Lapp wrote: > After looking at Chris' fix, it appears to be wrong: it would set > the sublocs' strand to -1. The problem lies elsewhere, I'm going to > revoke that fix. > > -hilmar > > On Wednesday, August 7, 2002, at 10:10 AM, Hilmar Lapp wrote: > > > I have no idea what the present status on that is, but my reply was > > generally not about a long-term/high-level/design/it would > > be much better if/ discussion. I basically asked the question what > > complement(join(1..100,201..300)) exactly means, and whether it has > > been decided how exactly it shall be translated into strand() > > attributes of the parent and sub-locations. This hasn't been > > answered yet ... > > > > Quoting from the FT definition: > > > > complement(join(2691..4571,4918..5163)) > >                           Joins regions 2691 to 4571 and 4918 to > > 5163, then  > >                           complements the joined segments (the > > feature is  > >                           on the strand complementary to the > > presented strand) > >   > > join(complement(4918..5163),complement(2691..4571)) > >                           Complements regions 4918 to 5163 and 2691 > > to 4571, then  > >                           joins the complemented segments (the > > feature is  > >                           on the strand complementary to the > > presented strand) > > > > The case in question is the first example. To translate this > > properly to Bioperl locations, this means the parent SplitLoc is > > strand -1, whereas the subs are strand +1. Right? > > > > -hilmar > > > > > > On Tuesday, August 6, 2002, at 10:24 PM, Chris Mungall wrote: > > > >> ok, committed - it seems to have had some weird knock on effect > >> breaking > >> other tests - i can uncommit if this is bad > >> > >> On Wed, 7 Aug 2002, Elia Stupka wrote: > >> > >>>> we need a short term fix for the standard situation even more - > >>>> shall i > >>>> commit my chnange or will this mess things up more? > >>> > >>> Please commit it, I cannot stand when long-term/high- > >>> level/design/it would > >>> be much better if/ discussions get in the way of production > >>> improvement fixes. > >>> > >>> Once it's committed I can set off a script for the diffing of in/out > >>> genbank so you can be comfortable that it's not screwing up the > >>> rest of > >>> genkank parsing ;) > >>> > >>> Elia > >>> > >>> ******************************** > >>> * http://www.fugu-sg.org/~elia * > >>> * tel: +65 6874 1467 * > >>> * mobile: +65 9030 7613 * > >>> * fax: +65 6777 0402 * > >>> ******************************** > >>> > >>> > >>> > >> > >> > > -- > > ------------------------------------------------------------- > > Hilmar Lapp email: lapp at gnf.org > > GNF, San Diego, Ca. 92121 phone: +1-858-812-1757 > > ------------------------------------------------------------- > > > > > -- > ------------------------------------------------------------- > Hilmar Lapp email: lapp at gnf.org > GNF, San Diego, Ca. 92121 phone: +1-858-812-1757 > ------------------------------------------------------------- > > _______________________________________________ Bioperl-l mailing list Bioperl-l@bioperl.org http://bioperl.org/mailman/listinfo/bioperl-l From biterbilen@yahoo.com Fri Aug 9 14:51:07 2002 From: biterbilen@yahoo.com (biter bilen) Date: Fri, 9 Aug 2002 06:51:07 -0700 (PDT) Subject: [BioPython] argv Message-ID: <20020809135108.80339.qmail@web10107.mail.yahoo.com> --0-395188809-1028901067=:79907 Content-Type: text/plain; charset=us-ascii hi to everyone, does anyone help me about giving command line arguments in windows? thanks. biter --------------------------------- Do You Yahoo!? HotJobs, a Yahoo! service - Search Thousands of New Jobs --0-395188809-1028901067=:79907 Content-Type: text/html; charset=us-ascii

hi to everyone,

does anyone help me about giving command line arguments in windows?

thanks.

biter



Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs --0-395188809-1028901067=:79907-- From katel@worldpath.net Fri Aug 9 19:48:40 2002 From: katel@worldpath.net (Katharine Lindner) Date: Fri, 09 Aug 2002 14:48:40 -0400 Subject: [BioPython] LocusLink Message-ID: <3D540E88.1090600@worldpath.net> Is there a need for an HTTP parser for LocusLink in addition to the flat file? I'd especially like to have Sagar's perspective because he is a user. Although memory is cheap in places like Boston and California, biopython has an international user base. Researchers from emerging technologies may not have the resources to store flat files locally. An alternate solution for public domain databases might be mindyized mirror sites. Cayte From simple4u2do@hotmail.com Fri Aug 9 13:58:19 2002 From: simple4u2do@hotmail.com (simple4u2do@hotmail.com) Date: Fri, 9 Aug 2002 08:58:19 -0400 Subject: [BioPython] IT'S SO SIMPLE...... Message-ID: <4121-22002859125819590@jotux@usb> Dear Future Friend: I'll make you a promise. READ THIS TO THE END! Follow what it says to the letter and you will not worry whether a RECESSION is coming or not, who is President, or whether you keep your current job or not.biopython@biopython.org Yes, I know what you are thinking. I never responded to one of these before either. One day though, something just said you throw away $25.00 going to a movie for 2 hours. What the heck. Believe me, no matter where you believe those feelings come from, I thank goodness every day that I had that feeling. I cannot imagine where I would be or what I would be doing had I not. Read on. It's true. Every word of it. It is legal. I checked. Simply because you are buying something of value. AS SEEN ON NATIONAL TV: Making over half million dollars every 4 to 5 months from your home. THANK'S TO THE COMPUTER AGE AND THE INTERNET! ========================================= BE AN INTERNET MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!! Before you say, Bull, please read the following. This is the letter you have been hearing about on the news lately. Due to the popularity of this letter on the Internet, a national weekly news program recently devoted entire show to the investigation of this program described below, to see if it really can make people money. The show also investigated whether or not the program was legal. Their findings proved once and for all that there are absolutely NO Laws prohibiting the participation in the program and if people can follow the simple instruction they are bound to make some mega bucks with only $25 out of pocket cost. DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT THIS PROGRAM HAS ATTAINED, IT IS CURRENTLY WORKING BETTER THAN EVER. This is what one had to say: Thanks to this profitable opportunity. I was approached many times before but each time I passed on it. I am so glad I finally joined just to see what one could expect in return for the minimal effort and money required. To my astonishment, I received a total $610,470.00 in 21 weeks, with money still coming in. Pam Hedland, Fort Lee, New Jersey. ========================================= Another said: this program has been around for a long time but I never believed in it. But one day when I received this again in the mail I decided to gamble my $25 on it. I followed the simple instructions and walaa.3 weeks later the money started to come in. First month I only made $240.00 but the next 2 months after that I made a total of $290,000.00. So far, in the past 8 months by re-entering the program, I have made over $710,000.00 and I am playing it again. The key to success in this program is to follow the simple steps and NOT change anything. More testimonials later but first: PRINT THIS NOW FOR YOUR FUTURE REFERENCE======= $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ If you would like to make at least $500,000 every 4 to 5 months easily and comfortably, please read the following, THEN READ IT AGAIN and AGAIN!!! $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME TRUE, GUARANTEED! INSTRUCTIONS: Order all 5 reports shown on the list below For each report, send $5 CASH, THE NAME & NUMBER OF THE REPORT YOU ARE ORDERING and YOUR E-MAIL ADDRESS to the person whose name appears ON THAT LIST next to the report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER in case of any mail problems. WHEN YOU PLACE YOUR ORDER, MAKE SURE YOU ORDER EACH OF THE 5 REPORTS You will need all 5 reports so that you can save them on your computer and resell them. YOUR TOTAL COST $5 X 5 = $25.00 Within a few days you will receive, via e-mail, each of the 5 reports from these 5 different individuals. Save them on your computer so they will be accessible for you to send to the 1,000's of people who will order them from you. Also, make a floppy of these reports and keep it on your desk in case something happens to your computer. IMPORTANT DO NOT alter the names of the people who are listed next to each report, or their sequence on the list, in any way other than what is instructed below in step 1 through 6 or you will loose out on the majority of your profits. Once you understand the way this works, you will also see how it does not work if you change it. Remember, this method has been tested, and if you alter it, it will NOT work!!! People have tried to put their friends/relatives names on all five thinking they could get all they money. But it doesn't work this way. Believe us, some have tried to be greedy and then nothing happened. So Do Not try to change anything other than what is instructed. Because if you do, it will not work for you. Remember, honesty reaps the reward!!! This IS a legitimate BUSINESS. You are offering a product for sale and getting paid for it. Treat it as such and you will be VERY profitable in a short period of time. 1. After you have ordered all 5 reports, take this advertisement and REMOVE the name & address of the person in REPORT #5. This person has made it through the cycle and is doubt counting their fortune. 2. Move the name & address in REPORT #4 down to REPORT #5. 3. Move the name & address in REPORT #3 down to REPORT #4. 4. Move the name & address in REPORT #2 down to REPORT #3. 5. Move the name & address in REPORT #1 down to REPORT #2. 6. Insert YOUR name & address in the REPORT #1 Position. PLEASE MAKE SURE you copy every name & address ACCURATELY! This is critical to YOUR success. ========================================= Take this entire letter, with the modified list of names, and save it on your computer. DO NOT MAKE ANY OTHER CHANGES. Save this on a disk as well just in case if you lose any data. To assist you with marketing your business on the internet, the 5 reports you purchase will provide you with invaluable marketing information which includes how to send bulk e-mails legally, where to find thousands of free classified ads and much more. There are 2 Primary methods to get this venture going: METHOD#1: BY SENDING BULK E-MAIL LEGALLY Let's say that you decide to start small, just to see how it goes, and we will assume you and those involved send out only 5,000 e-mails each. Let's also assume that the mailing receive only a 0.2% (2/10 of 1%) response (the response could be much better but lets just say it is only 0.2%). Also many people will send out hundreds of thousands e-mails instead of only 5,000 each). Continuing with this example, you send out only 5,000 e-mails. With a 0.2% response, that is only 10 orders for report #1. Those 10 people responded by sending out 5,000 e-mails each for a total of 50,000. Out of those 50,000 e-mails only 0.2% responded with orders. That's=100 people responded and ordered Report #2. Those 100 people mail out 5,000 e-mails each for a total of 500,000 e-mails. The 0.2% response to that is1000 orders for Report #3. Those 1000 people send 5,000 e-mails each for a total of 5 million e-mails sent out. The 0.2% response is 10,000 orders for Report #4. Those 10,000 people send out 5,000 e-mails each for a total of 50,000,000 (50 million) e-mails. The 0.2% response to that is 100,000 orders for Report #5. THAT'S 100,000 ORDERS TIMES $5 EACH = $500,000.00 (half a million dollars). Your total income in this example is: 1. $50+2.. $500+3.. $5,000+4. $50,000+5. $500,000. Grand total $555,550.00 NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGURE OUT THE WORST POSSIBLE RESPONSES AND NO MATTER HOW YOU CALCULATE IT, YOU WILL STILL MAKE A LOT OF MONEY! ========================================= REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE ORDERING OUT OF 5,000 YOU MAILED TO. Dare to think for a moment what would happen if everyone or half or even 4th of those people mailed 100,000 e-mails each or more? There are over 150 million people on the Internet worldwide and counting, with thousands more coming on line every day. Believe me, many people will do just that and more! METHOD #2: BY PLACING FREE ADS ON THE INTERNET ========================================= Advertising on the net is very, very inexpensive and there are hundreds if FREE places to advertise. Placing a lot of free ads on the Internet will easily get a larger response. We strongly suggest you start with Method #1 and add Method #2 as you go along. For every $5 you receive, all you must do is e-mail them the Report they ordered. That's it. Always provide same day service on all orders. This will guarantee that the e-mail they send out, with your name and address on it, will be prompt because they cannot advertise until they receive the report. ========AVAILABLE REPORTS============ The reason for the cash is not because this is illegal or somehow wrong. It is simply about time. Time for checks or credit cards to be cleared or approved, etc. Concealing it is simply so no one can SEE there is money in the envelope and steal it before it gets to you. ORDER EACH REPORT BY ITS NUMBER & NAME ONLY. Notes: Always send $5 cash (U.S. CURRENCY) for each Report. Checks NOT accepted. Make sure the cash is concealed by wrapping it in at least 2 sheets of paper. On one of those sheets of paper write the NUMBER & NAME of the Report you are ordering, YOUR E-MAIL ADDRESS and your name and postal address. PLACE YOUR ORDER FOR THESE REPORTS NOW: REPORT #1: The Insider's Guide to Advertising for Free On The Net Order Report #1 from: Joe Romano 361 Avenue U Brooklyn, NY 11223 (USA) ______________________________________________ REPORT #2: The Insider's Guide to Sending Bulk Email on the Net Order Report #2 from: Dave Armstrong 1211 35th Street N.E Cedar Rapids, IA 52402 USA ______________________________________________ REPORT #3: Secret to Multilevel Marketing On The Net Order Report #3 from: Randy Dallard P.O. Box 8 Osprey, FL 34229 ______________________________________________ REPORT #4: How To Become a Millionaire Using MLM & The Net Order Report #4 from: Carla Brown P.O. Box 39093 Sarasota, FL 34238 USA ______________________________________________ REPORT #5: How To Send Out One Million Emails for Free Order Report #5 From: Glynn Schmidt P.O. Box 19424 Sarasota, FL 34276 USA ______________________________________________ $$$$$$$$YOUR SUCCESS GUIDELINES $$$$$$$$ Follow these guidelines to guarantee your success: ======If you do not receive at lest 10 orders for Report #1 within 2 weeks, continue sending e-mails until you do. ======After you have received 10 orders, 2 to 3 weeks after that you should receive 100 orders or more for REPORT #2. If you did not, continue advertising or sending e-mails until you do. **Once you have received 100 or more orders for Report #2, YOU CAN RELAX, because the system is already working for you, and the cash will continue to roll in! THIS IS IMPORTANT TO REMEMBER: Every time your name is moved down on the list, you are placed on a different report. You can KEEP TRACK of your PROGRESS by watching which report people are ordering from you. IF YOU WANT TO GENERATE MORE INCOME SEND ANOTHER BATCH OF E-MAILS AND START THE WHOLE PROCESS AGAIN. There is NO LIMIT to the income you can generate from this business!!! ========================================= FOLLOWING IS A NOTE FROM THE ORGINATOR OF THIS PROGRAM: You have just received information that can give you financial freedom for the rest of your life, with NO RISK and JUST A LITTLE BIT OF EFFORT. You can make more money in the next few weeks and months than you have ever imagined. Follow the program EXACTLY AS INSTRUCTED. Do Not change it in any way. It works exceedingly well as it is now. Remember to e-mail a copy of this exciting report after you have put your name and address in Report #1 and moved others to #2..#5 as instructed above. One of the people you send this to may send out 100,000 or more e-mails and your name will be on every one of them. Remember though, the more you send out the more potential customers you will reach. So my friend, I have given you the ideas, information, materials and opportunity to become financially independent. IT IS UP TO YOU NOW!!! MORETES TIMONIALS My name is Mitchell. My wife, Jody and I live in Chicago. I am an accountant with a major U.S. Corporation and I make pretty good money. When I received this program I grumbled to Jody about receiving junk mail. I made fun of the whole thing, spouting my knowledge of the population and percentages involved. I knew it wouldn't work. Jody totally ignored my supposed intelligence and few days later she jumped in with both fee. I made merciless fun of her, and was ready to lay the old I told you so on her when the thing didn't work. Well, the laugh was on me! Within 3 weeks she had received 50 responses. Within the next 45 days she received total $147,200.00..all cash! I was shocked. I have joined Jody in her hobby. Mitchell Wolf C.P.A., Chicago, Illinois ========================================= Not being the gambling type, it took me several weeks to make up my mind to participate in this plan. But conservative as I am, I decided that the initial investment was so little that there was just no way that I wouldn't get enough orders to at least get my money back. I was surprised when I found my medium size post office box crammed with orders. I made $319,210.00 in the first 12 weeks. The nice thing about this deal is that it does not matter where people live. There simply isn't a better investment with a faster return and so big. Dan Sondstrum Alberta, CA ========================================= I had received this program before. I deleted it, but later I wondered if I should have given it a try. Of course, I had no idea who to contact to get another copy, so I had to wait until I was e-mailed again by someone else. 11 months passed then it luckily came again I did not delete this one! I made more than $490,000.00 on my first try and all the money came within 22 weeks. Susan De Suza, New York, N.Y. ========================================= It really is a great opportunity to make relatively easy money with little cost to you. I followed the simple instructions carefully and within 10 days the money started to come in. My first month I made $20,560.00 and by the end of the third month my total cash count was $362,840.00. Life is beautiful, Thanks to the Internet. Fred Dellaca, Westport, New Zealand ========================================= ORDER YOUR REPORTS TODAY AND GET STARTED ON YOUR ROAD TO FINANCIAL FREEDOM! ========================================= If you have any questions of the legality of this program contact the Office of Associate Director for Marketing Practices, Federal Trade Commission, Bureau of Consumer Protection, and Washington, D.C. ========================================= ONE TIME MAILING, NO NEED TO REMOVE ======================================== From sagar@caltech.edu Sun Aug 11 04:09:31 2002 From: sagar@caltech.edu (Sagar Damle) Date: Sat, 10 Aug 2002 20:09:31 -0700 Subject: [BioPython] Re: LocusLink In-Reply-To: <3D540E88.1090600@worldpath.net> References: <3D540E88.1090600@worldpath.net> Message-ID: <20020810200932.3d6f34ef.sagar@caltech.edu> hi cayte, > Researchers from emerging > technologies may not have the resources to store flat files locally. you may be right. I also want to point out that maintaining an up-to-date annotations database (from several sources) might be well- suited for a larger user-base, but an HTTP-parser still seems more convenient for the lone, casual scripter. On the other hand, I hadn't fully appreciated the flat-file parser till recently. It might be nice if someone would save us all the work and set up a local annotations database (using biopython's flat-file parsers) and attach to it a cron-job that updates flat-files on a month-to-month basis. So, I think I still need the locus-link parser, but maybe there's a more general/more useful project that deserves a higher priority. -sagar On Fri, 09 Aug 2002 14:48:40 -0400 Katharine Lindner wrote: > Is there a need for an HTTP parser for LocusLink in addition to the > flat file? I'd especially like to have Sagar's perspective because he > is a user. > > Although memory is cheap in places like Boston and California, > biopython has an international user base. Researchers from emerging > technologies may not have the resources to store flat files locally. > An alternate solution for public domain databases might be mindyized > mirror sites. > > Cayte > > > > > > From dyoo@acoma.Stanford.EDU Sun Aug 11 04:21:09 2002 From: dyoo@acoma.Stanford.EDU (Danny Yoo) Date: Sat, 10 Aug 2002 20:21:09 -0700 (PDT) Subject: [BioPython] argv In-Reply-To: <20020809135108.80339.qmail@web10107.mail.yahoo.com> Message-ID: On Fri, 9 Aug 2002, biter bilen wrote: > hi to everyone, > > does anyone help me about giving command line arguments in windows? Hi Biter, How are calling your Python program, and what particular command line arguments are you trying to pass to it? I don't have Windows, so I can't test this, but I assumed that dragging files over to a Python icon should send those filenames as arguments. Best of wishes to you! From juvenate@yahoo.com Sun Aug 11 19:56:11 2002 From: juvenate@yahoo.com (Kasian Franks) Date: Sun, 11 Aug 2002 11:56:11 -0700 (PDT) Subject: [BioPython] biopython to jython for literature miner Message-ID: <20020811185611.76903.qmail@web10505.mail.yahoo.com> I've been working on some tools related to biomedical literature mining and information retrieval e.g. PubMed, OMIM, Swissprot, Genbank etc. In the process I've accumulated quite a few python and tcl based libs, API and db interfaces for gene/protein annotation, genomic database/knowledge management and gene to disease mapping. I'm going to make a 100% Jython version. Has anyone done much work on porting biopython components to Jython? check it out, http://64.163.147.146/~kasian/fp and let me know what you think... Thanks -Kasian Franks __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From jchang@smi.stanford.edu Sun Aug 11 21:49:07 2002 From: jchang@smi.stanford.edu (Jeffrey Chang) Date: Sun, 11 Aug 2002 13:49:07 -0700 Subject: [BioPython] biopython to jython for literature miner In-Reply-To: <20020811185611.76903.qmail@web10505.mail.yahoo.com>; from juvenate@yahoo.com on Sun, Aug 11, 2002 at 11:56:11AM -0700 References: <20020811185611.76903.qmail@web10505.mail.yahoo.com> Message-ID: <20020811134907.A18101@springfield.stanford.edu> Which part of Biopython are you using? Is there something specific you need ported to Jython? Jeff On Sun, Aug 11, 2002 at 11:56:11AM -0700, Kasian Franks wrote: > I've been working on some tools related to biomedical > literature mining and information retrieval e.g. > PubMed, OMIM, Swissprot, Genbank etc. > In the process I've accumulated quite a few python and > tcl based libs, API and db interfaces for gene/protein > annotation, genomic database/knowledge management and > gene to disease mapping. I'm going to make a 100% > Jython version. Has anyone done much work on porting > biopython components to Jython? > > check it out, http://64.163.147.146/~kasian/fp and let > me know what you think... > > Thanks > -Kasian Franks > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com > _______________________________________________ > BioPython mailing list - BioPython@biopython.org > http://biopython.org/mailman/listinfo/biopython From juvenate@yahoo.com Sun Aug 11 22:39:47 2002 From: juvenate@yahoo.com (Kasian Franks) Date: Sun, 11 Aug 2002 14:39:47 -0700 (PDT) Subject: [BioPython] biopython to jython for literature miner In-Reply-To: <20020811134907.A18101@springfield.stanford.edu> Message-ID: <20020811213947.72746.qmail@web10503.mail.yahoo.com> I was thinking of starting with bio.www.ncbi. However my experience tells me that if I developed a 100% jython version it would not be completely compatible with biopython. Before I charge through a long term jython dev session I'd like to know approx how much of biopython I can expect to be compatible with jython or vice versa. I'm assuming in the future this question will be irrelevant, but for now I'd like to know that if I invested in a full jython integration effort that I will also be able to use the most useful biopython modules. Specifically, are the most widely used modules of biopython compatible with jython? --- Jeffrey Chang wrote: > Which part of Biopython are you using? Is there > something specific > you need ported to Jython? > > Jeff > > > On Sun, Aug 11, 2002 at 11:56:11AM -0700, Kasian > Franks wrote: > > I've been working on some tools related to > biomedical > > literature mining and information retrieval e.g. > > PubMed, OMIM, Swissprot, Genbank etc. > > In the process I've accumulated quite a few python > and > > tcl based libs, API and db interfaces for > gene/protein > > annotation, genomic database/knowledge management > and > > gene to disease mapping. I'm going to make a 100% > > Jython version. Has anyone done much work on > porting > > biopython components to Jython? > > > > check it out, http://64.163.147.146/~kasian/fp and > let > > me know what you think... > > > > Thanks > > -Kasian Franks > > > > __________________________________________________ > > Do You Yahoo!? > > HotJobs - Search Thousands of New Jobs > > http://www.hotjobs.com > > _______________________________________________ > > BioPython mailing list - BioPython@biopython.org > > http://biopython.org/mailman/listinfo/biopython __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From jchang@smi.stanford.edu Mon Aug 12 04:38:27 2002 From: jchang@smi.stanford.edu (Jeffrey Chang) Date: Sun, 11 Aug 2002 20:38:27 -0700 Subject: [BioPython] biopython to jython for literature miner In-Reply-To: <20020811213947.72746.qmail@web10503.mail.yahoo.com>; from juvenate@yahoo.com on Sun, Aug 11, 2002 at 02:39:47PM -0700 References: <20020811134907.A18101@springfield.stanford.edu> <20020811213947.72746.qmail@web10503.mail.yahoo.com> Message-ID: <20020811203827.A18771@springfield.stanford.edu> The classes to access NCBI should work. People have reported using parts of Biopython with Jython successfully with no modifications at all. I'm not sure which modules of Biopython are most widely used. In general, Jython should work fine, except where extensions classes are used (such as the Martel parsing framework), and where Python 2.2 is required (Jython only supports 2.1, I believe). In general, though, Biopython doesn't make very advanced use of Python 2.2, and parts that are 2.2 specific should be relatively easily rewritten to work with 2.1. Jeff On Sun, Aug 11, 2002 at 02:39:47PM -0700, Kasian Franks wrote: > I was thinking of starting with bio.www.ncbi. However > my experience tells me that if I developed a 100% > jython version it would not be completely compatible > with biopython. Before I charge through a long term > jython dev session I'd like to know approx how much of > biopython I can expect to be compatible with jython or > vice versa. I'm assuming in the future this question > will be irrelevant, but for now I'd like to know that > if I invested in a full jython integration effort that > I will also be able to use the most useful biopython > modules. Specifically, are the most widely used > modules of biopython compatible with jython? > > --- Jeffrey Chang wrote: > > Which part of Biopython are you using? Is there > > something specific > > you need ported to Jython? > > > > Jeff > > > > > > On Sun, Aug 11, 2002 at 11:56:11AM -0700, Kasian > > Franks wrote: > > > I've been working on some tools related to > > biomedical > > > literature mining and information retrieval e.g. > > > PubMed, OMIM, Swissprot, Genbank etc. > > > In the process I've accumulated quite a few python > > and > > > tcl based libs, API and db interfaces for > > gene/protein > > > annotation, genomic database/knowledge management > > and > > > gene to disease mapping. I'm going to make a 100% > > > Jython version. Has anyone done much work on > > porting > > > biopython components to Jython? > > > > > > check it out, http://64.163.147.146/~kasian/fp and > > let > > > me know what you think... > > > > > > Thanks > > > -Kasian Franks > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > HotJobs - Search Thousands of New Jobs > > > http://www.hotjobs.com > > > _______________________________________________ > > > BioPython mailing list - BioPython@biopython.org > > > http://biopython.org/mailman/listinfo/biopython > > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com From dyoo@acoma.Stanford.EDU Mon Aug 12 17:30:03 2002 From: dyoo@acoma.Stanford.EDU (Danny Yoo) Date: Mon, 12 Aug 2002 09:30:03 -0700 (PDT) Subject: [BioPython] argv In-Reply-To: <20020811042336.3289.qmail@web10106.mail.yahoo.com> Message-ID: On Sat, 10 Aug 2002, biter bilen wrote: > i wanted to pass the input and output file names as command line args. > danny, i couldn't make your method work.:( but i succeeded in doing this > in DOS under python directory. but isn't there a way to do this within > the interpreter? i started proramming with python soonly so i may > sometimes ask stupid questions. sorry for this! Hi Biter, Please send replies back to biopython@biopython.org. That way, even if my mailbox gets clogged, your question will still get through to the rest of the list. If you want to set up the argument list while in the interactive interpreter, you can do this by assigning your customized list to the 'sys.argv' variable. For example: ### >>> import sys >>> sys.argv = ['test', 'hello', 'world'] ### By the way, if you have beginning Python questions, you're always welcome to ask on the Python-Tutor mailing list: http://mail.python.org/mailman/listinfo/tutor From emailharvest@email.com Tue Aug 13 15:31:22 2002 From: emailharvest@email.com (emailharvest@email.com) Date: Tue, 13 Aug 2002 22:31:22 +0800 Subject: [BioPython] ADV: Harvest lots of E-mail addresses quickly ! Message-ID: <200208131431.g7DEVSJD022404@pw600a.bioperl.org> Dear biopython =2C =3CBODY bgColor=3D#ffccff=3E =3CTABLE border=3D0 cellPadding=3D0 cellSpacing=3D0 width=3D475=3E =3CTBODY=3E =3CTR=3E =3CTD align=3Dmiddle vAlign=3Dtop=3E=3C=2FTD=3E=3C=2FTR=3E=3C=2FTBODY=3E=3C=2FTABLE=3E=3CBR=3E =3CTABLE=3E =3CTBODY=3E =3CTR=3E =3CTD width=3D=225%=22=3E=3C=2FTD=3E =3CTD bgColor=3D#b8ecff borderColor=3D#0000ff width=3D=2290%=22=3E=3CFONT color=3D#ff0000 face=3D=22Arial Black=22 size=3D6=3E =3B =3B =3B =3B =3B =3B =3B =3B =3B =3B Want To Harvest A Lot Of Email =3B =3B Addresses In A Very Short Time=3F=3C=2FFONT=3E =3CP=3E=3CB=3E=3CFONT color=3D#0000ff face=3DArial size=3D4=3EEasy Email Searcher=3C=2FFONT=3E=3CFONT color=3D#ff00ff face=3DArial size=3D4=3E =3B is =3B a =3B powerful =3B Email =3B software =3B =3B that =3B harvests general Email lists from mail servers =3B =3B =3C=2FFONT=3E=3CFONT color=3D#0000ff face=3DArial size=3D4=3EEasy Email Searcher =3C=2FFONT=3E=3CFONT color=3D#ff00ff face=3DArial size=3D4=3Ecan get 100=2C000 Email=3C=2FFONT=3E=3C=2FB=3E =3CFONT color=3D#ff00ff face=3DArial size=3D4=3E=3CB=3Eaddresses directly from the Email servers in only one hour! =3B=3C=2FB=3E=3C=2FFONT=3E=3C=2FP=3E =3CUL=3E =3CLI=3E=3CFONT face=3DArial size=3D2=3E=3CB=3E=3CFONT color=3D#0000ff=3EEasy Email Searcher=3C=2FFONT=3E=3C=2FB=3E is a 32 bit Windows Program for e-mail marketing=2E It is intended for easy and convenient search large e-mail address lists from mail servers=2E The program can be operated on Windows 95=2F98=2FME=2F2000 and NT=2E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial size=3D2=3E=3CB=3E=3CFONT color=3D#0000ff=3EEasy Email Searcher=3C=2FFONT=3E =3C=2FB=3Esupport multi-threads =28up to 512 connections=29=2E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial size=3D2=3E=3CB=3E=3CFONT color=3D#0000ff=3EEasy Email Searcher=3C=2FFONT=3E=3C=2FB=3E has the ability =3B to reconnect to the mail server if the server has disconnected and continue the searching at the point where it has been interrupted=2E=3C=2FFONT=3E =3CLI=3E=3CFONT face=3DArial size=3D2=3E=3CB=3E=3CFONT color=3D#0000ff=3EEasy Email Searcher=3C=2FFONT=3E=3C=2FB=3E has an ergonomic interface that is easy to set up and simple to use=2E=3C=2FFONT=3E =3C=2FLI=3E=3C=2FUL=3E =3CP=3E=A1=A1=3CB=3E=3CFONT color=3D#0000ff face=3DArial=3EEasy Email Searcher is an email address searcher and bulk e-mail sender=2E It can verify more than 5500 email addresses per minute at only 56Kbps speed=2E It even allows you send email to valid email address while searching=2E You can save the searching progress and load it to resume work at your convenience=2E All you need to do is just input an email address=2C and press the =22Search=22 button=2E=3C=2FFONT=3E=3C=2FB=3E=3C=2FP=3E =3CP=3E=3CB=3E=3CFONT color=3D#0000ff face=3DArial=3E=3CBR=3E=3C=2FFONT=3E=3Cfont face=3D=22Comic Sans MS=22 size=3D=224=22 color=3D=22#FF00FF=22=3EVery Low Price ! ------- =3B Now=2C =3B The full version of Easy Email Searcher only costs =3C=2Ffont=3E=3Cfont face=3D=22Comic Sans MS=22 size=3D=224=22 color=3D=22#0000FF=22=3E$ 39=2E 95=3C=2Ffont=3E=3C=2FB=3E=3C=2FP=3E =3CP=3E=3CB=3E=3CFONT color=3D#ff0000 face=3DArial size=3D4=3E=3CI=3EClick The Following Link To Download The Demo =3A=3C=2FI=3E=3C=2FFONT=3E=3C=2FB=3E=3C=2FP=3E =3CP=3E=3CB=3E=3CFONT color=3D#ff0000 face=3DArial size=3D4=3E=3CA href=3D=22http=3A=2F=2Fwww=2Ewldinfo=2Ecom=2Fdownload=2Femail=2Fnewees=2Ezip=22=3EDownload Site 1=3C=2FA=3E=3C=2FFONT=3E=3C=2FB=3E=3C=2FP=3E =3CP=3E=3CB=3E=3CFONT color=3D#ff0000 face=3DArial size=3D4=3E=3CA href=3D=22http=3A=2F=2Fbestsoft=2E3322=2Eorg=2Fonlinedown=2Fnewees=2Ezip=22=3EDownload Site 2=3C=2FA=3E =3B =3B =3B =3B =3B =3B =3B =3B =3B =3B =3B =3C=2FFONT=3E=3C=2FB=3E=A1=A1=3CFONT color=3D#0000a0 face=3DArial size=3D3=3E=3CSTRONG=3EIf =3B you can not download this program =2C =3B please copy the following link into your URL =2C and then click =22 Enter=22 on your Computer Keyboard=2E=3C=2FSTRONG=3E=3C=2FFONT=3E=3C=2FP=3E =3CP=3E=3CFONT size=3D2=3E=3CFONT color=3D#0000a0 face=3DArial size=3D3=3E=3CSTRONG=3EHere is the download links=3A=3C=2FSTRONG=3E=3C=2FFONT=3E=3C=2FP=3E =3CDIV=3E =3CP=3Ehttp=3A=2F=2Fwww=2Ewldinfo=2Ecom=2Fdownload=2Femail=2Fnewees=2Ezip=3C=2FP=3E =3CP=3Ehttp=3A=2F=2Fbestsoft=2E3322=2Eorg=2Fonlinedown=2Fnewees=2Ezip=3C=2FP=3E=3C=2FFONT=3E=3C=2FDIV=3E =3CP=3E=3C=2FP=3E=3C=2FTD=3E =3CTD width=3D=225%=22=3E=3C=2FTD=3E=3C=2FTR=3E =3CTR=3E =3CTD width=3D=225%=22=3E=3C=2FTD=3E =3CTD bgColor=3D#0f95de width=3D=2290%=22=3E=3CFONT color=3D#ffffff face=3D=22Verdana=2C Tahoma=2C Helvetica=2C SansSerif=22 size=3D1=3E=3CB=3EDisclaimer=3A=3C=2FB=3E=3CBR=3EWe are strongly against continuously sending unsolicited emails to those who do not wish to receive our special mailings=2E We have attained the services of an independent 3rd party to overlook list management and removal services=2E This is not unsolicited email=2E If you do not wish to receive further mailings=2C please click this link =3CA href=3D=22 mailto=3Aremoval=40btamail=2Enet=2Ecn =22 target=3D=5Fblank=3E=3CFONT color=3D#fdd32a=3E=3CB=3Emailto=3Aremoval=40btamail=2Enet=2Ecn =3C=2FB=3E=3C=2FFONT=3E=3C=2FA=3E=2E =3B=3C=2FFONT=3E=3CB=3E=3CFONT class=3Ddisclaimer color=3D#000080 face=3DArial=3E=3CBR=3EThis message is a commercial advertisement=2E It is compliant with all federal and state laws regarding email messages including the California Business and Professions Code=2E We have provided the subject line =22ADV=22 to provide you notification that this is a commercial advertisement for persons over 18yrs old=2E=3C=2FFONT=3E=3C=2FB=3E=3C=2FTD=3E =3CTD width=3D=225%=22=3E=3C=2FTD=3E=3C=2FTR=3E=3C=2FTBODY=3E=3C=2FTABLE=3E =3CBR=3E From prentum@prentum.com Fri Aug 16 21:14:23 2002 From: prentum@prentum.com (prentum@prentum.com) Date: Sat, 17 Aug 2002 04:14:23 +0800 Subject: [BioPython] Heightening Shoes Message-ID: <200208162015.g7GKFPJE017604@pw600a.bioperl.org> Dear Sir/lady, Heightening Shoes, are you interest in it? Its points as below: 1. It's suitable for the short of people with the design of its invisible heightening layers(insole). It can increase one's height up to 6-10cm. The shoes contain no chemical medicine. This production is not medicinal shoe. 2. The heightening layer is invisible. With high layer in them, they feel no different than ordinary shoes. 3. The structural design is proportionate also streamline, and the insoles/heightening layers are made with elasticity material, so it is comfortable to the feet. 4. The ordinarily type of heightening shoes are without intakes, the ventilating type of heightening shoes are with intakes and more comfortable. 5. The technology of the heightening shoes is original with the China's patent. You can see details regarding this heightening shoe and other many footwear if you go to our website: www.prentum.com Don't hesitate to contact us if you are interest in this item. Best regards. Mr. Long Tan Prentum Developing Corp. Guilin, China ============================================================= ¸ÃÓʼþʹÓà ¿ÆÌØÓʼþȺ·¢Èí¼þ ·¢ËÍ,ÓʼþÄÚÈÝÓë¿ÆÌØÈí¼þÎÞ¹Ø ¿ÆÌØÈí¼þ http://www.caretop.com ============================================================= From cymon@duke.edu Sun Aug 18 19:14:44 2002 From: cymon@duke.edu (Cymon Cox) Date: 18 Aug 2002 14:14:44 -0400 Subject: [BioPython] Biopython support for BioSQL on PostgreSQL Message-ID: <1029694484.14044.82.camel@ephiginia.biology.duke.edu> Hi Folks, What is the status of Biopythons support of BioSQL on PostGreSQL? Ive tried a few DB-API2.0 compliant PostGres drivers with the current BioSQL code without much success, so I'm figuring the code is still under development (- or perphaps I'm doing something mindless). Also, I see from (http://obda.open-bio.org/performance.html) that there are no figures for PostGres. Cheers, Cymon -- ___________________________________________________ Cymon J. Cox Research Associate Department of Biology Duke University Durham NC 27708 ___________________________________________________ From chapmanb@arches.uga.edu Mon Aug 19 17:29:30 2002 From: chapmanb@arches.uga.edu (Brad Chapman) Date: Mon, 19 Aug 2002 12:29:30 -0400 Subject: [BioPython] Biopython support for BioSQL on PostgreSQL In-Reply-To: <1029694484.14044.82.camel@ephiginia.biology.duke.edu> References: <1029694484.14044.82.camel@ephiginia.biology.duke.edu> Message-ID: <20020819162930.GC34541@ci350185-a.athen1.ga.home.com> Hi Cymon; > What is the status of Biopythons support of BioSQL on PostGreSQL? I don't think it's been worked on it at all. Theoretically, you should just be able to give the current codebase a postgres driver and make things work, but I doubt if that would actually work (as you describe below :-). > Ive tried a few DB-API2.0 compliant PostGres drivers with the current > BioSQL code without much success, so I'm figuring the code is still > under development (- or perphaps I'm doing something mindless). Also, I > see from (http://obda.open-bio.org/performance.html) The code is always under development :-). Seriously, I haven't worked on postgres at all, but it would be something good to see. I developed what is there now from what Andrew started and everything was done on MySQL. I didn't purposely use any MySQL specific code, but I'm no SQL expert by far, so who knows. For kicks (okay, not really kicks :-), I gave a shot at getting things to work with the psycopg database adaptor. It looks like it's not really easy (of course!) to get things working with postgresql -- there are some issues with how things are returned and what parameters are passed in during connection and eventually I had to give up. If you want to work on this, that would be great. I'd be happy to help with problems, etc -- I'm still learning postgres and don't even know which driver is "best" (I found 3 of them out there; too much confusion for my small brain) but I can try to help out. Good luck; hope all that rambling answered your questions! Brad From maxwell@biolateral.com.au Wed Aug 21 07:35:29 2002 From: maxwell@biolateral.com.au (Peter Maxwell) Date: Wed, 21 Aug 2002 16:35:29 +1000 Subject: [BioPython] Better blasting with XML Message-ID: <200208211635.29932.maxwell@biolateral.com.au> Hi all, Biopython's blast parser keeps breaking. This is normal behaviour for a blast parser. To quote the blast2 release notes: "The BLAST report is not intended to be a parseable document. It is subject to change with little or no notice. " Blast can produce parser friendly XML or tabular output so there is no need to battle with the traditional blast report format. I attempted to use Bio.Blast.NCBIWWW.blast(..., format_type='html'), to fetch XML formated output from NCBI but that doesn't work. I think the function makes assumptions about what will appear on the returned web pages that aren't true when format_type isn't 'html'. There is another function in there, blasturl(), but the 'stable URL' it uses is based on the old email blast interface and so predates format_type and other recent blast features. So I wrote something more or less equivalent to NCBIWWW.py using the 'new stable URL' http://www.ncbi.nlm.nih.gov/blast/Blast.cgi, documentation for which lives at http://www.ncbi.nlm.nih.gov/BLAST/Doc/urlapi.html. This is the same interface (also known as QBlast) that Bio.Blast.NCBIWWW.blast() uses, but since my version doesn't try to parse web forms it is is a bit more flexible and reliable. I also wrote the XML blast output parser I needed. It doesn't make an object with the same interface as the current biopython blast parser because that turned out to be too hard, the interface being very much influenced by the details of the traditional blast report. The XML schema is simpler, it is directly based on the ASN.1 schema which in turn is very close to the C data structures in the blast code itself. Available at: http://www.biolateral.com.au/download/NCBI.py http://www.biolateral.com.au/download/NCBIXML.py The code is GPL'ed for general distribution but I (and BioLateral) would be happy to see any of it find its way into biopython so it is also available to the biopython project for integration into biopython under biopython's licence. Cheers, -- Peter Maxwell From dalke@dalkescientific.com Wed Aug 21 09:58:38 2002 From: dalke@dalkescientific.com (Andrew Dalke) Date: Wed, 21 Aug 2002 02:58:38 -0600 Subject: [BioPython] Better blasting with XML In-Reply-To: <200208211635.29932.maxwell@biolateral.com.au> References: <200208211635.29932.maxwell@biolateral.com.au> Message-ID: <20020821025838.663d044a.adalke@mindspring.com> Peter Maxwell: > Blast can produce parser friendly XML or tabular output so there is no need to > battle with the traditional blast report format. I'll still argue that there is, for two reasons. First, that's the format that people expect to see. Suppose you are making an intranet web system which includes BLAST functionality. How should the results be returned? The "human" version? XML? Tabular? Most expect the first of those three, so there should be some way to work with the output in that form. (BTW, another option is to dump to XML then have your code convert from XML to a more human readable form, perhaps one which mimics the BLAST report. I haven't been too happy with the systems I've seen which do that.) Second, suppose someone has a BLAST output, say from some run done by hand. It would be useful to parse that file rather than try to rerun everything. > I also wrote the XML blast output parser I needed. It doesn't make an object > with the same interface as the current biopython blast parser because that > turned out to be too hard, the interface being very much influenced by the > details of the traditional blast report. The XML schema is simpler, it is > directly based on the ASN.1 schema which in turn is very close to the C data > structures in the blast code itself. I'm "working" (haven't touched it in 7 months (!)) on a rewrite of the BLAST code which uses Martel and creates a new similarity search data structure that can be shared amoung the different algorithms. The idea is to be similar to both the bioperl SearchIO interface and work better with the XML output from BLAST. I want to be able to say from Bio import SearchIO results = SearchIO.parse("filename") and have it work with *anything*. The biggest delay is purely my fault. There isn't enough documentation for anyone else to figure out what I've been doing with that code and how it's supposed to go, and I haven't had the time (err, more like haven't had the funding) to work on it. > The code is GPL'ed for general distribution but I (and BioLateral) would be > happy to see any of it find its way into biopython so it is also available to > the biopython project for integration into biopython under biopython's > licence. Interesting. As I recall, Entigen liked Jeff's BLAST parser and used it in lieu of their own. Now I see that BioLateral was founded by Tim Littlejohn. Any interest in funding me to work on this? No? Well, had to ask. Anyone else on the list? :) Seriously, I looked at your code. There are a few suggestions I have, which I sent by personal email. The biggest problem I have with it is the tight match it has with the BLAST data structure. I would like it to also support FASTA generically. I just don't know what FASTA needs, or which algorithms are similar enough to be considered part of a 'SearchIO'. Is BLAT one? Any others? I've also found that using [] for arbitrary properties is easier to comprehend than using attribute lookups like you do. For example, you change "eff-space" to "eff_space" so people can say blah.parameters.eff_space when I would rather have blah.parameters["eff-space"] Otherwise people have to remember more to go from documentation to how the code works. Combining those two points, I see "." as something which should be used for properties which are common to many types of search results while [] should be used for things which are highly variable and specific to just one algorithm. Could you look into bioperl's SearchIO system and see what they do, then come up with a generic data structure for the various search programs which is also more Pythonic than the perl API? Then you can have the XML code build that data structure and be part of biopython, while also having something I can target the Martel-based system to use. Andrew dalke@dalkescientific.com From dalke@dalkescientific.com Fri Aug 23 18:40:37 2002 From: dalke@dalkescientific.com (Andrew Dalke) Date: Fri, 23 Aug 2002 11:40:37 -0600 Subject: [BioPython] DAS client Message-ID: <20020823114037.39e9d71d.adalke@mindspring.com> I've got a first draft, as it were, of a DAS client. You can download and try it out from http://www.biopython.org/~dalke/das.tar.gz Here's some documentation for it. - ungzip / untar it - cd das - start python >>> import das >>> server = das.Server("http://servlet.sanger.ac.uk:8080/das") the 'server' object acts like a Python dictionary for the different data sources available >>> print len(server) >>> print server.keys() >>> dsn = server["mouse73"] >>> sheet = dsn.stylesheet() This is class is built given the DTD. Here's some examples of how you can manipulate it. Dump the whole data structure as XML >>> print sheet See what it contains >>> sheet.get_children() Work with subelements >>> print len(sheet["STYLESHEET"]) >>> category = sheet["STYLESHEET"][0] Get attributes of a node >>> print category["TYPE"].id >>> glyph = category["TYPE"]["GLYPH"] Any subelement can also be dumped to XML >>> print glyph Get the text inside a node (.text() returns a list of unicode strings) >>> print "".join(map(str, glyph[0]["COLOR"].text())) Besides 'stylesheet' the following methods are also supported on a DSN >>> [s for s in dir(dsn) if not s.startswith("_")] ['dna', 'dsn', 'entry_points', 'features', 'link', 'sequence', 'server', 'stylesheet', 'types'] (Actually, 'dsn' and 'server' are attributes. >>> eps = dsn.entry_points() >>> for segment in ep["ENTRY_POINTS"]: ... print segment.id, segment.size ... X 147161770 19 61356199 18 91189200 17 94132929 16 99184200 15 104633288 14 116006794 13 117115093 12 114251360 11 122883361 10 131187037 9 125583845 8 129321983 7 135793178 6 150316567 5 151006098 4 151730910 3 160564582 2 180335396 1 196842934 >>> print dsn.dna( segments = [ ("X", 147161760, 147161770), ("1", 100, 20) ] ) Calling url 'http://servlet.sanger.ac.uk:8080/das/mouse73/dna' with query 'segment=X:147161760,147161770;segment=1:100,20' agagagagagt nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnnnnnnnnnnnnnnnnnnnn >>> print dsn.types( segments = [("6", None, None)] ) 151 23 23 304 >>> It also converts DAS errors into Python exceptions >>> print dsn.sequence( [ ("X", 147161760, 147161770), ("1", 100, 20) ] ) Calling url 'http://servlet.sanger.ac.uk:8080/das/mouse73/sequence' with query 'segment=X:147161760,147161770;segment=1:100,20' Traceback (most recent call last): File "", line 1, in ? File "das.py", line 255, in sequence return self._call("sequence", s, "dassequence") File "das.py", line 243, in _call return self.server._call(self.dsn + "/" + command, query, dtd_name) File "das.py", line 180, in _call raise DASError(status_code) das.DASError: 400: Bad command (command not recognized) >>> Note that debugging is turned on in that it shows the URL called and the query string, which gives you the chance to see what it's doing and (if needed) reproduce a problem by hand. Speaking of which, many of the publically available servers listed at http://www.tigr.org/tdb/DAS/das_server_list.html have problems. I've tweaked the DTDs to support things like 'COLOR' and 'OUTLINECOLOR' which are pre-1.0 spec, and added a few other things as I found them. Another has 'X-DAS-Status' line with descriptive text after the 3 digit status number. Still others return syntactically invalid XML or simply implement the wrong function (a couple return the DASDSN for 'entry_points'!). So enjoy, but be wary! :) Andrew dalke@dalkescientific.com From biterbilen@yahoo.com Sat Aug 24 10:40:13 2002 From: biterbilen@yahoo.com (biter bilen) Date: Sat, 24 Aug 2002 02:40:13 -0700 (PDT) Subject: [BioPython] clustaw Message-ID: <20020824094013.70735.qmail@web10106.mail.yahoo.com> --0-105930084-1030182013=:69359 Content-Type: text/plain; charset=us-ascii hi everybody, i am to write a program that makes gapless multiple alignments with 17 sequences. i attempted to use clustalw within biopyhon. but even the example program at http://bioweb.pasteur.fr/docs/doc-gensoft/biopython/Doc/examples/clustal_run.py gave errors as: Traceback (most recent call last): File "", line 1, in ? execfile('clustal_run.py') File "clustal_run.py", line 24, in ? alignment = Clustalw.do_alignment(cline) File "C:\Python22\Lib\site-packages\Bio\Clustalw\__init__.py", line 86, in do_alignment raise ValueError("Bad command line option in the command: %s" ValueError: Bad command line option in the command: clustalw .\opuntia.fasta -OUTFILE=test.aln it is not mentioned in the cookbook that i should download a software for running clustalw. i think the problem is not the files(opuntia.fasta or test.aln) but clustalw since i dowloaded opuntia.fasta. has anyone got idea about the problem? thanks biter --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes --0-105930084-1030182013=:69359 Content-Type: text/html; charset=us-ascii

hi everybody,

i am to write a program that makes gapless multiple alignments with 17 sequences. i attempted to use clustalw within biopyhon. but even the example program at

 http://bioweb.pasteur.fr/docs/doc-gensoft/biopython/Doc/examples/clustal_run.py

gave errors as:

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in ?
    execfile('clustal_run.py')
  File "clustal_run.py", line 24, in ?
    alignment = Clustalw.do_alignment(cline)
  File "C:\Python22\Lib\site-packages\Bio\Clustalw\__init__.py", line 86, in do_alignment
    raise ValueError("Bad command line option in the command: %s"
ValueError: Bad command line option in the command: clustalw .\opuntia.fasta -OUTFILE=test.aln

it is not mentioned in the cookbook that i should download a software for running clustalw. i think the problem is not the files(opuntia.fasta or test.aln) but clustalw since i dowloaded opuntia.fasta.

has anyone got idea about the problem?

thanks

biter



Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes --0-105930084-1030182013=:69359-- From letondal@pasteur.fr Mon Aug 26 19:28:58 2002 From: letondal@pasteur.fr (Catherine Letondal) Date: Mon, 26 Aug 2002 20:28:58 +0200 Subject: [BioPython] Pise client Message-ID: <200208261828.g7QISxLq208805@electre.pasteur.fr> Hi, I have written a Python package to run jobs on a Pise Web server from a python program (Pise is a tool to generate user interfaces for programs running under Unix described here: http://www-alt.pasteur.fr/~letondal/Pise). For example, the following script run a toppred job on a SeqRecord instance, displays the standard output of this job, and save the graphical output in a file. Sequences or alignments can be input either as Seq, SeqRecord, files or just strings. from Pise import PiseFactory import Bio.Fasta import sys factory = PiseFactory(email='user@domain') program = factory.program("toppred", graph_output=1, profile_format="ps") handle = open(sys.argv[1]) it = Bio.Fasta.Iterator(handle, Bio.Fasta.SequenceParser()) seq = it.next() job = program.run(query=seq) if job.error(): print job.error_message() else: print "url of the job: " + job.jobid() print job.stdout() print "Results: ", job.get_results() job.save('.ps') The package is available at: http://www-alt.pasteur.fr/~letondal/Pise/#pisepython The package is organized in 4 main classes (the package is organized about the same way as in the bioperl API in fact): PiseFactory ----------- builds PiseApplication instances program() | | v PiseApplication PiseJob PiseJobParser --------------- ------- ------------- object --> actual job (an xml.sax.handler) to parse to set (methods to XHTML server output parameters actually submit and launch the http request jobs via httplib, get job state | and results) | +----------------------------------------------+ | toppred fasta hmmbuild nnssp blast2 clustalw | | genscan tacg dnapars wublast2 ... | | | +----------------------------------------------+ I'm aware about the Bio.Application framework, but I have understood it's more for local run. For instance, AbstractCommandline would have been useful on a server, but there is no such thing in the client, which does not deal with command lines. It should be possible to wrap PiseApplication classes in Bio.Application classes though (and ApplicationResult sub-class could re-use PiseJob methods for instance). I have tried to put the minimum information in the numerous files that belongs to this package (there is a small file for each program, and there are about 287 programs). I would be very happy to get some feedback about this code! -- Catherine Letondal -- Pasteur Institute Computing Center From biterbilen@yahoo.com Tue Aug 27 09:17:02 2002 From: biterbilen@yahoo.com (biter bilen) Date: Tue, 27 Aug 2002 01:17:02 -0700 (PDT) Subject: [BioPython] do_alignment Message-ID: <20020827081702.94218.qmail@web10101.mail.yahoo.com> --0-1275916588-1030436222=:94121 Content-Type: multipart/alternative; boundary="0-15017384-1030436222=:94121" --0-15017384-1030436222=:94121 Content-Type: text/plain; charset=us-ascii hi to everyone. my aim for learning python is its bio libraries. i use windows. i want to run clustalw (a multiple alignment program) within it. it requires the clustalx program to be downloaded (it is said so in the python help documents). i downloaded it. the program is as in the attacments. --------------------------------- Do You Yahoo!? Yahoo! Health - Feel better, live better --0-15017384-1030436222=:94121 Content-Type: text/html; charset=us-ascii

hi to everyone.

my aim for learning python is its bio libraries. i use windows. i want to run clustalw (a multiple alignment program) within it. it requires the clustalx program to be downloaded (it is said so in the python help documents). i downloaded it. the program is as in the attacments.

 



Do You Yahoo!?
Yahoo! Health - Feel better, live better --0-15017384-1030436222=:94121-- --0-1275916588-1030436222=:94121 Content-Type: text/plain; name="clustal_run.py" Content-Description: clustal_run.py Content-Disposition: inline; filename="clustal_run.py" # !/usr/bin/env python """clustal_run.py Example code to show how to create a clustalw command line, run clustalw and parse the results into an object that can be dealt with easily.""" # standard library import os # biopython from Bio.Alphabet import IUPAC from Bio import Clustalw from Bio.Clustalw import MultipleAlignCL from Bio.Align import AlignInfo from Bio.SubsMat import FreqTable # create the command line to run clustalw # this assumes you've got clustalw somewhere on your path, otherwise # you need to pass a second argument to MultipleAlignCL with the complete # path to clustalw cline = MultipleAlignCL(os.path.join(os.curdir, 'opuntia.fasta')) cline.set_output('test.aln') # actually perform the alignment and get back an alignment object alignment = Clustalw.do_alignment(cline) # get the records in the alignment all_records = alignment.get_all_seqs() print 'description:', all_records[0].description print 'sequence:', all_records[0].seq # get the length of the alignment print 'length', alignment.get_alignment_length() print alignment # print out interesting information about the alignment summary_align = AlignInfo.SummaryInfo(alignment) consensus = summary_align.dumb_consensus() print 'consensus', consensus my_pssm = summary_align.pos_specific_score_matrix(consensus, chars_to_ignore = ['N']) print my_pssm expect_freq = { 'A' : .3, 'G' : .2, 'T' : .3, 'C' : .2} freq_table_info = FreqTable.FreqTable(expect_freq, FreqTable.FREQ, IUPAC.unambiguous_dna) info_content = summary_align.information_content(5, 30, chars_to_ignore = ['N'], e_freq_table = \ freq_table_info) print "relative info content:", info_content --0-1275916588-1030436222=:94121-- From biterbilen@yahoo.com Tue Aug 27 09:31:25 2002 From: biterbilen@yahoo.com (biter bilen) Date: Tue, 27 Aug 2002 01:31:25 -0700 (PDT) Subject: [BioPython] error about do_alignment function in Clustalw module Message-ID: <20020827083125.95463.qmail@web10101.mail.yahoo.com> --0-324068416-1030437085=:95037 Content-Type: text/plain; charset=us-ascii hi everybody, i wanted to test clustal_run.py at http://bioweb.pasteur.fr/docs/doc-gensoft/biopython/Doc/examples/clustal_run.py this uses do_alignment function and i see an error as: raise ValueError("Bad command line option in the command: %s" ValueError: Bad command line option in the command: clustalw .\opuntia.fasta -OUTFILE=test.aln i downloaded clustalx 1.81 (sorry for the previous message) as said in the help documentation. can the error happen due to not seeing the path of clustalw? i realised that no clustalw executable file exists in the said (clustalx 1.81) package. can anyone help me about it? special thanks biter --------------------------------- Do You Yahoo!? Yahoo! Health - Feel better, live better --0-324068416-1030437085=:95037 Content-Type: text/html; charset=us-ascii

hi everybody,

i wanted to test clustal_run.py at

http://bioweb.pasteur.fr/docs/doc-gensoft/biopython/Doc/examples/clustal_run.py

this uses do_alignment function and i see an error as:

raise ValueError("Bad command line option in the command: %s"
ValueError: Bad command line option in the command: clustalw .\opuntia.fasta -OUTFILE=test.aln

i downloaded clustalx 1.81 (sorry for the previous message) as said in the help documentation.

can the error happen due to not seeing the path of clustalw? i realised that no clustalw executable file exists in the said (clustalx 1.81) package. can anyone help me about it?

special thanks

biter



Do You Yahoo!?
Yahoo! Health - Feel better, live better --0-324068416-1030437085=:95037-- From biterbilen@yahoo.com Tue Aug 27 09:33:52 2002 From: biterbilen@yahoo.com (biter bilen) Date: Tue, 27 Aug 2002 01:33:52 -0700 (PDT) Subject: [BioPython] do_alignment In-Reply-To: <20020827081702.94218.qmail@web10101.mail.yahoo.com> Message-ID: <20020827083352.94763.qmail@web10107.mail.yahoo.com> --0-1010516694-1030437232=:94753 Content-Type: text/plain; charset=us-ascii sorry for this mail to clog your mailboxes. biter bilen wrote: hi to everyone. my aim for learning python is its bio libraries. i use windows. i want to run clustalw (a multiple alignment program) within it. it requires the clustalx program to be downloaded (it is said so in the python help documents). i downloaded it. the program is as in the attacments. --------------------------------- Do You Yahoo!? Yahoo! Health - Feel better, live better# !/usr/bin/env python """clustal_run.py Example code to show how to create a clustalw command line, run clustalw and parse the results into an object that can be dealt with easily.""" # standard library import os # biopython from Bio.Alphabet import IUPAC from Bio import Clustalw from Bio.Clustalw import MultipleAlignCL from Bio.Align import AlignInfo from Bio.SubsMat import FreqTable # create the command line to run clustalw # this assumes you've got clustalw somewhere on your path, otherwise # you need to pass a second argument to MultipleAlignCL with the complete # path to clustalw cline = MultipleAlignCL(os.path.join(os.curdir, 'opuntia.fasta')) cline.set_output('test.aln') # actually perform the alignment and get back an alignment object alignment = Clustalw.do_alignment(cline) # get the records in the alignment all_records = alignment.get_all_seqs() print 'description:', all_records[0].description print 'sequence:', all_records[0].seq # get the length of the alignment print 'length', alignment.get_alignment_length() print alignment # print out interesting information about the alignment summary_align = AlignInfo.SummaryInfo(alignment) consensus = summary_align.dumb_consensus() print 'consensus', consensus my_pssm = summary_align.pos_specific_score_matrix(consensus, chars_to_ignore = ['N']) print my_pssm expect_freq = { 'A' : .3, 'G' : .2, 'T' : .3, 'C' : .2} freq_table_info = FreqTable.FreqTable(expect_freq, FreqTable.FREQ, IUPAC.unambiguous_dna) info_content = summary_align.information_content(5, 30, chars_to_ignore = ['N'], e_freq_table = \ freq_table_info) print "relative info content:", info_content --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes --0-1010516694-1030437232=:94753 Content-Type: text/html; charset=us-ascii

sorry for this mail to clog your mailboxes. 

 biter bilen wrote:

hi to everyone.

my aim for learning python is its bio libraries. i use windows. i want to run clustalw (a multiple alignment program) within it. it requires the clustalx program to be downloaded (it is said so in the python help documents). i downloaded it. the program is as in the attacments.

 



Do You Yahoo!?
Yahoo! Health - Feel better, live better# !/usr/bin/env python
"""clustal_run.py

Example code to show how to create a clustalw command line, run clustalw
and parse the results into an object that can be dealt with easily."""
# standard library
import os

# biopython
from Bio.Alphabet import IUPAC
from Bio import Clustalw
from Bio.Clustalw import MultipleAlignCL
from Bio.Align import AlignInfo
from Bio.SubsMat import FreqTable

# create the command line to run clustalw
# this assumes you've got clustalw somewhere on your path, otherwise
# you need to pass a second argument to MultipleAlignCL with the complete
# path to clustalw
cline = MultipleAlignCL(os.path.join(os.curdir, 'opuntia.fasta'))
cline.set_output('test.aln')

# actually perform the alignment and get back an alignment object
alignment = Clustalw.do_alignment(cline)

# get the records in the alignment
all_records = alignment.get_all_seqs()

print 'description:', all_records[0].description
print 'sequence:', all_records[0].seq

# get the length of the alignment
print 'length', alignment.get_alignment_length()

print alignment

# print out interesting information about the alignment
summary_align = AlignInfo.SummaryInfo(alignment)

consensus = summary_align.dumb_consensus()
print 'consensus', consensus

my_pssm = summary_align.pos_specific_score_matrix(consensus,
chars_to_ignore = ['N'])

print my_pssm

expect_freq = {
'A' : .3,
'G' : .2,
'T' : .3,
'C' : .2}

freq_table_info = FreqTable.FreqTable(expect_freq, FreqTable.FREQ,
IUPAC.unambiguous_dna)

info_content = summary_align.information_content(5, 30,
chars_to_ignore = ['N'],
e_freq_table = \
freq_table_info)

print "relative info content:", info_content



Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes --0-1010516694-1030437232=:94753--