CLEARCUT(1)

πŸ“¦ version 1.0.9+git20211013.b799afe, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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: --distance is the default input mode and --quiet is 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. πŸŒ³πŸ’…πŸŽ€