Hi satya,
You are 90% of the way there with your script. You are missing the line:
System.out.println("Sequence: " + sequence.asString());
The sequence itself is stored seperately from the annotations. This lets
us be careful about memory management. You can access the actual
nucleotides usin
Hello all:
I am trying to extract information from a Swissprot file using the below
code.
SequenceIterator seqIter = SeqIOTools.readSwissprot(br);
while (seqIter.hasNext()) {
Sequence sequence = seqIter.nextSequence();
Annotation seqAn = sequence.getAnnotation();
Set set = seqAn.keys();