# fastasplit
Split fasta files
Josh Tompkin, 2023
## Installation and usage
Install with pip:
```bash
pip3 install fastasplit
```
Usage:
```bash
fastasplit [-h] [--version] [-d dir] [-p prefix] [-e] [-f] -n int [-s] [-q] [-v] fasta
```
Specify number of files with `-n <int>`, numer of sequences per file with `-n <int> -s`, or put every sequence into its own file with `-e`. Run with `-h` to print help.
## Examples
Split a fasta file named 'sequences.fa' into 20 fasta files with equal number of sequences in each:
```bash
fastasplit -n 20 sequences.fa
```
Split a fasta file named 'sequences.fa' into files with 10 sequences each:
```bash
fastasplit -n 10 -s sequences.fa
```
Split each sequence in 'sequences.fa' into a separate file:
```bash
fastasplit -e sequences.fa
```
Raw data
{
"_id": null,
"home_page": "https://github.com/jtompkin/fastasplit",
"name": "fastasplit",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Josh Tompkin",
"author_email": "tompkinjo@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ab/c1/b2215aded5226891e1145238df2b0d7aaf3e33ea54d1c0c776fd143d2f4f/fastasplit-1.3.1.tar.gz",
"platform": null,
"description": "# fastasplit\nSplit fasta files\n\nJosh Tompkin, 2023\n\n## Installation and usage\n\nInstall with pip:\n```bash\n pip3 install fastasplit\n```\n\nUsage:\n```bash\n fastasplit [-h] [--version] [-d dir] [-p prefix] [-e] [-f] -n int [-s] [-q] [-v] fasta\n```\n\nSpecify number of files with `-n <int>`, numer of sequences per file with `-n <int> -s`, or put every sequence into its own file with `-e`. Run with `-h` to print help.\n\n## Examples\n\nSplit a fasta file named 'sequences.fa' into 20 fasta files with equal number of sequences in each:\n```bash\n fastasplit -n 20 sequences.fa\n```\nSplit a fasta file named 'sequences.fa' into files with 10 sequences each:\n```bash\n fastasplit -n 10 -s sequences.fa\n```\nSplit each sequence in 'sequences.fa' into a separate file:\n```bash\n fastasplit -e sequences.fa\n```\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "Split fasta files",
"version": "1.3.1",
"project_urls": {
"Changelog": "https://github.com/jtompkin/fastasplit/blob/main/CHANGELOG.md",
"Homepage": "https://github.com/jtompkin/fastasplit"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "602d4f10b9cbfb2696113286a344bd0e39191e4c0762b32811a6b4db3bafc1c0",
"md5": "0cdfb770c0e97af4cb2bb4fd783c44eb",
"sha256": "1ef73c622de85974fdee8ac03282878af671275370ba40a10a173d841e4461b2"
},
"downloads": -1,
"filename": "fastasplit-1.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0cdfb770c0e97af4cb2bb4fd783c44eb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 17294,
"upload_time": "2023-09-09T04:35:11",
"upload_time_iso_8601": "2023-09-09T04:35:11.531865Z",
"url": "https://files.pythonhosted.org/packages/60/2d/4f10b9cbfb2696113286a344bd0e39191e4c0762b32811a6b4db3bafc1c0/fastasplit-1.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "abc1b2215aded5226891e1145238df2b0d7aaf3e33ea54d1c0c776fd143d2f4f",
"md5": "c3aa2bfe593990fe8bd9c7141c8b2df3",
"sha256": "c08fe046c84f72f58b59e5e6a7e84aea1a59ec7d8098b1ec6a0174cc6e51bd68"
},
"downloads": -1,
"filename": "fastasplit-1.3.1.tar.gz",
"has_sig": false,
"md5_digest": "c3aa2bfe593990fe8bd9c7141c8b2df3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 17055,
"upload_time": "2023-09-09T04:35:12",
"upload_time_iso_8601": "2023-09-09T04:35:12.994510Z",
"url": "https://files.pythonhosted.org/packages/ab/c1/b2215aded5226891e1145238df2b0d7aaf3e33ea54d1c0c776fd143d2f4f/fastasplit-1.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-09 04:35:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jtompkin",
"github_project": "fastasplit",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "fastasplit"
}