LAST-TRAIN(1)
π last-train(1) π
okay bestie sit DOWN because this one is a User Commands page and it's literally the glow-up tool for your alignments β¨
π NAME π
last-train β she tries to find suitable score parameters for aligning the given sequences. that's the whole job. that's her assignment and she ate π
πΈ SYNOPSIS πΈ
last-train [options] lastdb-name sequence-file(s)
π¦ DESCRIPTION π¦
Try to find suitable score parameters for aligning the given sequences. no cap, that's it β she takes your lastdb-name and your sequence-file(s) and goes hunting for the score parameters that actually fit your data, so your alignments don't look like they were picked by a random number generator π
β¨ OPTIONS β¨
-h,--helpβ show this help message and exit. the classic escape hatch, iconic behavior-v,--verboseβ show more details of intermediate steps. she'll narrate the whole thing for you, main character commentary
π Training options:
--revsymβ force reverse-complement symmetry--matsymβ force symmetric substitution matrix--gapsymβ force insertion/deletion symmetry--fixmat=NAMEβ fix the substitution probabilities to e.g.BLOSUM62. like, lock it in, no vibes-based changes--pid=PIDβ skip alignments with > PID% identity (default:100). too-similar alignments can go, we don't need them--postmask=NUMBERβ skip mostly-lowercase alignments (default=1)--sample-number=Nβ number of random sequence samples (default:20000if--codonelse500). yes the default literally switches depending on whether--codonis on, keep up bestie π--sample-length=Lβ length of each sample (default:2000)--scale=Sβ output scores in units of 1/S bits--codonβ DNA queries & protein reference, with frameshifts. the fancy one π§
π Initial parameter options:
-r SCOREβ match score-q COSTβ mismatch cost-p NAMEβ match/mismatch score matrix-a COSTβ gap existence cost-b COSTβ gap extension cost-A COSTβ insertion existence cost-B COSTβ insertion extension cost-F LISTβ frameshift probabilities:del-1,del-2,ins+1,ins+2(default:1-b,1-b,1-B,1-B). note how those defaults are literally built out of your-band-Bvalues, so cute, so dependent π«Ά
π Alignment options:
-D LENGTHβ query letters per random alignment (default: total sample length)-E EG2β maximum expected alignments per square giga-s STRANDβ0=reverse,1=forward,2=both (default:2if DNA and notlastdb -S2, else1). another shapeshifter default, iykyk-S NUMBERβ use score matrix:0=as-is,1=on query forward strands (default:1)-C COUNTβ omit gapless alignments in COUNT others with > scoreper-length-T NUMBERβ type of alignment:0=local,1=overlap (default:0)-R DIGITSβ lowercase & simple-sequence options-m COUNTβ maximum initial matches per query position (default:10)-k STEPβ use initial matches starting at every STEP-th position in each query (default:1)-P THREADSβ number of parallel threads-X NUMBERβ N/X is ambiguous in:0=neither sequence,1=reference,2=query,3=both (default=0)-Q NAMEβ input format:fastx,sanger(default=fasta)
heads up bestie: several of these defaults are not fixed numbers β they actively change based on other flags you pass. read them before you assume, fr fr π
okay that's the whole page, and that's the vibe check passed π she's last-train version 1654, dated August 2026, and yeah the title at the top said LAST-TRAIN(1) but we already covered that, periodt β¨π
π¦
π¦ where this page comes from
- ubuntu stonking: last-align 1654-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms