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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file repmsa-0.1.6.tar.gz.

File metadata

  • Download URL: repmsa-0.1.6.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.6

File hashes

Hashes for repmsa-0.1.6.tar.gz
Algorithm Hash digest
SHA256 036026e40e94022d546b56f436e53c9238111f86bc277a6cf81a1b2f6a7813df
MD5 18fc97a4632ad09e20f815e06b46fb2b
BLAKE2b-256 75ebf2547d4149df94cd5e28fa43434b46da24e234b7ba2b954c6576a1346658

See more details on using hashes here.

File details

Details for the file repmsa-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: repmsa-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.6

File hashes

Hashes for repmsa-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d468609d6d75cf31f352998eb8ebd4870c0e443ff36abc2cb57120238d27ae00
MD5 d24dc59d8f83bf15a1cdb388f470c71f
BLAKE2b-256 35da1f9aa1bec6801efa022222b3e1ed5d2f1309f4d1c46d8ae864c7efc12315

See more details on using hashes here.

Supported by

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