-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new flag --compress-level to set compression level. #320 . suppor…
…t bzip2 #361
- Loading branch information
1 parent
d1e0ea2
commit 4081f4d
Showing
8 changed files
with
100 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -156,7 +156,7 @@ reproduced in different environments with same random seed. | |
``` text | ||
SeqKit -- a cross-platform and ultrafast toolkit for FASTA/Q file manipulation | ||
Version: 2.3.0 | ||
Version: 2.4.0 | ||
Author: Wei Shen <[email protected]> | ||
|
@@ -172,6 +172,16 @@ larger than files generated by GNU gzip. | |
Seqkit writes gzip files very fast, much faster than the multi-threaded pigz, | ||
therefore there's no need to pipe the result to gzip/pigz. | ||
Seqkit also supports reading and writing xz (.xz) and zstd (.zst) formats since v2.2.0. | ||
Bzip2 format is supported since v2.4.0. | ||
Compression level: | ||
format range default comment | ||
gzip 1-9 5 https://github.com/klauspost/pgzip sets 5 as the default value. | ||
xz NA NA https://github.com/ulikunitz/xz does not support. | ||
zstd 1-4 2 roughly equals to zstd 1, 3, 7, 11, respectively. | ||
bzip 1-9 6 https://github.com/dsnet/compress | ||
Usage: | ||
seqkit [command] | ||
|
@@ -202,7 +212,7 @@ Available Commands: | |
sample sample sequences by number or proportion | ||
sana sanitize broken single line FASTQ files | ||
scat real time recursive concatenation and streaming of fastx files | ||
seq transform sequences (extract ID, filter by length, remove gaps...) | ||
seq transform sequences (extract ID, filter by length, remove gaps, reverse complement...) | ||
shuffle shuffle sequences | ||
sliding extract subsequences in sliding windows | ||
sort sort sequences by id/name/sequence/length | ||
|
@@ -218,11 +228,12 @@ Available Commands: | |
Flags: | ||
--alphabet-guess-seq-length int length of sequence prefix of the first FASTA record based on which seqkit guesses the sequence type (0 for whole seq) (default 10000) | ||
--compress-level int compression level for gzip, zstd, xz and bzip2. type "seqkit -h" for the range and default value for each format (default -1) | ||
-h, --help help for seqkit | ||
--id-ncbi FASTA head is NCBI-style, e.g. >gi|110645304|ref|NC_002516.2| Pseud... | ||
--id-regexp string regular expression for parsing ID (default "^(\\S+)\\s?") | ||
--infile-list string file of input files list (one file per line), if given, they are appended to files from cli arguments | ||
-w, --line-width int line width when outputing FASTA format (0 for no wrap) (default 60) | ||
-w, --line-width int line width when outputting FASTA format (0 for no wrap) (default 60) | ||
-o, --out-file string out file ("-" for stdout, suffix .gz for gzipped out) (default "-") | ||
--quiet be quiet and do not show extra information | ||
-t, --seq-type string sequence type (dna|rna|protein|unlimit|auto) (for auto, it automatically detect by the first sequence) (default "auto") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters