Skip to main content

To extract some sites from a multiple sequence alignment. By Guanliang MENG, go to for more details.

Project description


1 Introduction

extract_specific_sites_from_msa is a tool to extract some sites (or codon) from a multiple sequence alignment.

2 Installation

pip install extract_specific_sites_from_msa

There will be a command extract_specific_sites_from_msa created under the same directory as your pip command.

3 Usage

usage: extract_specific_sites_from_msa [-h] [-infile <file>]
                                       [-format {fasta,emboss,stockholm,phylip,phylip-relaxed,clustal}]
                                       [-outformat {fasta,emboss,stockholm,phylip,phylip-relaxed,clustal}]
                                       [-outfile <file>] [-config <file>]
                                       [-codon <int>]

To extract some sites (or codon) from a multiple sequence alignment. By
Guanliang MENG, go to for more

optional arguments:
  -h, --help            show this help message and exit
  -infile <file>        input multiple sequence alignment file
  -format {fasta,emboss,stockholm,phylip,phylip-relaxed,clustal}
                        input file format [phylip-relaxed]
  -outformat {fasta,emboss,stockholm,phylip,phylip-relaxed,clustal}
                        output file format [fasta]
  -outfile <file>       outfile
  -config <file>        a file containing the sites to be extracted (1 left-
                        based). do not support 2-5, you should write 2 3 4 5
                        instead, the site numbers in config can be on one line
                        or multiple lines.
  -codon <int>          codon site to be extracted [2]


Guanliang MENG


Currently I have no plan to publish extract_specific_sites_from_msa.

However, since extract_specific_sites_from_msa makes use of Biopython, you should cite it if you use msaconverter in your work:

Peter J. A. Cock, Tiago Antao, Jeffrey T. Chang, Brad A. Chapman, Cymon J. Cox, Andrew Dalke, Iddo Friedberg, Thomas Hamelryck, Frank Kauff, Bartek Wilczynski, Michiel J. L. de Hoon: “Biopython: freely available Python tools for computational molecular biology and bioinformatics”. Bioinformatics 25 (11), 1422–1423 (2009).

Please go to for more details.

Project details

Download files

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

Files for extract-specific-sites-from-msa, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size extract_specific_sites_from_msa-0.0.2.tar.gz (16.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page