[Biojava-l] get Sequence by GeneID
Richard Holland
holland at ebi.ac.uk
Fri Jun 15 14:42:41 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The getSequence() method interrogates NCBI via the eUtils Java tool
(part of Entrez) and downloads Genbank-format files which it then parses
into RichSequence objects.
It can only search by primary ID using EFetch (see eUtils documentation
here:
http://eutils.ncbi.nlm.nih.gov/entrez/query/static/eutils_help.html#PrimaryIDs
), but the GI is returned for all records as part of the result.
The GI tag (from the VERSION field) is retrieved by calling
getIdentifier() - it is returned without the GI: prefix.
cheers,
Richard
Christian Köberle wrote:
> Hi,
>
> is it possible to get a Sequence from NCBI by a GeneID. Or get the
> GeneID with a Accessionnumber?
> I can not find the GeneID in a RichSequence-Object that I have from
> GenbankRichSequenceDB .getSequence()
>
> Christian
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGcqVh4C5LeMEKA/QRAsfFAJ47vGtpBJSSQmlgDtJLsUAQl135EQCfdtjK
lF3bx2KiPHZoxx7+w+HfEHo=
=2MQz
-----END PGP SIGNATURE-----
More information about the Biojava-l
mailing list