Skip to content

Commit ac3fcda

Browse files
committed
v2.13.0
1 parent ab69c5e commit ac3fcda

5 files changed

Lines changed: 348 additions & 106 deletions

File tree

download/index.html

Lines changed: 81 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -627,25 +627,38 @@ <h1 id="download">Download</h1>
627627
<p>Wei Shen*, Botond Sipos, and Liuyang Zhao. 2024. SeqKit2: A Swiss Army Knife for Sequence and Alignment Processing. <strong><em>iMeta</em></strong> e191. <a href="https://doi.org/10.1002/imt2.191">doi:10.1002/imt2.191</a>.
628628
<span class="__dimensions_badge_embed__" data-doi="10.1002/imt2.191" data-style="small_rectangle"></span></p>
629629
<h2 id="current-version">Current Version</h2>
630+
<p><strong>SeqKit is 10 years old!</strong></p>
630631
<ul>
631-
<li><a href="https://github.com/shenwei356/seqkit/releases/tag/v2.11.0">SeqKit v2.11.0</a> - 2025-11-20
632-
<a href="https://github.com/shenwei356/seqkit/releases/tag/v2.11.0"><img alt="Github Releases (by Release)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/v2.11.0/total.svg" /></a><ul>
633-
<li><code>seqkit</code>:<ul>
634-
<li><strong>fix reading records with both empty id and sequence</strong>. <a href="https://github.com/shenwei356/seqkit/issues/550">#550</a></li>
635-
<li>check if the output file name equals to one of the input files. <a href="https://github.com/shenwei356/seqkit/issues/541">#541</a></li>
632+
<li><a href="https://github.com/shenwei356/seqkit/releases/tag/v2.13.0">SeqKit v2.13.0</a> - 2026-02-28
633+
<a href="https://github.com/shenwei356/seqkit/releases/tag/v2.13.0"><img alt="Github Releases (by Release)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/v2.13.0/total.svg" /></a><ul>
634+
<li><code>seqkit</code>: add support for reading and writing LZ4 compression format.</li>
635+
<li><strong>new command: <code>seqkit sample2</code></strong>: improved <code>seqkit sample</code> by <a href="https://github.com/stahiga">@stahiga</a>. <a href="https://github.com/shenwei356/seqkit/pull/566">#566</a>, <a href="https://github.com/shenwei356/seqkit/issues/386">#386</a></li>
636+
<li><code>seqkit seq</code>:<ul>
637+
<li>add flags to specify sequences to operate/transform. <a href="https://github.com/shenwei356/seqkit/issues/568">#568</a></li>
636638
</ul>
637639
</li>
638-
<li><code>seqkit split2</code>:<ul>
639-
<li>add a new flag <code>-N, --seqid-as-filename</code> to use the first sequence ID as the file name.
640-
E.g., using <code>-N -s 1</code> is equal to <code>seqkit split --by-id</code>, but it's much faster and uses less memory.</li>
640+
<li><code>seqkit shuffle</code>:<ul>
641+
<li>add a new option <code>--tmp-dir</code>, which can specify tmp dir for FASTA records from stdin or compressed FASTA files. <a href="https://github.com/shenwei356/seqkit/issues/562">#562</a></li>
641642
</ul>
642643
</li>
643-
<li><code>seqkit head</code>:<ul>
644-
<li>add a new flag <code>-l, --length</code> to print heading FASTA/Q records with total sequence length &gt;= N, e.g., <code>-l 2G</code>.</li>
644+
<li><code>seqkit shuffle/sample</code>:<ul>
645+
<li>add a new flag <code>-r/--non-deterministic</code>, which uses a time-based seed to <strong>generate non-deterministic (truly random) results</strong>. <a href="https://github.com/shenwei356/seqkit/issues/565">#565</a></li>
645646
</ul>
646647
</li>
647-
<li><code>seqkit replace</code>:<ul>
648-
<li>add a new replacement symbol <code>{uuid}</code> for random UUID. <a href="https://github.com/shenwei356/seqkit/issues/552">#552</a></li>
648+
<li><code>seqkit restart</code>:<ul>
649+
<li><strong>support specifying the starting sequence of circular genomes</strong>.</li>
650+
</ul>
651+
</li>
652+
<li><code>seqkit split/split2</code>:<ul>
653+
<li>add a new option <code>-P/--out-prefix</code> to override <code>--by-*-prefix</code>, for simplifying output prefix setting. <a href="https://github.com/shenwei356/seqkit/issues/563">#563</a></li>
654+
</ul>
655+
</li>
656+
<li><code>seqkit bam</code>:<ul>
657+
<li>fix a bug <a href="https://github.com/shenwei356/seqkit/issues/200">#200</a> by @botond-sipos.</li>
658+
</ul>
659+
</li>
660+
<li><code>seqkit stats</code>:<ul>
661+
<li>fix detecting file format type for FASTQ records with empty sequences. <a href="https://github.com/shenwei356/seqkit/issues/569">#569</a></li>
649662
</ul>
650663
</li>
651664
</ul>
@@ -665,38 +678,38 @@ <h3 id="links">Links</h3>
665678
<tr>
666679
<td style="text-align: left;">Linux</td>
667680
<td style="text-align: left;">64-bit</td>
668-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_linux_amd64.tar.gz">seqkit_linux_amd64.tar.gz</a></td>
669-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_linux_amd64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_linux_amd64.tar.gz.svg?maxAge=3600" /></a></td>
681+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_linux_amd64.tar.gz">seqkit_linux_amd64.tar.gz</a></td>
682+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_linux_amd64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_linux_amd64.tar.gz.svg?maxAge=3600" /></a></td>
670683
</tr>
671684
<tr>
672685
<td style="text-align: left;">Linux</td>
673686
<td style="text-align: left;">arm64</td>
674-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_linux_arm64.tar.gz">seqkit_linux_arm64.tar.gz</a></td>
675-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_linux_arm64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_linux_arm64.tar.gz.svg?maxAge=3600" /></a></td>
687+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_linux_arm64.tar.gz">seqkit_linux_arm64.tar.gz</a></td>
688+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_linux_arm64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_linux_arm64.tar.gz.svg?maxAge=3600" /></a></td>
676689
</tr>
677690
<tr>
678691
<td style="text-align: left;">macOS</td>
679692
<td style="text-align: left;">64-bit</td>
680-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_darwin_amd64.tar.gz">seqkit_darwin_amd64.tar.gz</a></td>
681-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_darwin_amd64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_darwin_amd64.tar.gz.svg?maxAge=3600" /></a></td>
693+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_darwin_amd64.tar.gz">seqkit_darwin_amd64.tar.gz</a></td>
694+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_darwin_amd64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_darwin_amd64.tar.gz.svg?maxAge=3600" /></a></td>
682695
</tr>
683696
<tr>
684697
<td style="text-align: left;">macOS</td>
685698
<td style="text-align: left;">arm64</td>
686-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_darwin_arm64.tar.gz">seqkit_darwin_arm64.tar.gz</a></td>
687-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_darwin_arm64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_darwin_arm64.tar.gz.svg?maxAge=3600" /></a></td>
699+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_darwin_arm64.tar.gz">seqkit_darwin_arm64.tar.gz</a></td>
700+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_darwin_arm64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_darwin_arm64.tar.gz.svg?maxAge=3600" /></a></td>
688701
</tr>
689702
<tr>
690703
<td style="text-align: left;">Windows</td>
691704
<td style="text-align: left;">64-bit</td>
692-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_windows_amd64.exe.tar.gz">seqkit_windows_amd64.exe.tar.gz</a></td>
693-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_windows_amd64.exe.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_windows_amd64.exe.tar.gz.svg?maxAge=3600" /></a></td>
705+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_windows_amd64.exe.tar.gz">seqkit_windows_amd64.exe.tar.gz</a></td>
706+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_windows_amd64.exe.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_windows_amd64.exe.tar.gz.svg?maxAge=3600" /></a></td>
694707
</tr>
695708
<tr>
696709
<td style="text-align: left;">FreeBSD</td>
697710
<td style="text-align: left;">64-bit</td>
698-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_freebsd_amd64.tar.gz">seqkit_freebsd_amd64.tar.gz</a></td>
699-
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.11.0/seqkit_freebsd_amd64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_freebsd_amd64.tar.gz.svg?maxAge=3600" /></a></td>
711+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_freebsd_amd64.tar.gz">seqkit_freebsd_amd64.tar.gz</a></td>
712+
<td style="text-align: left;"><a href="https://github.com/shenwei356/seqkit/releases/download/v2.13.0/seqkit_freebsd_amd64.tar.gz"><img alt="Github Releases (by Asset)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/latest/seqkit_freebsd_amd64.tar.gz.svg?maxAge=3600" /></a></td>
700713
</tr>
701714
</tbody>
702715
</table>
@@ -756,9 +769,9 @@ <h4 id="method-6-compiling-from-source-latest-stabledev-version">Method 6: Compi
756769
<pre><code># ------------------- install golang -----------------
757770

758771
# download Go from https://go.dev/dl
759-
wget https://go.dev/dl/go1.25.4.linux-amd64.tar.gz
772+
wget https://go.dev/dl/go1.25.5.linux-amd64.tar.gz
760773

761-
tar -zxf go1.25.4.linux-amd64.tar.gz -C $HOME/
774+
tar -zxf go1.25.5.linux-amd64.tar.gz -C $HOME/
762775

763776
# or
764777
# echo "export PATH=$PATH:$HOME/go/bin" &gt;&gt; ~/.bashrc
@@ -806,6 +819,48 @@ <h2 id="shell-completion">Shell-completion</h2>
806819
</code></pre>
807820
<h2 id="release-history">Release history</h2>
808821
<ul>
822+
<li><a href="https://github.com/shenwei356/seqkit/releases/tag/v2.12.0">SeqKit v2.12.0</a> - 2025-12-04
823+
<a href="https://github.com/shenwei356/seqkit/releases/tag/v2.12.0"><img alt="Github Releases (by Release)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/v2.12.0/total.svg" /></a><ul>
824+
<li><code>seqkit grep</code>:<ul>
825+
<li><code>-p/--pattern</code> accepts empty character (<code>""</code>) now. So it's able to <strong>search records with empty IDs or sequences</strong>. <a href="https://github.com/shenwei356/seqkit/issues/558">#558</a></li>
826+
</ul>
827+
</li>
828+
<li><code>seqkit split2</code>:<ul>
829+
<li>fix a bug introduced in v2.11.0: <code>--by-part-prefix</code> options has no effect. <a href="https://github.com/shenwei356/seqkit/issues/554">#554</a></li>
830+
</ul>
831+
</li>
832+
<li><code>seqkit replace</code>:<ul>
833+
<li><code>{uuid}</code>: use the time-sortable UUIDv7 to replace v4.</li>
834+
</ul>
835+
</li>
836+
<li><code>seqkit stats/fx2tab</code>:<ul>
837+
<li>add information about how the average quality is computed. <a href="https://github.com/shenwei356/seqkit/issues/448">#448</a></li>
838+
</ul>
839+
</li>
840+
</ul>
841+
</li>
842+
<li><a href="https://github.com/shenwei356/seqkit/releases/tag/v2.11.0">SeqKit v2.11.0</a> - 2025-11-20
843+
<a href="https://github.com/shenwei356/seqkit/releases/tag/v2.11.0"><img alt="Github Releases (by Release)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/v2.11.0/total.svg" /></a><ul>
844+
<li><code>seqkit</code>:<ul>
845+
<li><strong>fix reading records with both empty id and sequence</strong>. <a href="https://github.com/shenwei356/seqkit/issues/550">#550</a></li>
846+
<li>check if the output file name equals to one of the input files. <a href="https://github.com/shenwei356/seqkit/issues/541">#541</a></li>
847+
</ul>
848+
</li>
849+
<li><code>seqkit split2</code>:<ul>
850+
<li>add a new flag <code>-N, --seqid-as-filename</code> to use the first sequence ID as the file name.
851+
E.g., using <code>-N -s 1</code> is equal to <code>seqkit split --by-id</code>, but it's much faster and uses less memory.</li>
852+
</ul>
853+
</li>
854+
<li><code>seqkit head</code>:<ul>
855+
<li>add a new flag <code>-l, --length</code> to print heading FASTA/Q records with total sequence length &gt;= N, e.g., <code>-l 2G</code>.</li>
856+
</ul>
857+
</li>
858+
<li><code>seqkit replace</code>:<ul>
859+
<li>add a new replacement symbol <code>{uuid}</code> for random UUID. <a href="https://github.com/shenwei356/seqkit/issues/552">#552</a></li>
860+
</ul>
861+
</li>
862+
</ul>
863+
</li>
809864
<li><a href="https://github.com/shenwei356/seqkit/releases/tag/v2.10.1">SeqKit v2.10.1</a> - 2025-08-19
810865
<a href="https://github.com/shenwei356/seqkit/releases/tag/v2.10.1"><img alt="Github Releases (by Release)" src="https://img.shields.io/github/downloads/shenwei356/seqkit/v2.10.1/total.svg" /></a><ul>
811866
<li><code>seqkit seq</code>:<ul>

index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ <h2 id="features">Features</h2>
679679
<li><strong>Easy to use</strong> <ul>
680680
<li>Ultrafast (see <a href="http://bioinf.shenwei.me/seqkit/usage/#technical-details-and-guides-for-use">technical-details</a> and <a href="http://bioinf.shenwei.me/seqkit/benchmark">benchmark</a>)</li>
681681
<li>Seamlessly parsing both FASTA and FASTQ formats</li>
682-
<li>Supporting (<code>gzip</code>/<code>xz</code>/<code>zstd</code>/<code>bzip2</code> compressed) STDIN/STDOUT and input/output file, easily integrated in pipe</li>
682+
<li>Supporting (<code>gzip</code>/<code>xz</code>/<code>zstd</code>/<code>bzip2</code>/<code>lz4</code> compressed) STDIN/STDOUT and input/output file, easily integrated in pipe</li>
683683
<li>Reproducible results (configurable rand seed in <code>sample</code> and <code>shuffle</code>)</li>
684684
<li>Supporting custom sequence ID via regular expression</li>
685685
<li>Supporting <a href="http://bioinf.shenwei.me/seqkit/download/#shell-completion">Bash/Zsh autocompletion</a></li>
@@ -861,6 +861,14 @@ <h2 id="subcommands">Subcommands</h2>
861861
</tr>
862862
<tr>
863863
<td style="text-align: left;"></td>
864+
<td style="text-align: left;"><a href="https://bioinf.shenwei.me/seqkit/usage/#sample2">sample2</a></td>
865+
<td style="text-align: left;">Sample sequences by number or proportion (version 2)</td>
866+
<td style="text-align: left;">FASTA/Q</td>
867+
<td style="text-align: left;"></td>
868+
<td style="text-align: left;"></td>
869+
</tr>
870+
<tr>
871+
<td style="text-align: left;"></td>
864872
<td style="text-align: left;"><a href="https://bioinf.shenwei.me/seqkit/usage/#rmdup">rmdup</a></td>
865873
<td style="text-align: left;">Remove duplicated sequences by ID/name/sequence</td>
866874
<td style="text-align: left;">FASTA/Q</td>
@@ -958,7 +966,7 @@ <h2 id="subcommands">Subcommands</h2>
958966
<tr>
959967
<td style="text-align: left;"></td>
960968
<td style="text-align: left;"><a href="https://bioinf.shenwei.me/seqkit/usage/#restart">restart</a></td>
961-
<td style="text-align: left;">Reset start position for circular genome</td>
969+
<td style="text-align: left;">Reset start position (rotate) for circular genomes</td>
962970
<td style="text-align: left;">FASTA/Q</td>
963971
<td style="text-align: left;">+ only</td>
964972
<td style="text-align: left;"></td>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)