CLEARCUT(1)
π CLEARCUT(1) β the manual, but make it make sense π
okay bestie, sit down, hydrate, because we're about to talk about Clearcut β that's the clearcut command from the User Commands section of your manual, and it does Relaxed Neighbor Joining. no cap. she's a phylogenetics girlie and she EATS. π³β¨
π¦ SYNOPSIS π¦
clearcut --in=<infilename> --out=<outfilename> [options]...
that's it. that's the whole vibe check. you give her an in file, you give her an out file, you sprinkle options on top like glitter. π
πΈ DESCRIPTION πΈ
so basically Clearcut takes your data (a distance matrix OR an alignment, we'll get there) and builds you a tree. relaxed neighbor joining style. she's flexible, she's fast, she's iconic. let's break down every single knob and dial, because I refuse to let you run her on defaults and then cry to me about it. π«Ά
β¨ GENERAL OPTIONS β¨
-h,--helpβ displays this information. the "help me I'm lost" button. use it. love it.-V,--versionβ prints the version of this program. so you know exactly which queen you're talking to.-v,--verboseβ more output. (Default: OFF) β she's quiet by nature, this makes her yap.-q,--quietβ silent operation. (Default: ON) β the default. she's not doing small talk unless asked.-s,--seed=<seed>β explicitly set the PRNG seed to a specific value. you want reproducible randomness? set the seed, bestie, and she'll do the exact same thing every time.-r,--norandomβ attempt joins deterministically. (Default: OFF) β no dice rolls, just vibes and rules.-S,--shuffleβ randomly shuffle the distance matrix. (Default: OFF) β she shuffles the matrix like a playlist. chaos, but organized chaos.-N,--neighborβ use the traditional Neighbor-Joining algorithm. (Default: OFF) β the classic recipe instead of the relaxed one.
π INPUT OPTIONS π
-I,--stdinβ read input from STDIN. pipe it in, queen.-d,--distanceβ input file is a distance matrix. (Default: ON) β this is the default, so if you say nothing, this is what she assumes.-a,--alignmentβ input file is a set of aligned sequences. (Default: OFF)-D,--DNAβ input alignment are DNA sequences.-P,--proteinβ input alignment are protein sequences.
π§ CORRECTION MODEL FOR COMPUTING DISTANCE MATRIX (Default: NO Correction) π§
okay so listen. by default she applies NO correction. zero. none. if you want her to correct the distance matrix on the way in, you gotta pick a model yourself. π
-j,--jukesβ use Jukes-Cantor correction for computing the distance matrix.-k,--kimuraβ use Kimura correction for the distance matrix.
π₯ OUTPUT OPTIONS π₯
-O,--stdoutβ output tree to STDOUT. tree goes straight to your terminal, no file needed.-m,--matrixout=<file>β output distance matrix to specified file. so you can see the matrix she built.-n,--ntrees=<n>β output n trees. (Default: 1) β she'll hand you more than one tree if you ask nicely.-e,--expblenβ exponential notation for branch lengths. (Default: OFF)-E,--expdistβ exponential notation in distance output. (Default: OFF)
π EXAMPLES π
compute tree by supplying a distance matrix via stdin:
clearcut --distance < distances.txt > treefile.tre
compute tree by supplying an alignment of DNA sequences from a file:
clearcut --alignment --DNA --in=alignment.txt --out=treefile.tre
like, that second one? that's the whole workflow. alignment in, tree out, main character energy. ππ
heads up bestie:--distanceis the default input mode and--quietis the default output mode, so you're not being weird for leaning on defaults β you're just being efficient. β¨
and that's the page!! Clearcut Version: 1.0.9, dated February 2014, from the CLEARCUT(1) manual itself. she's been serving trees since 2014 and she has not missed once. go build something gorgeous. π³π
π
π¦ where this page comes from
- debian bookworm: clearcut 1.0.9+git20211013.b799afe-1 Β· BSDlike
- debian trixie: clearcut 1.0.9+git20211013.b799afe-1 Β· BSDlike
- ubuntu jammy: clearcut 1.0.9+git20211013.b799afe-1 Β· BSDlike
- ubuntu noble: clearcut 1.0.9+git20211013.b799afe-1 Β· BSDlike
- ubuntu resolute: clearcut 1.0.9+git20211013.b799afe-1build1 Β· BSDlike
- ubuntu stonking: clearcut 1.0.9+git20211013.b799afe-1build1 Β· BSDlike
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms