Module 9

Headers

Reading the information before the sequence.

The information line

The header line contains an identifier and often a description. It always starts with >.

Python
header = ">Tv01 Sample organism"
print(header[1:])
Tv01 Sample organism
Your task

Extract header

  • Extract the header from a FASTA record.