CD-HIT(1)
π NAME π
cd-hit β ok so basically it groups sequences together, fast, and it's lowkey iconic for it π§¬β¨
πΈ SYNOPSIS πΈ
cd-hit [Options]
π¦ DESCRIPTION π¦
====== CD-HIT version 4.8.1 (built on Aug 20 2021) ======
Bestie, that's the version banner, and it's giving "I was built on Aug 20 2021 and I have been slaying ever since." π
Now. The options. There are a LOT of them. Grab a snack. π
β¨ Options β¨
-iβ the input filename, in fasta format. This one is required, no skipping it. It can also be in.gzformat, so go off compressed files. π«Ά-oβ the output filename. Also required. You literally cannot do this without it.-cβ the sequence identity threshold, default0.9. This is cd-hit's default "global sequence identity", and here's the math: number of identical amino acids or bases in the alignment divided by the full length of the shorter sequence. That's the whole vibe.-Gβ use global sequence identity, default1. If you set it to0, it uses local sequence identity instead, which is calculated as: number of identical amino acids or bases in the alignment divided by the length of the alignment. > β οΈ NOTE!!! do not use-G 0unless you also use alignment coverage controls β see options-aL,-AL,-aS,-AS. Do not play with this one unsupervised, fr fr. π-bβ band_width of alignment, default20.-Mβ memory limit in MB for the program, default800;0means unlimitted (that spelling is theirs, we respect it π).-Tβ number of threads, default1; with0, all CPUs will be used. Go parallel, queen. π₯-nβ word_length, default5. See the user's guide for how to choose it. π-lβ length of throw_away_sequences, default10.-tβ tolerance for redundance, default2.-dβ length of description in the.clstrfile, default20. If you set it to0, it takes the fasta defline and stops at the first space.-sβ length difference cutoff, default0.0. If you set it to0.9, the shorter sequences need to be at least 90% the length of the representative of the cluster.-Sβ length difference cutoff in amino acid, default999999. If you set it to60, the length difference between the shorter sequences and the representative of the cluster can not be bigger than60.-aLβ alignment coverage for the longer sequence, default0.0. If you set it to0.9, the alignment must cover 90% of the sequence.-ALβ alignment coverage control for the longer sequence, default99999999. If you set it to60and the length of the sequence is400, then the alignment must be>= 340(400-60) residues.-aSβ alignment coverage for the shorter sequence, default0.0. If you set it to0.9, the alignment must cover 90% of the sequence.-ASβ alignment coverage control for the shorter sequence, default99999999. If you set it to60and the length of the sequence is400, then the alignment must be>= 340(400-60) residues.-Aβ minimal alignment coverage control for both sequences, default0. The alignment must cover>=this value for both sequences.-uLβ maximum unmatched percentage for the longer sequence, default1.0. If you set it to0.1, the unmatched region (excluding leading and tailing gaps) must not be more than 10% of the sequence.-uSβ maximum unmatched percentage for the shorter sequence, default1.0. If you set it to0.1, the unmatched region (excluding leading and tailing gaps) must not be more than 10% of the sequence.-Uβ maximum unmatched length, default99999999. If you set it to10, the unmatched region (excluding leading and tailing gaps) must not be more than10bases.-Bβ1or0, default0. By default, sequences are stored in RAM; if set to1, sequences are stored on hard drive. > π !! No longer supported !! Yeah. RIP to that one, bestie. Do not come for her, she's retired.-pβ1or0, default0. If set to1, print alignment overlap in the.clstrfile.-gβ1or0, default0. With cd-hit's default algorithm, a sequence is clustered to the first cluster that meets the threshold (fast cluster). If set to1, the program will cluster it into the most similar cluster that meets the threshold (accurate but slow mode). But either1or0won't change the representatives of the final clusters β that part stays the same, no cap. π-scβ sort clusters by size (number of sequences), default0. If set to1, output clusters by decreasing size. (Default0outputs clusters by decreasing length.)-sfβ sort fasta/fastq by cluster size (number of sequences), default0, no sorting. If set to1, output sequences by decreasing cluster size. > β οΈ Heads up: this can be very slow if the input is in.gzformat. Like, go get a beverage slow. π-bakβ write backup cluster file (1or0, default0).-hβ print this help. The classic. The icon. π
π QUESTIONS, BUGS, AND OTHER BUSINESS π
Questions, bugs, contact Weizhong Li at liwz@sdsc.edu
For updated versions and information, please visit: http://cd-hit.org
or https://github.com/weizhongli/cdhit
cd-hit web server is also available from http://cd-hit.org
If you find cd-hit useful, please kindly cite:
"CD-HIT: a fast program for clustering and comparing large sets
of protein or nucleotide sequences", Weizhong Li & Adam Godzik.
Bioinformatics, (2006) 22:1658-1659
"CD-HIT: accelerated for clustering the next generation
sequencing data", Limin Fu, Beifang Niu, Zhengwei Zhu, Sitao Wu
& Weizhong Li. Bioinformatics, (2012) 28:3150-3152
π«Ά Real talk: if this tool carried your research, cite the authors. It's free, it takes ten seconds, and it's the polite thing to do. Periodt.
And that's the whole page, bestie. This one's cd-hit 4.8.1, from August 2021, and it lives in the CD-HIT(1) section of your manual. Go cluster something gorgeous. π¦β¨π
π¦ where this page comes from
- debian bookworm: cd-hit 4.8.1-4 Β· GPL-2.0-or-later
- debian trixie: cd-hit 4.8.1-4 Β· GPL-2.0-or-later
- ubuntu jammy: cd-hit 4.8.1-4 Β· GPL-2.0-or-later
- ubuntu noble: cd-hit 4.8.1-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms