[Biojava-l] Connecting to GenBank
lach at cantv.net
lach at cantv.net
Fri Aug 15 15:37:12 EDT 2003
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
More information about the Biojava-l
mailing list