[Bioperl-l] Uniprot
Brian Osborne
brian_osborne at cognia.com
Tue Feb 3 16:18:41 EST 2004
Sebastien,
Unfortunately no, there's no way to do a query of UniProt with Bioperl
currently. You're looking for some data that's neither in Swissprot nor in
PIR?
Brian O.
-----Original Message-----
From: bioperl-l-bounces at portal.open-bio.org
[mailto:bioperl-l-bounces at portal.open-bio.org]On Behalf Of Sebastien Moretti
Sent: Tuesday, February 03, 2004 8:49 AM
To: bioperl-l at bioperl.org
Subject: [Bioperl-l] Uniprot
Hello
Is there a BioPerl module to send a request to UniProt db ?
My script send a request to Swissprot :
#!/usr/bin/perl
use strict;
use Bio::DB::SwissProt;
use Bio::SeqIO;
my $acc=$ARGV[0];
my $gb = new Bio::DB::SwissProt;
my $stream = $gb->get_Seq_by_acc($acc);
my $out=Bio::SeqIO->new(-format=>'swiss');
my $result=$out->write_seq($stream);
$result =~ s/^1.*$//;
print $result;
exit;
But how can I do the same with UniProt ?
Thanks
--
Sebastien MORETTI
CNRS - IGS
31 chemin Joseph Aiguier
13402 Marseille cedex 20, FRANCE
tel. 04 91 16 44 55 - 06 61 88 59 00
_______________________________________________
Bioperl-l mailing list
Bioperl-l at portal.open-bio.org
http://portal.open-bio.org/mailman/listinfo/bioperl-l
More information about the Bioperl-l
mailing list