Consensus_and_Profile_Matrix

A script written in Python that returns a consensus string and profile matrix of a given DNA string(s) in FASTA format.

How to use

Open the file and rename the “cons.fasta” to your input DNA strings FASTA file. OR Rename your file to cons.fasta and place it beside the script.

Output

The code will return the consensus string and save the profile matrix to a csv file.

This script was written to solve a problem on rosalind.info: https://rosalind.info/problems/cons/

GitHub

View Github