Is there any way I can calculate pairwise distance matrix in python (not biopython) from a file containing 3 rows as:

ACCGGT-TAACA
ACCGT--AACCG
ACCGTGCCTAG

Why not biopython? Remember I won't guess this is some homework assignment where you're not allowed to use python modules and are expected to reinvent the wheel.

Also, skbio is not biopython.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.