To create a genomic sequence, you use the Bio.Sequence class. These are read-only, in-memory arrays of data which an associated alphabet.

Sequence sequence = new Sequence(Alphabets.DNA, "AGCGTCCATG");

There are different sequence implementations available, and the sequence concept is abstracted through an interface ISequence which should be used when passing sequences around.

Go Back

Last edited May 22, 2014 at 2:31 PM by markjulmar, version 2

Comments

No comments yet.