[Bioperl-l] Problem using get_Seq_by_id

Óscar Torreño Tirado oscart at uma.es
Tue May 27 06:49:53 UTC 2014


Good morning,

I am experiencing a problem using the function 'get_Seq_by_id' of the 
package Bio::DB::GenBank.

I am trying to retrieve the sequence for 'SMN_HUMAN' and the code 
returns as error the content of the file attached (BioperlError.txt). It 
is possible to retrieve it with the accesion number ' Q16637' using the 
same function.

I have tried also with a clean installation of Bioperl-1.6.923 and the 
error persists.

Kind Regards,
Óscar

-- 
Óscar Torreño
University of Malaga, Spain
ETSI Informática

mail: oscart at uma.es

-------------- next part --------------
------------- EXCEPTION: Bio::Root::Exception -------------
MSG: WebDBSeqI Request Error:
HTTP/1.1 400 Bad Request
Cache-Control: private
Connection: close
Date: Tue, 27 May 2014 06:43:05 GMT
Server: Apache
Content-Type: text/plain; charset=UTF-8
Access-Control-Allow-Origin: *
Client-Date: Tue, 27 May 2014 06:43:06 GMT
Client-Peer: 130.14.29.110:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
NCBI-SID: 9DFC165B38433F91_0788SID
Set-Cookie: ncbi_sid=9DFC165B38433F91_0788SID; domain=.nih.gov; path=/; expires=Wed, 27 May 2015 06:43:05 GMT
X-UA-Compatible: IE=Edge

ID list is empty! In it there are neither IDs nor accessions.

STACK: Error::throw
STACK: Bio::Root::Root::throw /usr/local/share/perl/5.18.2/Bio/Root/Root.pm:486
STACK: Bio::DB::WebDBSeqI::_stream_request /usr/local/share/perl/5.18.2/Bio/DB/WebDBSeqI.pm:773
STACK: Bio::DB::WebDBSeqI::get_seq_stream /usr/local/share/perl/5.18.2/Bio/DB/WebDBSeqI.pm:467
STACK: Bio::DB::WebDBSeqI::get_Stream_by_id /usr/local/share/perl/5.18.2/Bio/DB/WebDBSeqI.pm:288
STACK: Bio::DB::WebDBSeqI::get_Seq_by_id /usr/local/share/perl/5.18.2/Bio/DB/WebDBSeqI.pm:158
STACK: getAminoAcidSequenceUMA.pm:17
-----------------------------------------------------------

------------- EXCEPTION: Bio::Root::Exception -------------
MSG: id 'SMN_HUMAN' does not exist
STACK: Error::throw
STACK: Bio::Root::Root::throw /usr/local/share/perl/5.18.2/Bio/Root/Root.pm:486
STACK: Bio::DB::WebDBSeqI::get_Seq_by_id /usr/local/share/perl/5.18.2/Bio/DB/WebDBSeqI.pm:167
STACK: getAminoAcidSequenceUMA.pm:17
-----------------------------------------------------------



More information about the Bioperl-l mailing list