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.
In reply to what's "plots are not rendered as ASCII art" ? by genbank
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |