LAMBDA(1)
๐ 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 of1,ON,TRUE,T,YES,0,OFF,FALSE,F, andNO. 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, andbgzffor 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.saor.fmneeds 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, andbgzffor transparent (de)compression.-di,--db-index-type STRINGโ the database index is in this format. one ofsaandfm. Default:fm.
๐ค Output Options ๐ค
-o,--output OUTPUT_FILEโ the file that holds the reports on hits (.m*areblastall -m*formats;.m8is tab-seperated,.m9is tab-seperated with with comments,.m0is pairwise format). valid filetypes are:.sam[.*],.m9[.*],.m8[.*],.m0[.*], and.bam, where*is any of the following extensions:gz,bz2, andbgzffor transparent (de)compression. Default:output.m8.-oc,--output-columns STRINGโ print the specified column combination and/or order (.m8and.m9outputs only); call-oc helpfor 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 ofonandoff. 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 touniqthen the sequence is omitted iff it is identical to the previous match's subsequence. one ofalways,uniq, andnever. Default:uniq.--sam-bam-tags STRINGโ write the specified optional columns to the SAM/BAM file. call--sam-bam-tags helpfor 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 ofhardandsoft. 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 ofradixandnone. Default:none.
๐ค Alphabets and Translation ๐ค
-p,--program STRINGโ Blast Operation Mode. one ofblastn,blastp,blastx,tblastn, andtblastx. Default:blastx.-g,--genetic-code INTEGERโ the translation table to use for nucl -> amino acid translation (not for BlastN, BlastP). seehttps://www.ncbi.nlm.nih.gov/Taxonomy/Utils/wprintgc.cgi?mode=cfor ids (default is generic). six frames are generated. Default:1.-ar,--alphabet-reduction STRINGโ Alphabet Reduction for the seeding phase (ignored for BLASTN). one ofnoneandmurphy10. Default:murphy10.
๐ฑ Seeding / Filtration ๐ฑ
-sl,--seed-length INTEGERโ length of the seeds (default =14for BLASTN). Default:10.-so,--seed-offset INTEGERโ offset for seeding (if unset = seed-length, non-overlapping; default =5for 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 =1if 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 ofonandoff. 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 ofonandoff. 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 =-2for BLASTN). Default:-1.-go,--score-gap-open INTEGERโ additional cost for opening a gap (default =-5for 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 (-1means no xdrop). in range[-1..inf]. Default:30.-b,--band INTEGERโ size of the DP-band used in extension (-3means log2 of query length;-2means sqrt of query length;-1means full dp;nmeans band of size2n+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>
โ๏ธ LEGAL โ๏ธ
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
- debian bookworm: lambda-align 1.0.3-6 ยท GPL-3.0-or-later
- debian trixie: lambda-align 1.0.3-6 ยท GPL-3.0-or-later
- ubuntu jammy: lambda-align 1.0.3-6 ยท GPL-3.0-or-later
- ubuntu noble: lambda-align 1.0.3-6 ยท 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