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

Iain Wallace iain.m.wallace at gmail.com
Tue Sep 20 09:25:02 EDT 2005


Yes, it is just going to be a marker for that position in the sequence. 
Although. I could infact use N instead, thanks for pointing that out. 

However, it would be nice to know if it is possible to use arbitary
characters as a sequence

On 9/20/05, Andreas Kahari <ak at ebi.ac.uk> wrote:
> 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
> 
> --
> Andreas Kähäri
> EMBL-EBI/ensembl
> 
> ------{ www.embl.org }----{ www.ebi.ac.uk }----{ www.ensembl.org }------
>



More information about the Bioperl-l mailing list