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.2.7.tar.gz
(15.9 kB
view hashes)
Built Distribution
fastasplit-1.2.7-py3-none-any.whl
(16.3 kB
view hashes)
Close
Hashes for fastasplit-1.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7da5a10a4676d73c1b22952289c198d9c5ebd9644b05943948a016955b7a19 |
|
MD5 | c07ec6819c743d362e154841574e0534 |
|
BLAKE2b-256 | 2d6c37d01bc23a4dbbfb362cc618ce2694986d6c4629459630bc599bb27bf9e8 |