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
Changelog
[1.0.0] - 2023-06-??
Added
- Ability to split fasta files into n number of files
[1.1.0] - 2023-06-??
Added
- Ability to split fasta files by number of sequences
[1.2.0] - 2023-06-??
Added
- Ability to split each sequence in fasta file to separate file
[1.2.2] - 2023-07-??
Fixed
- Formatting errors
Added
- Checks for large numbers of output files
[1.2.6] - 2023-07-08
Changed
- breaking: Now installs with pip
[1.2.7] - 2023-07-10
Added
- Documentation for pypi
[1.2.8] - 2023-07-10
Changed
- Formatting in source
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.8.tar.gz
(16.7 kB
view hashes)
Built Distribution
fastasplit-1.2.8-py3-none-any.whl
(16.9 kB
view hashes)
Close
Hashes for fastasplit-1.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7616e51579adde95aab33ede420d4e98f3f0ce2c4331e2ec07127e6c161cdd5 |
|
MD5 | 268cabb8f3074d6820494291984620f7 |
|
BLAKE2b-256 | 77a737fdcf77ae76c4acd42db2e20aef3fc228fdd0a071c1e228ff58defb4843 |