Module 9

TSV / CSV biological data

Tabular data in bioinformatics.

Tables of data

Not all biological data is sequences. Much of it is tabular: gene names, lengths, expression values. TSV (tab-separated) and CSV (comma-separated) are common formats.

Python
line = "Tv01\t499\t54.2"
parts = line.split("\t")
print(parts)
['Tv01', '499', '54.2']
Your task

Parse TSV

  • Split 'Tv01\t499\t54.2' on tab and print the parts.