vimalinx/bio-agent / .claude/skills/hisat2-align-s
hisat2-align-s
VerifiedUse when aligning RNA-seq reads to a HISAT2 index using the alignment binary directly. Supports spliced alignment with optional splice site annotation.
hisat2-align-s
Quick Start
- Command:
hisat2-align-s -x <ht2-idx> {-1 <m1> -2 <m2> | -U <r>} [-S <sam>] - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/hisat2-align-s - Full options: see references/help.md
When To Use This Tool
- Use
hisat2-align-swhen aligning reads against a standard HISAT2 small index (.ht2). - It is a good fit for splice-aware RNA-seq alignment, especially when you want to inject known splice sites or produce
--dtaoutput for transcript assemblers. - Use it when you explicitly want the small-index binary rather than the generic
hisat2wrapper. - For non-RNA or strictly contiguous alignments, disable splice handling with
--no-spliced-alignment.
Common Patterns
# Single-end splice-aware alignment
hisat2-align-s -x genome -U reads.fq -S aln.sam
# Paired-end RNA-seq alignment with 8 threads
hisat2-align-s -x genome -1 reads_R1.fq -2 reads_R2.fq -p 8 -S aln.sam
# Guide alignment with known splice sites and transcript-assembler output
hisat2-align-s -x genome -U reads.fq --known-splicesite-infile splicesites.txt --dta -S aln.sam
# DNA-style alignment without spliced alignment
hisat2-align-s -x genome -U reads.fq --no-spliced-alignment -S aln.sam
Recommended Workflow
- Build or obtain a HISAT2 index (
.ht2files) for your reference genome - Prepare input reads as FASTQ/FASTA; specify paired mates with
-1and-2, or unpaired with-U - Run alignment with appropriate options (e.g.,
--dtafor transcript assemblers,-pfor threads,--known-splicesite-infileif available) - Redirect or specify SAM output with
-S; process downstream with samtools or transcript assemblers
Guardrails
- The tool warns that running
hisat2-aligndirectly is not recommended; prefer thehisat2wrapper script for typical use - Large values for
-kor--max-seedscan significantly slow alignment on repetitive genomes - Spliced alignment is enabled by default; use
--no-spliced-alignmentonly for DNA-read alignment scenarios -I/-Xfragment-length options only apply when spliced alignment is disabled
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 193k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 193k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 193k | Updated | Claude CodeCodex | Verified | Install |