Hey,
you are probably looking for a StringSet.
This data structure simply stores a set of strings. You’ll need two of them for the ids and the sequences.
There is already functionality that directly reads a fasta file and stores the information in the StringSets.
You can read this tutorial to look into loading sequence files using StringSets.
There you’ll also find links to the documentation of the StringSet.
Note that this is the current develop version.
As we will have a release coming very soon this might be the thing to look at.
cheers,
René
---
René Rahn
Ph.D. Student
--------------------------------
Institute of Computer Science
Algorithmic Bioinformatics (ABI)
--------------------------------
Freie Universität Berlin
Takustraße 9
14195 Berlin
--------------------------------
|