[Bioperl-l] Linking of two cgi scripts

Spiros Denaxas s.denaxas at gmail.com
Sat Nov 28 10:56:15 UTC 2009


Hello,

Why do they both have to be CGi scripts? cant all the processing
happen server side, i.e. both BLAST and comparison of returned
results?

If that is strictly a requirement, you could:

a) get input from user on script A, i.e. the input sequence
b) do a HTTP request from the CGI to the other script B using LWP::UserAgent
c) get results from script B, pass on to comparison module
d) return results to user

As I said, this will be clunky so either do everything in one go or
consider AJAX

hope this helps
Spiros

On Sat, Nov 28, 2009 at 7:53 AM, Roopa Raghuveer <rtbio.2009 at gmail.com> wrote:
> hello everyone,
>
> I have a small question.
>
> I would like to link two cgi scripts i.e.,
>
> I have an input sequence being entered in a text area
>
> ex:->gi|at442323|...
> ATGCCCCCTTGGAACCAAAAAAA....
>
> So I would like to compare this with the query sequences.These query
> sequences would be from a BLAST script in the module blast.pm
> So once I enter the input sequence and request for BLAST using submit
> button,my request should go to a program which performs BLAST search.After
> this, the sequences obtained from BLAST have to be returned to a program
> Roopa.pm which compares the input sequence and the sequences obtained from
> blast.
>
> But I am unable to provide this link between the cgi scripts.(i.e.,one
> script to use BLAST,the other script to compare the sequences and send the
> results to the browser)
>
> Could any one help me in this regard?
>
> Regards,
> Roopa.
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>



More information about the Bioperl-l mailing list