[Biojava-l] How to mask a part of SymbolList?

Adriano Holanda adrianojh@yahoo.com
Mon, 24 Jun 2002 15:49:56 -0700 (PDT)


How can I mask part of a sequence using the structure?

while (stream.hasNext()) {
   Sequence seq = getSomeSequence();
   System.out.println(seq.getName()); 
	   
   for (int pos = startMask; pos <= endMask; ++pos) {
	Symbol sym = seq.symbolAt(pos); 
	// I WANT TO CHANGE THE SYMBOL sym TO X
   }
} //end

Thanks in advance;

Adriano.


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com