<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Fill up the form and blast with perl]]></title>
	<link>https://bioinformaticsonline.com/snippets/view/34803/fill-up-the-form-and-blast-with-perl?</link>
	<atom:link href="https://bioinformaticsonline.com/snippets/view/34803/fill-up-the-form-and-blast-with-perl?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/snippets/view/34803/fill-up-the-form-and-blast-with-perl</guid>
	<pubDate>Sat, 23 Dec 2017 03:48:52 -0600</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/34803/fill-up-the-form-and-blast-with-perl</link>
	<title><![CDATA[Fill up the form and blast with perl]]></title>
	<description><![CDATA[<code>use WWW::Mechanize;
use strict;
use warnings;
my $mech = WWW::Mechanize-&gt;new;

my $sequence = &#039;GCCCGCGGTCTCAGAGATCTCGATATATTATA&#039;;

$mech-&gt;get(&#039;http://www.arabidopsis.org/Blast/&#039;);
$mech-&gt;submit_form(
  form_name =&gt; &#039;myForm&#039;,
  fields =&gt; {
    &#039;Algorithm&#039; =&gt; &#039;blastx&#039;,
    &#039;BlastTargetSet&#039; =&gt; &#039;ATH1_pep&#039;,
    &#039;QueryText&#039; =&gt; $sequence,
  },
);

print $mech-&gt;content;</code>]]></description>
	<dc:creator>BioStar</dc:creator>
</item>

</channel>
</rss>