[Bioperl-l] [Bioperl -l] Setting Sequence with nonstandard characters

Andreas Kahari ak at ebi.ac.uk
Tue Sep 20 08:24:35 EDT 2005

On Tue, Sep 20, 2005 at 10:28:19AM +0100, Iain Wallace wrote:
> Hi,
> I wonder if anyone could tell me how to set a sequence with
> non-standard characters?
> I would like to use the string "???AGCTAGTAC" as a sequence string but
> when I set it using
> $string = "???AGCTAGTAC";
> $seq->seq($string);
> I get an exception complaining that the sequence doesn't look healthy.
> Is there any way I can turn this check of?

Are your question marks supposed to convey some very different
information from what is ordinarily meant when using 'N'?

E.g., $string = "NNNAGCTAGTAC";


Andreas Kähäri

------{ www.embl.org }----{ www.ebi.ac.uk }----{ www.ensembl.org }------

More information about the Bioperl-l mailing list