[Bioperl-l] Question on extracting Molecular Weight fields fromUniProt records

Marc Logghe Marc.Logghe at ablynx.com
Mon May 19 15:35:37 UTC 2008


Hi Anand,
I don't believe that field is extracted. But you can calculate it using
Bio::Tools::SeqStats.

my $seq_stats  =  Bio::Tools::SeqStats->new(-seq => $seq_object);
my $weight = $seq_stats->get_mol_wt;


HTH,
Marc

Marc Logghe
Senior Bioinformatician
Ablynx nv
> -----Original Message-----
> From: bioperl-l-bounces at lists.open-bio.org [mailto:bioperl-l-
> bounces at lists.open-bio.org] On Behalf Of Anand Venkatraman
> Sent: Saturday, May 17, 2008 12:52 AM
> To: bioperl-l at lists.open-bio.org
> Subject: [Bioperl-l] Question on extracting Molecular Weight fields
> fromUniProt records
> 
>  Hi everybody,
> 
> I would like to know if there is a way in which one can extract the
value
> from "Molecular Weight" field of a UniProt Record (for example that
value
> is "140080 Da" for http://www.pir.uniprot.org/cgi-
> bin/upEntry?id=MSH6_YEAST )
> 
> I am able to use Bio::DB::SwissProt to get the length & seq
> $seq_length = $seq_object->length()
> $sequence_as_a_string = $seq_object->seq();
> 
> Is there a similar method to extract the Molecular Weight field?
> 
> Thanks in advance,
> 
> Anand
> 
> 
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l




More information about the Bioperl-l mailing list