LAMBDA(1)

๐Ÿ“ฆ
version 1.0.3 ยท 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

๐Ÿ’– NAME ๐Ÿ’–

okay so welcome to the LAMBDA(1) manual bestie, pull up a chair ๐Ÿซถ this whole page is about lambda โ€” the Local Aligner for Massive Biological DatA. yes the acronym ate, we love a backronym moment. ๐Ÿ’…


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

lambda [OPTIONS] -q QUERY.fasta -d DATABASE.fasta [-o output.m8]

like. that's it. that's the whole vibe. ๐ŸŒธ


โœจ DESCRIPTION โœจ

Lambda is a local aligner built different โ€” it's optimized for so many query sequences and for searching in protein space. ๐Ÿงฌโœจ It's compatible with BLAST, but it's much faster than BLAST and a whole pile of other comparable tools. no cap, it's giving speed.

want the full tea? detailed info lives in the wiki: <https://github.com/seqan/lambda/wiki>


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

the main-character flags. read them, love them, use them. ๐Ÿ’…

  • -h, --help โ€” displays the help message. the classic. ๐Ÿซถ
  • -hh, --full-help โ€” displays the help message with the advanced options. for when you want the extended cut. โœจ
  • --version-check BOOL โ€” turn this off to disable the app's version update notifications. one of 1, ON, TRUE, T, YES, 0, OFF, FALSE, F, and NO. Default: 1.
  • --version โ€” displays version information. slay.
  • --copyright โ€” displays the long copyright information. the receipts, basically. ๐Ÿ“œ
  • -v, --verbosity INTEGER โ€” display more/less diagnostic output while it's running: 0 [only errors]; 1 [default]; 2 [+run-time, options and statistics]. in range [0..2]. Default: 1.

๐Ÿ“ฅ Input Options ๐Ÿ“ฅ

  • -q, --query INPUT_FILE โ€” your query sequences. valid filetypes are: .sam[.*], .raw[.*], .gbk[.*], .frn[.*], .fq[.*], .fna[.*], .ffn[.*], .fastq[.*], .fasta[.*], .faa[.*], .fa[.*], .embl[.*], and .bam, where * is any of the following extensions: gz, bz2, and bgzf for transparent (de)compression. so many options and honestly? iconic. ๐ŸŒˆ
  • -d, --database INPUT_FILE โ€” path to the original database sequences. โš ๏ธ heads up bestie: a precomputed index with .sa or .fm needs to exist! like fr fr, it's not optional. valid filetypes are: .sam[.*], .raw[.*], .gbk[.*], .frn[.*], .fq[.*], .fna[.*], .ffn[.*], .fastq[.*], .fasta[.*], .faa[.*], .fa[.*], .embl[.*], and .bam, where * is any of the following extensions: gz, bz2, and bgzf for transparent (de)compression.
  • -di, --db-index-type STRING โ€” the database index is in this format. one of sa and fm. Default: fm.

๐Ÿ“ค Output Options ๐Ÿ“ค

  • -o, --output OUTPUT_FILE โ€” the file that holds the reports on hits (.m* are blastall -m* formats; .m8 is tab-seperated, .m9 is tab-seperated with with comments, .m0 is pairwise format). valid filetypes are: .sam[.*], .m9[.*], .m8[.*], .m0[.*], and .bam, where * is any of the following extensions: gz, bz2, and bgzf for transparent (de)compression. Default: output.m8.
  • -oc, --output-columns STRING โ€” print the specified column combination and/or order (.m8 and .m9 outputs only); call -oc help for more details. Default: std.
  • -id, --percent-identity INTEGER โ€” only output matches above this threshold (this gets checked before the e-value check, fyi). in range [0..100]. Default: 0.
  • -e, --e-value DOUBLE โ€” only output matches that score below this threshold. in range [0..inf]. Default: 0.1.
  • -nm, --num-matches INTEGER โ€” print at most this many matches per query. in range [1..inf]. Default: 500.
  • --sam-with-refheader STRING โ€” BAM files require all subject names to be written to the header. for SAM that's not required, so Lambda doesn't automatically do it, to save space (and for a protein database that is a lot of space!). if you still want them with SAM โ€” like for better BAM compatibility โ€” use this option. one of on and off. Default: off.
  • --sam-bam-seq STRING โ€” write the matching DNA subsequence into the SAM/BAM file (BLASTN). for BLASTX and TBLASTX the matching protein sequence is "untranslated" and the positions get retransformed to the original sequence. for BLASTP and TBLASTN there is no DNA sequence, so a * gets written to the SEQ column. the matching protein sequence can be written as an optional tag, see --sam-bam-tags. if set to uniq then the sequence is omitted iff it is identical to the previous match's subsequence. one of always, uniq, and never. Default: uniq.
  • --sam-bam-tags STRING โ€” write the specified optional columns to the SAM/BAM file. call --sam-bam-tags help for more details. Default: AS NM ZE ZI ZF.
  • --sam-bam-clip STRING โ€” whether to hard-clip or soft-clip the regions beyond the local match. soft-clipping keeps the full sequence in the output file, but obviously uses more space. one of hard and soft. Default: hard.

โš™๏ธ General Options โš™๏ธ

  • -t, --threads INTEGER โ€” number of threads to run concurrently. go faster bestie ๐Ÿƒโ€โ™€๏ธ
  • -qi, --query-index-type STRING โ€” controls double-indexing. one of radix and none. Default: none.

๐Ÿ”ค Alphabets and Translation ๐Ÿ”ค

  • -p, --program STRING โ€” Blast Operation Mode. one of blastn, blastp, blastx, tblastn, and tblastx. Default: blastx.
  • -g, --genetic-code INTEGER โ€” the translation table to use for nucl -> amino acid translation (not for BlastN, BlastP). see https://www.ncbi.nlm.nih.gov/Taxonomy/Utils/wprintgc.cgi?mode=c for ids (default is generic). six frames are generated. Default: 1.
  • -ar, --alphabet-reduction STRING โ€” Alphabet Reduction for the seeding phase (ignored for BLASTN). one of none and murphy10. Default: murphy10.

๐ŸŒฑ Seeding / Filtration ๐ŸŒฑ

  • -sl, --seed-length INTEGER โ€” length of the seeds (default = 14 for BLASTN). Default: 10.
  • -so, --seed-offset INTEGER โ€” offset for seeding (if unset = seed-length, non-overlapping; default = 5 for BLASTN). Default: 10.
  • -sd, --seed-delta INTEGER โ€” maximum seed distance. Default: 1.

๐Ÿ”ฎ Miscellaneous Heuristics ๐Ÿ”ฎ

  • -ps, --pre-scoring INTEGER โ€” evaluate the score of a region NUM times the size of the seed before extension (0 -> no pre-scoring, 1 -> evaluate seed, n -> area around seed, as well; default = 1 if no reduction is used). in range [1..inf]. Default: 2.
  • -pt, --pre-scoring-threshold DOUBLE โ€” minimum average score per position in the pre-scoring region. Default: 2.
  • -pd, --filter-putative-duplicates STRING โ€” filter hits that will likely duplicate a match already found. one of on and off. Default: on.
  • -pa, --filter-putative-abundant STRING โ€” if the maximum number of matches per query are found already, stop searching if the remaining realm looks unfeasable. one of on and off. Default: on.

๐ŸŽฏ Scoring ๐ŸŽฏ

  • -sc, --scoring-scheme INTEGER โ€” use '45' for Blosum45; '62' for Blosum62 (default); '80' for Blosum80; [ignored for BlastN]. Default: 62.
  • -ge, --score-gap INTEGER โ€” score per gap character (default = -2 for BLASTN). Default: -1.
  • -go, --score-gap-open INTEGER โ€” additional cost for opening a gap (default = -5 for BLASTN). Default: -11.
  • -ma, --score-match INTEGER โ€” match score [only BLASTN]. Default: 2.
  • -mi, --score-mismatch INTEGER โ€” mismatch score [only BLASTN]. Default: -3.

๐Ÿš€ Extension ๐Ÿš€

  • -x, --x-drop INTEGER โ€” stop Banded extension if the score is x below the maximum seen (-1 means no xdrop). in range [-1..inf]. Default: 30.
  • -b, --band INTEGER โ€” size of the DP-band used in extension (-3 means log2 of query length; -2 means sqrt of query length; -1 means full dp; n means band of size 2n+1). in range [-3..inf]. Default: -3.

๐ŸŒŸ TUNING ๐ŸŒŸ

okay so real talk: tuning the seeding parameters and (de)activating alphabet reduction has a strong influence on both speed and sensitivity. we recommend these alternative profiles for protein searches, bestie:

  • fast (high similarity): -ar none -sl 7 -sd 0
  • sensitive (lower similarity): -so 5

for further information see the wiki: <https://github.com/seqan/lambda/wiki>


the serious part. still cute, but serious. ๐Ÿ’œ

lambda Copyright: 2013-2017 Hannes Hauswedell, released under the GNU GPL v3 (or later); 2016-2017 Knut Reinert and Freie Universitรคt Berlin, released under the 3-clause-BSDL

SeqAn Copyright: 2006-2015 Knut Reinert, FU-Berlin; released under the 3-clause BSDL.

in your academic works please cite: Hauswedell et al (2014); doi: 10.1093/bioinformatics/btu439

for full copyright and/or warranty information see --copyright.


and that's the whole page, bestie ๐ŸŽ€ this was lambda 1.0.2, dated Feb 8 2020 โ€” go align something massive and slay. ๐Ÿ’–โœจ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from