Seq
(Difference between revisions)
m |
m (Link to tutorial HTML and PDF) |
||
| Line 1: | Line 1: | ||
| − | In Biopython, sequences are usually held as Seq objects, which hold the sequence string and an associated alphabet. | + | In Biopython, sequences are usually held as Seq objects, which hold the sequence string and an associated alphabet. There is a whole chapter in the [http://biopython.org/DIST/docs/tutorial/Tutorial.html Tutorial] ([http://biopython.org/DIST/docs/tutorial/Tutorial.pdf PDF]) on the Seq object. |
| − | + | ||
| − | There is a whole chapter in the [http://biopython.org/DIST/docs/tutorial/Tutorial.html Tutorial] on the Seq object. | + | |
If you need to store additional information like a sequence identifer or name, or even more details like a description or annotation, then we use a [[SeqRecord]] object instead. These are the sequence records used by the [[SeqIO]] module for reading and writing sequence files. | If you need to store additional information like a sequence identifer or name, or even more details like a description or annotation, then we use a [[SeqRecord]] object instead. These are the sequence records used by the [[SeqIO]] module for reading and writing sequence files. | ||
Revision as of 17:19, 19 March 2009
In Biopython, sequences are usually held as Seq objects, which hold the sequence string and an associated alphabet. There is a whole chapter in the Tutorial (PDF) on the Seq object.
If you need to store additional information like a sequence identifer or name, or even more details like a description or annotation, then we use a SeqRecord object instead. These are the sequence records used by the SeqIO module for reading and writing sequence files.