genbank has asked for the wisdom of the Perl Monks concerning the following question:
hello perlmonks, recently I encount with a problem. The program script as following. My system is windows xp.
use strict; use LWP; my $protein = "MSSSTPFDPYALSEHDEERPQNVQSKSRTAELQAEIDDTVGIMRDNINKVAERGE +RLTSI"; my $browser = LWP::UserAgent->new; $browser->env_proxy(); my $response = $browser->post( 'http://dis.embl.de/cgiDict.py', # That's the URL that the real form submits to. [ 'key' => "process", 'SP_entry' => "", 'sequence_string' => $protein, 'smooth_frame' => "8", 'peak_frame' => "8", 'join_frame' => "4", 'fold_coils' => "1.20", 'fold_rem465' => "1.20", 'fold_hotloops' => "1.40", 'plot_title' => "", 'doApplet' => "true", 'tango_PH' => "7.40", 'tango_T' => "298.15", 'tango_I' => "0.02", 'tango_TFE' => "0.00", 'fold_tango' => "1.00", ] ); die "Error: ", $response->status_line, "\n" unless $response->is_success; open(FILE, '>D:\perl\tmp2.html') || die "Can't write-open out_file: $! +"; my $dat=$response->content; print FILE $dat; close FILE; system('C:\Program Files\Internet Explorer\IEXPLORE.EXE','D:\per +l\tmp2.html');
When I run this script, always don't show the correct picture as I wish. The place should show the picture always appear the sentence “plots are not rendered as ASCII art”.
Maybe you can visit the website "http://dis.embl.de/cgiDict.py" and then paste the protein sequence "MSSSTPFDPYALSEHDEERPQNVQSKSRTAELQAEIDDTVGIMRDNINKVAERGERLTSI".
You will watch the webpage what I want to. The black picture is absent from my file instead of a sentence mensioned above.
what shoud I do? Thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: what's "plots are not rendered as ASCII art" ?
by Util (Priest) on Apr 15, 2011 at 03:30 UTC | |
by genbank (Novice) on Apr 15, 2011 at 05:09 UTC | |
by Eliya (Vicar) on Apr 15, 2011 at 08:47 UTC | |
by genbank (Novice) on Apr 15, 2011 at 11:50 UTC | |
|
Re: what's "plots are not rendered as ASCII art" ?
by JavaFan (Canon) on Apr 15, 2011 at 09:19 UTC | |
by genbank (Novice) on Apr 15, 2011 at 11:52 UTC | |
|
Re: what's "plots are not rendered as ASCII art" ?
by Anonymous Monk on Apr 15, 2011 at 03:25 UTC | |
by ambrus (Abbot) on Apr 15, 2011 at 08:24 UTC |