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.
You can install this program using pip with:
pip install fasta-manager
--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.
Example 1: Remove duplicates and generate statistics
fasta --dremove --statsExample 2: Reverse complement sequences and generate plots
fasta --rc --plotsExample 3: Perform case transformation
fasta --casefile upperYou can also combine parameters where order doesn't matter.
fasta --stats --plots --casefile lower --drenameThe 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
The input files are expected to follow the format:
>ID
Sequencetest_1.fasta
>S1
actgACTG
>S2
ctgaCTGA
>S3
gggaGGGA