[Biojava-dev] Phred Sequence

Schreiber, Mark mark.schreiber at agresearch.co.nz
Thu Mar 6 16:42:14 EST 2003


Hi -

I have been trying to replicate this problem but I can't

Eg the following code produces


> -----Original Message-----
> From: David Waring [mailto:dwaring at u.washington.edu] 
> Sent: Thursday, 20 February 2003 4:20 p.m.
> To: biojava
> Subject: [Biojava-l] Phred Sequence
> 
> 
> I am writing code to parse a .phd file and create a 
> PhredSequence. It is failing with an IllegalSymbolException 
> when I have an 'n' in the sequence. Do CrossProductAlphabets 
> only take AtomicSymbols?
> 
> David
> 
> 
> Exception in thread "main" 
> org.biojava.bio.symbol.IllegalSymbolException:
> Token
> `([cytosine adenine guanine thymine] 2)' does not appear as a 
> named symbol in al phabet `PHRED'
>         at 
> org.biojava.bio.seq.io.NameTokenization.parseToken(NameTokenization.j
> ava:105)
>         at 
> org.biojava.bio.program.phred.PhredTools.getPhredSymbol(PhredTools.ja
> va:162)
> rethrown as org.biojava.utils.NestedError
>         at 
> org.biojava.bio.program.phred.PhredTools.getPhredSymbol(PhredTools.ja
> va:164)
>         at
> org.biojava.bio.program.phred.PhredTools.createPhred(PhredTools.java:
> 142)
>         at 
> edu.washington.genome.seqio.phd.PhredBuilder.makeSequence(PhredBuilde
> r.java:238)
>         at 
> org.biojava.bio.seq.io.StreamReader.nextSequence(StreamReader.java:10
> 1)
>         at readPhd.main(readPhd.java:45)
> 
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at biojava.org 
> http://biojava.org/mailman/listinfo/biojava-l
> 
=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================



More information about the biojava-dev mailing list