Subread tool for mapping long-read sequencing data like PacBio or Oxford Nanopore.

Install

mkdir -p .claude/skills/sublong && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13224" && unzip -o skill.zip -d .claude/skills/sublong && rm skill.zip

Installs to .claude/skills/sublong

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when aligning long FASTQ reads to a reference genome with Subread's long-read aligner, optionally in RNA-seq mode.
118 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Align long FASTQ reads to a reference genome
  • Map reads against a full Subread index
  • Produce BAM or SAM output for downstream analysis
  • Run in long-read RNA-seq mode
  • Handle gzipped FASTQ input files
  • Specify output file and thread count

How it works

This skill aligns long FASTQ reads to a reference genome using Subread's long-read aligner. It takes an index and read files as input and produces aligned reads in BAM or SAM format, with an optional RNA-seq mode.

Inputs & outputs

You give it
Full one-block Subread index, long reads in FASTQ or gzipped FASTQ format
You get back
BAM or SAM output file

When to use sublong

  • Aligning long reads to a genome
  • Generating BAM output for RNA-seq
  • Mapping sequencing data

About this skill

sublong

Quick Start

  • Command: sublong -i <index_name> -r <input.fastq> -o <output.bam>
  • Local executable: /home/vimalinx/miniforge3/envs/bio/bin/sublong
  • Full reference: See references/help.md

When To Use This Tool

  • Aligning long reads (e.g., PacBio, Oxford Nanopore) to a reference genome
  • Mapping reads against a full Subread index with a single block
  • Producing BAM or SAM output for downstream analysis
  • RNA-seq mode alignment via the -X flag

Common Patterns

# Align long genomic reads and write BAM output
sublong -i long_index -r long_reads.fastq.gz -o long_reads.bam -T 8
# Run in long-read RNA-seq mode
sublong -i transcriptome_index -r isoform_reads.fastq.gz -o isoform_reads.bam -X -T 8
# Emit SAM instead of BAM
sublong -i long_index -r long_reads.fastq.gz -o long_reads.sam --SAMoutput

Recommended Workflow

  1. Build a full one-block Subread index first, usually via subread-buildindex -F -B.
  2. Prepare long reads in FASTQ or gzipped FASTQ format.
  3. Decide whether you want standard genomic alignment or RNA-seq mode with -X.
  4. Run sublong with an explicit output file and thread count.
  5. Validate the BAM or SAM output before downstream quantification, QC, or variant analysis.

Guardrails

  • The index must be a full index with exactly one block; multi-block indexes are not supported
  • Input must be FASTQ or gzipped FASTQ; other formats are not accepted
  • Default output is BAM; use --SAMoutput explicitly if SAM format is required
  • -h is not a true help switch here. Local testing shows --help and --version both print usage text and then complain about the unrecognized option; -v is the real version flag.
  • -o is mandatory for sublong; unlike some other Subread tools, output is not optional.
  • -X switches on RNA-seq mode but does not replace the need for an index compatible with the same reference build you expect downstream.

When not to use it

  • When using multi-block Subread indexes
  • When input reads are not in FASTQ or gzipped FASTQ format
  • When a true help switch is needed (use `--help` or `--version` for usage text)

Limitations

  • The index must be a full index with exactly one block
  • Input must be FASTQ or gzipped FASTQ
  • The `-o` flag for output is mandatory

How it compares

This skill provides a specialized tool for long-read alignment with specific output formats and RNA-seq capabilities, unlike general-purpose read mappers.

Compared to similar skills

sublong side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
sublong (this skill)04moReviewIntermediate
jupyter-notebook306moReviewIntermediate
juicebox-core-workflow-b127dReviewAdvanced
obspy-data-api16moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

jupyter-notebook

davila7

Use when the user asks to create, scaffold, or edit Jupyter notebooks (`.ipynb`) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script `new_notebook.py` to generate a clean starting notebook.

30158

juicebox-core-workflow-b

jeremylongshore

Implement Juicebox candidate enrichment workflow. Use when enriching profile data, gathering additional candidate details, or building comprehensive candidate profiles. Trigger with phrases like "juicebox enrich profile", "juicebox candidate details", "enrich candidate data", "juicebox profile enrichment".

13

obspy-data-api

benchflow-ai

An overview of the core data API of ObsPy, a Python framework for processing seismological data. It is useful for parsing common seismological file formats, or manipulating custom data into standard objects for downstream use cases such as ObsPy's signal processing routines or SeisBench's modeling API.

12

perplexity-core-workflow-b

jeremylongshore

Execute Perplexity secondary workflow: Core Workflow B. Use when implementing secondary use case, or complementing primary workflow. Trigger with phrases like "perplexity secondary workflow", "secondary task with perplexity".

11

source-coding

parcadei

Problem-solving strategies for source coding in information theory

11

biopython

davila7

Primary Python toolkit for molecular biology. Preferred for Python-based PubMed/NCBI queries (Bio.Entrez), sequence manipulation, file parsing (FASTA, GenBank, FASTQ, PDB), advanced BLAST workflows, structures, phylogenetics. For quick BLAST, use gget. For direct REST API, use pubmed-database.

10

Search skills

Search the agent skills registry