Hello all, I am hung up on SimpleGappedSymbolList problem. I want to add
gaps to DNA sequences that are loaded in from file that contain gaps and
remove the gaps. I just load the sequences into an instance of type
Sequence. Here is snippet ,
private void finalizeAddGapEdit(){
SimpleGappedSymbol
I think you could try swapping the use of == for equals() when testing
for equivalence to the gap symbol. It _should_ be the same literal
object, but maybe not. equals() will work in both cases but == will not.
cheers,
Richard
Richard Holland
Bioinformatics Specialist
GIS extension 8199
-
You could try
if(!inGapState && (seq[i].symbolAt(j) == gap || seq[i].symbolAt(j) ==
AlphabetManager.getGapSymbol()))
- Mark
"Dan Cardin" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
12/21/2005 04:16 PM
To: [email protected]
cc: (bcc: Mark Schreiber/GP/Nova
Hi All,
I hope you don't mind me posting this here but our company has a vacancy
for a bioinformatician and I thought there might be someone here who
would like to work in beautiful New Zealand.
Russell Smithies
Bioinformatics Software Developer
Invermay Research Centre
Puddle Alley,
Mosgiel,
N