hisat2-inspect-l
Quick Start
- Command:
hisat2-inspect-l [options] <ht2_base> - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/hisat2-inspect-l - Full reference:
references/help.md
When To Use This Tool
- Use
hisat2-inspect-lwhen you know the target index is the large HISAT2 format (.ht2l) and want to inspect it directly. - It is useful for debugging large-index builds, checking embedded SNP/splice/exon annotations, or reconstructing reference content.
- Use it when you want to avoid ambiguity about whether the wrapper will resolve to the small or large index flavor.
- In routine cases, the generic
hisat2-inspectwrapper is still the better default.
Common Patterns
# Summarize a large HISAT2 index
hisat2-inspect-l -s genome_large
# List reference names only
hisat2-inspect-l -n genome_large
# Extract embedded SNPs or splice sites
hisat2-inspect-l --snp genome_large > snps.txt
hisat2-inspect-l --ss genome_large > splicesites.txt
# Reconstruct the reference from a large index
hisat2-inspect-l -e genome_large > genome_large.fa
Recommended Workflow
- Run with
-s/--summaryfirst to understand index contents and properties - Use
-n/--namesto list reference sequence names without full output - Extract specific features as needed (
--snp,--ss,--exon) - Use
-e/--ht2-refonly when you need to reconstruct the full reference (slow)
Guardrails
- The
<ht2_base>argument is the ht2 filename minus trailing.1.ht2l/.2.ht2l - Reconstructing reference with
-e/--ht2-refis slow; prefer-sor-nfor quick inspection - Output defaults to FASTA format to stdout; redirect or pipe as needed
- The direct executable prints a wrapper-warning message; that warning is expected when calling
hisat2-inspect-ldirectly