Skip to content

vimalinx/bio-agent / .claude/skills/subread-align

subread-align

Unverified

Use 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 subjunc instead 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

  1. Build the index first with subread-buildindex and keep the basename stable.
  2. Choose -t 0 for RNA-seq and -t 1 for genomic DNA before tuning anything else.
  3. Add paired-end orientation and fragment constraints only if the library design requires it.
  4. Validate mapping quality and BAM size before counting or variant calling.

Guardrails

  • -i, -r, and -t are mandatory, and -i expects the index basename, not the FASTA file.
  • Gzipped FASTQ/FASTA are auto-detected; use --SAMinput or --BAMinput only for alignment-file input.
  • Default output is BAM; use --SAMoutput only if plain-text SAM is actually needed.
  • --multiMapping changes reporting behavior substantially; pair it with -B intentionally.
  • -m, -p, -M, and -I affect sensitivity and specificity, so keep those settings cohort-consistent.
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: 196kUpdated Claude CodeCodexVerifiedInstall
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: 192kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 192kUpdated Claude CodeCodexVerifiedInstall
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: 192kUpdated Claude CodeCodexVerifiedInstall