Skip to main content

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.

Tests Static Badge

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

fasta_manager-1.3.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

fasta_manager-1.3.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

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

Hashes for fasta_manager-1.3.2.tar.gz
Algorithm Hash digest
SHA256 516b47342aaca5316f23930347e65cdefc47b1b28b2e8ede931c3b6587755caa
MD5 a769fda1f316e0a76a42e25e71a0d19c
BLAKE2b-256 1f961198792ebbbd8c01dc9cdee24f2fed9b0e85bdb662b36e8cc859188cf86b

See more details on using hashes here.

File details

Details for the file fasta_manager-1.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fasta_manager-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6c729eb7b749ed092d6e24fc545888a8f6be02aaffff99664f836e53d6791e50
MD5 bf0b01bae2d4a9f5f2d7fc713695bc1b
BLAKE2b-256 e15d2127dbf4243bc0c14ec77e03891a1fd6f4ef16362c34d60a1f9d3f6ce112

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page