Wrangle FASTA and FASTQ with SeqKit
Help 5 / 11
Getting Started

Search FASTA/FASTQ files

Say you’re studying the microRNA miR-34a and you want to extract its sequence in humans, you can use SeqKit’s grep command:

seqkit grep --pattern 'hsa-mir-34a' hairpins.fa

To load sequences in bulk, SeqKit can read sequence IDs from a text file. For example, the file ids.txt contains the IDs of miR-34a across 5 species:

cat ids.txt

To extract those sequences from hairpins.fa, use the -f flag:

seqkit grep -f ids.txt hairpins.fa
Loading...