HI
On 05 August 2003 17:31, Marcus Claesson wrote:
>4. In for example the SMART output there are many URLs. Is it possible
>to include some HTML viewer in Artemis or to start up a web-browser for
>viewing these links?
I was wondering about this as well and discovered the script results_to_netscape
hidden away in the etc folder. If you change sanger_options to yes in the options
file, Artemis uses this script to allow the viewing of blast searches in Netscape with
links to the sanger SRS site.
I added the lines:
if ($_ =~ /http/){
($_ =~ s/(http\:\/\/([\S.\/]+))/<a href=\"$1\">$1<\/a>/gi);
}
in the while(<INFILE>) loop and this (very crudely) changes the http addresses in the
SMART results file into links
With some improvements perhaps the option of using a browser (probably not Netscape!)
to view the results could become standard in future versions?
ANDREW