HISAT2-ALIGN-S(1)
π hisat2-align-s β the manual page
okay bestie, welcome to the hisat2-align-s page, section 1 of the User Commands manual β¨ she's the small index binary, and she's here to do HISAT2 graph-based alignment of short nucleotide reads to many genomes. iconic behavior, no notes π
πΈ NAME πΈ
hisat2-align-s β HISAT2 graph-based alignment of short nucleotide reads to many genomes, small index binary π¦
π DESCRIPTION π
This is HISAT2 version 2.2.1 by Daehwan Kim (infphilo@gmail.com, www.ccb.jhu.edu/people/infphilo) π«Ά
Usage, as literally printed:
hisat2-align [options]* -x <ht2-idx> {-1 <m1> -2 <m2> | -U <r>} [-S <sam>]
and here's what every single one of those lil placeholders means, don't skip π
<ht2-idx>β the index filename prefix, minus the trailing.X.ht2(so like, the vibe of the files, not the whole name) π<m1>β files with #1 mates, paired with files in<m2><m2>β files with #2 mates, paired with files in<m1><r>β files with unpaired reads<sam>β the file for SAM output (default: stdout) π¨οΈ
π‘ bestie PSA:<m1>,<m2>, and<r>can be comma-separated lists (no whitespace, do not try it, seriously) and can be specified many times. Example, verbatim:-U file1.fq,file2.fq -U file3.fq.
Options (and yes, the defaults are in the parentheses, exactly as given):
π Input π
-qβ query input files are FASTQ.fq/.fastq(this is the default, she's the moment)--qseqβ query input files are in Illumina's qseq format-fβ query input files are (multi-)FASTA.fa/.mfa-rβ query input files are raw one-sequence-per-line-cβ<m1>,<m2>,<r>are sequences themselves, not files π-s/--skipint β skip the first int reads/pairs in the input (none)-u/--uptoint β stop after first int reads/pairs (no limit)-5/--trim5int β trim int bases from 5'/left end of reads (0)-3/--trim3int β trim int bases from 3'/right end of reads (0) βοΈ--phred33β qualities are Phred+33 (default)--phred64β qualities are Phred+64--int-qualsβ qualities encoded as space-delimited integers
π Presets π
Basically "same as" shortcuts, so you don't have to type the whole thing:
--fastβ same as--no-repeat-index--sensitiveβ same as--bowtie2-dp 1 -k 30 --score-min L,0,-0.5--very-sensitiveβ same as--bowtie2-dp 2 -k 50 --score-min L,0,-1
β¨ Alignment β¨
--bowtie2-dpint β use Bowtie2's dynamic programming alignment algorithm (0). The values, no cap:0: no dynamic programming,1: conditional dynamic programming, and2: unconditional dynamic programming (slowest) π’--n-ceilfunc β func for max # non-A/C/G/Ts permitted in aln (L,0,0.15)--ignore-qualsβ treat all quality values as 30 on Phred scale (off)--nofwβ do not align forward (original) version of read (off)--norcβ do not align reverse-complement version of read (off)--no-repeat-indexβ do not use repeat index
π§ Spliced Alignment π§
--pen-canspliceint β penalty for a canonical splice site (0)--pen-noncanspliceint β penalty for a non-canonical splice site (12)--pen-canintronlenfunc β penalty for long introns (G,-8,1) with canonical splice sites--pen-noncanintronlenfunc β penalty for long introns (G,-8,1) with noncanonical splice sites--min-intronlenint β minimum intron length (20)--max-intronlenint β maximum intron length (500000)--known-splicesite-infilepath β provide a list of known splice sites--novel-splicesite-outfilepath β report a list of splice sites--novel-splicesite-infilepath β provide a list of novel splice sites--no-temp-splicesiteβ disable the use of splice sites found--no-spliced-alignmentβ disable spliced alignment--rna-strandnessstring β specify strand-specific information (unstranded)--tmoβ reports only those alignments within known transcriptome--dtaβ reports alignments tailored for transcript assemblers--dta-cufflinksβ reports alignments tailored specifically for cufflinks--avoid-pseudogeneβ tries to avoid aligning reads to pseudogenes (experimental option, she said what she said π)--no-templatelen-adjustmentβ disables template length adjustment for RNA-seq reads
π Scoring π
--mpint,int β max and min penalties for mismatch; lower qual = lower penalty<6,2>--spint,int β max and min penalties for soft-clipping; lower qual = lower penalty<2,1>--no-softclipβ no soft-clipping--npint β penalty for non-A/C/G/Ts in read/ref (1)--rdgint,int β read gap open, extend penalties (5,3)--rfgint,int β reference gap open, extend penalties (5,3)--score-minfunc β min acceptable alignment score w/r/t read length (L,0.0,-0.2)
π₯ Reporting π₯
-kint β okay so this one is the main character of reporting π She searches for at most int distinct, primary alignments for each read. "Primary alignments" means alignments whose alignment score is equal to or higher than any other alignments. The search terminates when it cannot find more distinct valid alignments, or when it finds int, whichever happens first. The alignment score for a paired-end alignment equals the sum of the alignment scores of the individual mates π«Ά Each reported read or pair alignment beyond the first has the SAM "secondary" bit (which equals 256) set in its FLAGS field. For reads that have more than int distinct, valid alignments, hisat2 does not guarantee that the int alignments reported are the best possible in terms of alignment score. Default: 5 (linear index) or 10 (graph index). Note: HISAT2 is not designed with large values for-kin mind, and when aligning reads to long, repetitive genomes, large-kcould make alignment much slower π--max-seedsint β HISAT2, like other aligners, uses seed-and-extend approaches. HISAT2 tries to extend seeds to full-length alignments. In HISAT2,--max-seedsis used to control the maximum number of seeds that will be extended. For DNA-read alignment (--no-spliced-alignment), HISAT2 extends up to these many seeds and skips the rest of the seeds. For RNA-read alignment, HISAT2 skips extending seeds and reports no alignments if the number of seeds is larger than the number specified with the option, to be compatible with previous versions of HISAT2. Large values for--max-seedsmay improve alignment sensitivity, but HISAT2 is not designed with large values for--max-seedsin mind, and when aligning reads to long, repetitive genomes, large--max-seedscould make alignment much slower. The default value is the maximum of 5 and the value that comes with-ktimes 2 π-a/--allβ HISAT2 reports all alignments it can find. Using the option is equivalent to using both--max-seedsand-kwith the maximum value that a 64-bit signed integer can represent (9,223,372,036,854,775,807) π--repeatβ report alignments to repeat sequences directly
π Paired-end π
-I/--mininsint β minimum fragment length (0), only valid with--no-spliced-alignment-X/--maxinsint β maximum fragment length (500), only valid with--no-spliced-alignment--fr/--rf/--ffβ-1,-2mates align fw/rev, rev/fw, fw/fw (--fr)--no-mixedβ suppress unpaired alignments for paired reads--no-discordantβ suppress discordant alignments for paired reads
π¨οΈ Output π¨οΈ
-t/--timeβ print wall-clock time taken by search phases--summary-filepath β print alignment summary to this file.--new-summaryβ print alignment summary in a new style, which is more machine-friendly π€--quietβ print nothing to stderr except serious errors--met-filepath β send metrics to file at path (off)--met-stderrβ send metrics to stderr (off)--metint β report internal counters & metrics every int secs (1)--no-headβ suppress header lines, i.e. lines starting with@--no-sqβ suppress@SQheader lines--rg-idtext β set read group id, reflected in@RGline andRG:Z:opt field--rgtext β add text ("lab:value") to@RGline of SAM header. Note:@RGline only printed when--rg-idis set.--omit-sec-seqβ put'*'in SEQ and QUAL fields for secondary alignments.
β‘ Performance β‘
-o/--offrateint β override offrate of index; must be>=index's offrate-p/--threadsint β number of alignment threads to launch (1)--reorderβ force SAM output order to match order of input reads--mmβ use memory-mapped I/O for index; many'hisat2's can share π―
π Other π
--qc-filterβ filter out reads that are bad according to QSEQ filter--seedint β seed for random number generator (0)--non-deterministicβ seed rand. gen. arbitrarily instead of using read attributes--remove-chrnameβ remove'chr'from reference names in alignment--add-chrnameβ add'chr'to reference names in alignment--versionβ print version information and quit-h/--helpβ print this usage message
π οΈ The build receipts π οΈ
64-bit. Built on Debian 21 January 2026. Compiler: gcc version 15.2.0 (Ubuntu 15.2.0-11ubuntu1). Options: -O3 -funroll-loops -g3 -Wdate-time -D_FORTIFY_SOURCE=3 -std=c++11. Sizeof {int, long, long long, void*, size_t, off_t}: {4, 8, 8, 8, 8, 8} β
and that's the whole page bestie, you ate it π«Ά this was hisat2-align-s version 2.2.1, dated January 2026, from the HISAT2-ALIGN-S(1) corner of the User Commands manual β go forth and align, ily πβ¨π
π¦ where this page comes from
- ubuntu resolute: hisat2 2.2.1-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: hisat2 2.2.1-5build1 Β· 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