vimalinx/bio-agent / .claude/skills/maq2sam-long
maq2sam-long
VerifiedUse when converting legacy MAQ long-map files into SAM for downstream SAMtools-compatible processing.
maq2sam-long
Quick Start
- Command:
maq2sam-long reads.map [readGroup] > reads.sam - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/maq2sam-long - Reference: See references/help.md
When To Use This Tool
- Convert legacy MAQ
.mapalignment output into SAM. - Preserve an older MAQ-based alignment result while moving it into current SAM/BAM tooling.
- Attach a simple trailing read-group label when you need to distinguish converted cohorts.
- Use this specific binary for the MAQ long-map flavor rather than the short-map variant.
Common Patterns
# 1) Convert a MAQ long-map file to SAM
maq2sam-long \
reads.map > reads.sam
# 2) Add a read-group label during conversion
maq2sam-long \
reads.map RG1 > reads.rg.sam
# 3) Convert then hand off to samtools
maq2sam-long \
reads.map > reads.sam
samtools view -bS reads.sam > reads.bam
Recommended Workflow
- Confirm the input really is the MAQ long-map flavor before choosing this binary.
- Decide whether you want to attach the optional trailing read-group label during conversion.
- Convert to SAM, then inspect a few records before turning the file into BAM or mixing it with other alignments.
- Keep the original
.mapfile because these legacy converters expose almost no self-describing metadata.
Guardrails
maq2sam-longdoes not implement real--helpor--version; those strings are treated like filenames and trigger usage text only after a file-open failure.- The optional second positional argument is just a trailing read-group label, not a full SAM
@RGheader definition. - Use the long-map converter only for the matching MAQ map flavor; the usage text does not autodetect the correct variant for you.
- Output is plain SAM records and should be inspected before downstream compression or merging.
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 |