SEQKIT(1)

πŸ’– SEQKIT(1) β€” bestie edition πŸ’–

okay so. seqkit. the moment. this is the cross-platform and ultrafast toolkit for FASTA/Q file manipulation and honestly? it ate. no cap. πŸ’…


✨ NAME ✨

seqkit β€” a cross-platform and ultrafast toolkit for FASTA/Q file manipulation πŸ¦‹


🌸 DESCRIPTION 🌸

SeqKit β€” a cross-platform and ultrafast toolkit for FASTA/Q file manipulation. yes bestie that's the whole vibe and it's iconic.

Version: 2.1.0 ⭐

Author: Wei Shen <shenwei356@gmail.com> πŸ‘‘

Documents: http://bioinf.shenwei.me/seqkit

Source code: https://github.com/shenwei356/seqkit

Please cite: https://doi.org/10.1371/journal.pone.0163962

Seqkit utlizies the pgzip (https://github.com/klauspost/pgzip) package to read and write gzip file, and the outputted gzip file would be slighty larger than files generated by GNU gzip. πŸ™ˆ so like, slightly bigger files, that's just the tradeoff, we accept it.

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. like it's giving speed, it's giving main character energy, just let it cook πŸ”₯


πŸ’« Usage: πŸ’«

seqkit [command]

πŸŽ€ Available Commands: πŸŽ€

  • amplicon β€” extract amplicon (or specific region around it) via primer(s) 🧬
  • bam β€” monitoring and online histograms of BAM record features
  • common β€” find common sequences of multiple files by id/name/sequence
  • concat β€” concatenate sequences with same ID from multiple files
  • convert β€” convert FASTQ quality encoding between Sanger, Solexa and Illumina
  • duplicate β€” duplicate sequences N times
  • faidx β€” create FASTA index file and extract subsequence
  • fish β€” look for short sequences in larger sequences using local alignment 🐟
  • fq2fa β€” convert FASTQ to FASTA
  • fx2tab β€” convert FASTA/Q to tabular format (and length, GC content, average quality...)
  • genautocomplete β€” generate shell autocompletion script (bash|zsh|fish|powershell)
  • grep β€” search sequences by ID/name/sequence/sequence motifs, mismatch allowed
  • head β€” print first N FASTA/Q records
  • head-genome β€” print sequences of the first genome with common prefixes in name
  • locate β€” locate subsequences/motifs, mismatch allowed
  • mutate β€” edit sequence (point mutation, insertion, deletion)
  • pair β€” match up paired-end reads from two fastq files
  • range β€” print FASTA/Q records in a range (start:end)
  • rename β€” rename duplicated IDs
  • replace β€” replace name/sequence by regular expression
  • restart β€” reset start position for circular genome
  • rmdup β€” remove duplicated sequences by ID/name/sequence
  • 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...)
  • shuffle β€” shuffle sequences
  • sliding β€” extract subsequences in sliding windows
  • sort β€” sort sequences by id/name/sequence/length
  • split β€” split sequences into files by id/seq region/size/parts (mainly for FASTA)
  • split2 β€” split sequences into files by size/parts (FASTA, PE/SE FASTQ)
  • stats β€” simple statistics of FASTA/Q files
  • subseq β€” get subsequences by region/gtf/bed, including flanking sequences
  • tab2fx β€” convert tabular format to FASTA/Q format
  • translate β€” translate DNA/RNA to protein sequence (supporting ambiguous bases)
  • version β€” print version information and check for update
  • watch β€” monitoring and online histograms of sequence features

🌈 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)
  • -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 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")
  • -j, --threads int β€” number of CPUs. can also set with environment variable SEQKIT_THREADS) (default 4)

Use "seqkit [command] --help" for more information about a command.

lowkey the move is: run a command, then run it again with --help. that's the whole strategy bestie, iykyk 🫢

πŸ‘‘ AUTHOR πŸ‘‘

This manpage was written by Nilesh Patra for the Debian distribution and can be used for any other usage of the program. πŸ’œ


and that's a wrap!! seqkit 2.1.0+ds, January 2022, SEQKIT(1) β€” go forth and manipulate those FASTA/Q files, you absolute icon πŸŽ€βœ¨πŸ’–