Skip to main content

Finding the representetive seq in MSA

Project description

Table of Contents

What is repmsa?

Creating a percentage identity matrix from a multiple sequence alignment and then ranking them to select the best sequence representetive in the Multiple Sequence Alignment. repmsa ranks the sequences based on highest identity.

Installation

pip install repmsa

Usage

from repmsa import RankMatrix
var = RankMatrix(msa_file)
print(var.dm) #prints the distance matrix
df #prints the distance matrix in data frame.
var.id_iter #is the iterator from highest ranked to lowest rank.
var.ranked #returns the ranked list in a listed tuple.
var.topids() # returns the id of the highest ranked sequence, each time its called it moves the next highest one.
var.seq_by_id('QIQ56215.1') # returns the sequence by the id that is provided.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repmsa-0.1.6.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

repmsa-0.1.6-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page