Calculate various summary statistics on a multiple sequence alignment
Project description
# AMAS
Calculate various summary statistics on a multiple sequence alignment
## Usage
AMAS can be run from the command line:
```shell
python AMAS.py <input_file> <format> <alphabet>
```
The supported formats are `fasta`, `phylip`, `nexus`, `phylip-int`, and `nexus-int`. The alphabets are `aa` or `dna`.
Also, AMAS can be imported from other Python modules:
```python
>>> from amas import AMAS
>>> in_file = 'fasta1.fas'
>>> in_format = 'fasta'
>>> data_type = 'dna'
>>> aln = AMAS.DNAAlignment(in_file, in_format, data_type)
>>> aln.summarize_alignment()
['fasta1.fas', '10', '100', '1000', '1', '0.1', '2', '0.02', '1', '0.01']
```
Calculate various summary statistics on a multiple sequence alignment
## Usage
AMAS can be run from the command line:
```shell
python AMAS.py <input_file> <format> <alphabet>
```
The supported formats are `fasta`, `phylip`, `nexus`, `phylip-int`, and `nexus-int`. The alphabets are `aa` or `dna`.
Also, AMAS can be imported from other Python modules:
```python
>>> from amas import AMAS
>>> in_file = 'fasta1.fas'
>>> in_format = 'fasta'
>>> data_type = 'dna'
>>> aln = AMAS.DNAAlignment(in_file, in_format, data_type)
>>> aln.summarize_alignment()
['fasta1.fas', '10', '100', '1000', '1', '0.1', '2', '0.02', '1', '0.01']
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
amas-0.2.tar.gz
(6.1 kB
view details)
File details
Details for the file amas-0.2.tar.gz.
File metadata
- Download URL: amas-0.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55a1e8b82c9c5d6fc519f7b3b067f85afe97e202f39589c5c3aeba2e0d5eabf3
|
|
| MD5 |
52573be2e2d706aea55a65e1fb875a16
|
|
| BLAKE2b-256 |
feab6f1ebb9f04c9fa2d96fe135accd33dd8faaf92476a9e291979e09f221186
|