vimalinx/bio-agent / .claude/skills/subread-align
subread-align
UnverifiedUse when aligning RNA-seq or genomic DNA-seq reads to a reference index. Supports paired-end and single-end reads in FASTQ, FASTA, SAM, or BAM formats.
subread-align
Quick Start
- Command:
subread-align -i <index_name> -r <input> -t <type> -o <output> - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/subread-align - Version: 2.1.1
- Full reference: See references/help.md for complete options and flags
When To Use This Tool
- Align genomic DNA-seq reads with a fast Subread-based aligner.
- Align RNA-seq reads when full splice-junction discovery is not the main requirement.
- Produce BAM output directly for downstream QC or counting.
- Prefer
subjuncinstead when exon-exon junction detection is central.
Common Patterns
# 1) Genomic DNA-seq alignment
subread-align \
-i ref_index \
-r reads.fastq.gz \
-t 1 \
-o sample.bam \
-T 8
# 2) Paired-end RNA-seq alignment
subread-align \
-i ref_index \
-r sample_R1.fastq.gz \
-R sample_R2.fastq.gz \
-t 0 \
-o sample.bam \
-T 8
# 3) Coordinate-sorted BAM ready for genome-browser loading
subread-align \
-i ref_index \
-r sample_R1.fastq.gz \
-R sample_R2.fastq.gz \
-t 1 \
-o sample.bam \
-T 8 \
--sortReadsByCoordinates
Recommended Workflow
- Build the index first with
subread-buildindexand keep the basename stable. - Choose
-t 0for RNA-seq and-t 1for genomic DNA before tuning anything else. - Add paired-end orientation and fragment constraints only if the library design requires it.
- Validate mapping quality and BAM size before counting or variant calling.
Guardrails
-i,-r, and-tare mandatory, and-iexpects the index basename, not the FASTA file.- Gzipped FASTQ/FASTA are auto-detected; use
--SAMinputor--BAMinputonly for alignment-file input. - Default output is BAM; use
--SAMoutputonly if plain-text SAM is actually needed. --multiMappingchanges reporting behavior substantially; pair it with-Bintentionally.-m,-p,-M, and-Iaffect sensitivity and specificity, so keep those settings cohort-consistent.
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: 192k | 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: 192k | 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: 192k | Updated | Claude CodeCodex | Verified | Install |