[Biojava-l] Connecting to GenBank
Matthew Pocock
matthew_pocock at yahoo.co.uk
Fri Aug 15 21:01:18 EDT 2003
Evening,
You say you get an exception. Could you include the
full stack-trace? It makes it much easier to know what
may have gone wrong.
Matthew
--- "lach at cantv.net" <lach at cantv.net> wrote:
> Hi!
>
> I'm trying these codes (I want to connect to
> GenBank)
>
> ncbiDB = new NCBISequenceDB();
> SequenceFormat sf =
> ncbiDB.getSequenceFormat();
> secuencia =
> ncbiDB.getSequence("33653398");
> sf.writeSequence(secuencia, System.out);
>
> and
>
> ncbiDB = new NCBISequenceDB();
> Sequence secuencia =
> ncbiDB.getSequence("33653398");
>
> System.out.println(secuencia.seqString());
>
> where secuencia is a Sequence Object and ncbiDB is
> a NCBISequenceDB Object
>
> I obtain a BioException on
> ncbiDB.getSequence("33653398") and
> ncbiDB.getSequenceFormat().
>
> Can somebody help me? I don't know if I'm using
> something wrong
>
> Thanks
> Luis Ch.
> MSN: lach_ve at hotmail.com
> lach at cantv.net
>
> _______________________________________________
> Biojava-l mailing list - Biojava-l at biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
More information about the Biojava-l
mailing list