# 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.
<p align="center">
<img src="https://github.com/santipvz/FASTA-manager/actions/workflows/pylint.yml/badge.svg/" alt="Tests">
<img src="https://img.shields.io/badge/Version-1.2-blue/" alt="Static Badge">
</p>
# Installation
You can install this program using pip with: **<pre><code>pip install fasta-manager</pre></code>**
# 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
<pre><code>fasta --dremove --stats</pre></code>
Example 2: Reverse complement sequences and generate plots
<pre><code>fasta --rc --plots</pre></code>
Example 3: Perform case transformation
<pre><code>fasta --casefile upper</pre></code>
You can also combine parameters where order doesn't matter.
<pre><code>fasta --stats --plots --casefile lower --drename</pre></code>
# 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:
<pre><code>>ID
Sequence</pre></code>
## Example
`test_1.fasta`
<pre><code>>S1
actgACTG
>S2
ctgaCTGA
>S3
gggaGGGA
</pre></code>
Raw data
{
"_id": null,
"home_page": "https://github.com/santipvz/FASTA-manager",
"name": "fasta-manager",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "santipvz",
"author_email": "santivzqzz@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/1f/96/1198792ebbbd8c01dc9cdee24f2fed9b0e85bdb662b36e8cc859188cf86b/fasta_manager-1.3.2.tar.gz",
"platform": null,
"description": "# FASTA manager\r\n\r\nThe 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.\r\n\r\n\r\n<p align=\"center\">\r\n <img src=\"https://github.com/santipvz/FASTA-manager/actions/workflows/pylint.yml/badge.svg/\" alt=\"Tests\">\r\n <img src=\"https://img.shields.io/badge/Version-1.2-blue/\" alt=\"Static Badge\">\r\n \r\n</p>\r\n\r\n\r\n# Installation\r\nYou can install this program using pip with: **<pre><code>pip install fasta-manager</pre></code>**\r\n# Command Line Arguments\r\n--`dremove`: Remove duplicate sequences.\r\n\r\n--`drename`: Rename duplicate sequences.\r\n\r\n--`reverse`: Reverse sequences.\r\n\r\n--`complement`: Complement sequences.\r\n\r\n--`rc`: Reverse complement sequences.\r\n\r\n--`stats`: Compute statistics.\r\n\r\n--`casefile`: Case transformation (original, upper, lower).\r\n\r\n--`plots`: Generate plots.\r\n\r\n# Examples\r\nExample 1: Remove duplicates and generate statistics\r\n<pre><code>fasta --dremove --stats</pre></code>\r\n\r\nExample 2: Reverse complement sequences and generate plots\r\n<pre><code>fasta --rc --plots</pre></code>\r\n\r\nExample 3: Perform case transformation\r\n<pre><code>fasta --casefile upper</pre></code>\r\n\r\nYou can also combine parameters where order doesn't matter.\r\n<pre><code>fasta --stats --plots --casefile lower --drename</pre></code>\r\n\r\n# Results\r\nThe 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\r\n\r\n# Input File Format\r\nThe input files are expected to follow the format:\r\n\r\n<pre><code>>ID\r\nSequence</pre></code>\r\n\r\n## Example\r\n`test_1.fasta`\r\n<pre><code>>S1\r\nactgACTG\r\n>S2\r\nctgaCTGA\r\n>S3\r\ngggaGGGA\r\n</pre></code>\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Manage your fasta files",
"version": "1.3.2",
"project_urls": {
"Bug Tracker": "https://github.com/santipvz/FASTA-manager/issues",
"Homepage": "https://github.com/santipvz/FASTA-manager"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e15d2127dbf4243bc0c14ec77e03891a1fd6f4ef16362c34d60a1f9d3f6ce112",
"md5": "bf0b01bae2d4a9f5f2d7fc713695bc1b",
"sha256": "6c729eb7b749ed092d6e24fc545888a8f6be02aaffff99664f836e53d6791e50"
},
"downloads": -1,
"filename": "fasta_manager-1.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bf0b01bae2d4a9f5f2d7fc713695bc1b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 10267,
"upload_time": "2024-05-21T22:19:06",
"upload_time_iso_8601": "2024-05-21T22:19:06.544722Z",
"url": "https://files.pythonhosted.org/packages/e1/5d/2127dbf4243bc0c14ec77e03891a1fd6f4ef16362c34d60a1f9d3f6ce112/fasta_manager-1.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1f961198792ebbbd8c01dc9cdee24f2fed9b0e85bdb662b36e8cc859188cf86b",
"md5": "a769fda1f316e0a76a42e25e71a0d19c",
"sha256": "516b47342aaca5316f23930347e65cdefc47b1b28b2e8ede931c3b6587755caa"
},
"downloads": -1,
"filename": "fasta_manager-1.3.2.tar.gz",
"has_sig": false,
"md5_digest": "a769fda1f316e0a76a42e25e71a0d19c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 7326,
"upload_time": "2024-05-21T22:19:08",
"upload_time_iso_8601": "2024-05-21T22:19:08.099069Z",
"url": "https://files.pythonhosted.org/packages/1f/96/1198792ebbbd8c01dc9cdee24f2fed9b0e85bdb662b36e8cc859188cf86b/fasta_manager-1.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-21 22:19:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "santipvz",
"github_project": "FASTA-manager",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "fasta-manager"
}