[Biocorba-l] BioCorba-0.2 IDL sequence<> retrieval question
Alan Robinson
alan@ebi.ac.uk
Fri, 1 Jun 2001 22:58:52 +0100 (GMT Daylight Time)
So does the following work, which doesn't use IDL sequences?
# ... Get IOR and resolve it ...
# Get a reference to a SeqDB fom $bioenv. The "EMBL nucletide sequence
# database is called "EMBL".
$seqDB = $bioenv->get_SeqDB_by_name("EMBL", 0);
# Get information about the database.
$name = $seqDB->name;
# Get a reference to an EMBL Seq entry.
$seq = $seqDB->get_Seq("HSERPG", 0);
# Get a sub-string of the sequence.
$subseq = $seq->subseq(1,5);
print $name." ".$subseq."\n";
--
============================================================
Alan J. Robinson, D.Phil. Tel:+44-(0)1223 494444
European Bioinformatics Institute Fax:+44-(0)1223 494468
EMBL Outstation - Hinxton Email: alan@ebi.ac.uk
Wellcome Trust Genome Campus
Hinxton, Cambridge
CB10 1SD, UK http://industry.ebi.ac.uk/~alan/
============================================================
On Fri, 1 Jun 2001, Mark Hoebeke wrote:
>
>
> Hello Alan,
>
>
> Le 01/06/01, Alan Robinson a écrit :
>
> AR > Hello Mark,
> AR >
> AR > The following should work with the EMBL BioCORBA server (N.B. there's
> AR > only one database in the 'bioenv', and that's EMBL).
>
> <sample code removed>
>
> Amazing how your example looks like what I have been cooking up :)
>
> Unfortunately, both have the exact same result: the exception I first
> mentioned. And it definitely seems to be tied to methods returning
> sequences<>. I checked the SeqFeature::locations() method, and it exposed
> the same behaviour.
>
>
> Hmmm... maybe something's wrong with my local installation. I'll try to
> work this out thanks to your example script.
>
> Mark
>
> --
> hoebeke@versailles.inra.fr _/ _/ _/_/_/ _/_/_/
> Tel : (+33) 01 30 83 33 62 _/_/ _/_/ _/ _/
> Fax : (+33) 01 30 83 33 59 _/ _/ _/ _/ _/ _/_/
> Unité MIG, INRA - CRV _/ _/ _/ _/ _/
> F - 78026 Versailles CEDEX _/ _/ _/_/_/ _/_/_/
>
>
>
> _______________________________________________
> Biocorba-l mailing list
> Biocorba-l@biocorba.org
> http://www.biocorba.org/mailman/listinfo/biocorba-l
>