[Bioperl-l] Sequence recognition

Brian Osborne b_i_osborne@hotmail.com
Sat, 16 Mar 2002 10:17:44 -0500


David,

To add to what Ewan just wrote, Bioperl currently guesses format from the
file's suffix. So if it sees "234.sw" or "345.swiss", for example, it
assumes the files are in SwissProt format. But if you use the "-format"
argument in the SeqIO->new() statement you'll override Bioperl's
interpretation of the suffix.

Brian O.

----- Original Message -----
From: "David" <danova@urbanet.ch>
To: <bioperl-l@bioperl.org>
Sent: Monday, March 18, 2002 6:35 AM
Subject: [Bioperl-l] Sequence recognition


> Hello,
> Is there any module in Bioperl where you can input a sequence and
> reformat it as you want. Let's say that the user gives a sequence to a
> program and that the module automatically recognizes this format and
> reformat it to another specific format.
> For the output format I know how to do it with SeqIO but I don't know
> how to recognize the format given by the user.
> There is a program available on the web called readseq which does
> exactly what I want but I was just wondering if such a module exists in
> Bioperl.
>
> Thanks,
> David.
>
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
>