Skip to main content

Split fasta files

Project description

fastasplit

Split fasta files

Josh Tompkin, 2023

Installation and usage

Install with pip:

    pip3 install fastasplit

Usage:

    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:

    fastasplit -n 20 sequences.fa

Split a fasta file named 'sequences.fa' into files with 10 sequences each:

    fastasplit -n 10 -s sequences.fa

Split each sequence in 'sequences.fa' into a separate file:

    fastasplit -e sequences.fa

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

fastasplit-1.3.1.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

fastasplit-1.3.1-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file fastasplit-1.3.1.tar.gz.

File metadata

  • Download URL: fastasplit-1.3.1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for fastasplit-1.3.1.tar.gz
Algorithm Hash digest
SHA256 c08fe046c84f72f58b59e5e6a7e84aea1a59ec7d8098b1ec6a0174cc6e51bd68
MD5 c3aa2bfe593990fe8bd9c7141c8b2df3
BLAKE2b-256 abc1b2215aded5226891e1145238df2b0d7aaf3e33ea54d1c0c776fd143d2f4f

See more details on using hashes here.

File details

Details for the file fastasplit-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: fastasplit-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for fastasplit-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ef73c622de85974fdee8ac03282878af671275370ba40a10a173d841e4461b2
MD5 0cdfb770c0e97af4cb2bb4fd783c44eb
BLAKE2b-256 602d4f10b9cbfb2696113286a344bd0e39191e4c0762b32811a6b4db3bafc1c0

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