项目作者: santiagosnchez

项目描述 :
Generates a codon-based alignment from an amino acid alignment and CDS sequences
高级语言: Python
项目地址: git://github.com/santiagosnchez/CodonAlign.git
创建时间: 2018-11-30T18:52:17Z
项目社区:https://github.com/santiagosnchez/CodonAlign

开源协议:GNU General Public License v3.0

下载


CodonAlign

Generates a codon-based alignment from an amino acid alignment and CDS sequences

Description

This simple tool takes an amino acid alignment and converts it to a codon alignment,
provided a list of in-frame CDS sequences that translate to the aligned amino acids.

Dependencies

It depends on Biopython libraries: AlignIO, SeqIO, Alphabet, and codonalign.
Installation of Biopython can be done through pip:

  1. # for a system-wide install
  2. pip install biopython
  3. # or for a local install
  4. pip install --user biopython

Installation

  1. git clone https://github.com/santiagosnchez/CodonAlign.git
  2. # or
  3. wget https://raw.githubusercontent.com/santiagosnchez/CodonAlign/master/CodonAlign.py

Running the code:

For the help message type:

  1. python CodonAlign.py -h

An example would be:

  1. python CodonAlign.py -p prot.aln.fas -c cds.fas -o cds.aln.fas

This example will save the output to a file and print a message to the screen.
Please note that codonalign is currently printing a warning to STDERR. This message can be avoided by using the -s or --stdout option:

  1. python CodonAlign.py -p prot.aln.fas -c cds.fas -s 2> /dev/null 1> cds.aln.fas