Manage your fasta files
Project description
FASTA manager
The FASTA Manager is a versatile command-line tool designed to assist in the management and analysis of DNA or protein sequences stored in FASTA format. This tool provides functionalities for formatting, transforming, and generating statistics or plots from sequence data.
Installation
You can install this program using pip with:
pip install fasta-manager
Command Line Arguments
--dremove
: Remove duplicate sequences.
--drename
: Rename duplicate sequences.
--reverse
: Reverse sequences.
--complement
: Complement sequences.
--rc
: Reverse complement sequences.
--stats
: Compute statistics.
--casefile
: Case transformation (original, upper, lower).
--plots
: Generate plots.
Examples
Example 1: Remove duplicates and generate statistics
fasta --dremove --stats
Example 2: Reverse complement sequences and generate plots
fasta --rc --plots
Example 3: Perform case transformation
fasta --casefile upper
You can also combine parameters where order doesn't matter.
fasta --stats --plots --casefile lower --drename
Results
The processed sequences will be stored in the results
directory, and statistics will be saved in the stats
directory. Plots will be saved in the plots
directory
Input File Format
The input files are expected to follow the format:
>ID
Sequence
Example
test_1.fasta
>S1
actgACTG
>S2
ctgaCTGA
>S3
gggaGGGA
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
Built Distribution
File details
Details for the file fasta_manager-1.3.2.tar.gz
.
File metadata
- Download URL: fasta_manager-1.3.2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 516b47342aaca5316f23930347e65cdefc47b1b28b2e8ede931c3b6587755caa |
|
MD5 | a769fda1f316e0a76a42e25e71a0d19c |
|
BLAKE2b-256 | 1f961198792ebbbd8c01dc9cdee24f2fed9b0e85bdb662b36e8cc859188cf86b |
File details
Details for the file fasta_manager-1.3.2-py3-none-any.whl
.
File metadata
- Download URL: fasta_manager-1.3.2-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c729eb7b749ed092d6e24fc545888a8f6be02aaffff99664f836e53d6791e50 |
|
MD5 | bf0b01bae2d4a9f5f2d7fc713695bc1b |
|
BLAKE2b-256 | e15d2127dbf4243bc0c14ec77e03891a1fd6f4ef16362c34d60a1f9d3f6ce112 |