vimalinx/bio-agent / .claude/skills/bam-to-fastq
bam-to-fastq
VerifiedUse when converting BAM alignment files to FASTQ format, including paired-end data requiring separate or interleaved output.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.0 KB |
| references/help.md | markdown | 1.9 KB |
references/help.md
View on GitHub# bam-to-fastq Help Reference
- Command: `bamToFastq`
- Sources: conda_bioconda
- Local executable: `/home/vimalinx/miniforge3/envs/bio/bin/bamToFastq`
- Summary: CLI installed by bioconda package bedtools.
- Package names: bedtools
## Captured Version
```text
$ bamToFastq --version
*****ERROR: Unrecognized parameter: --version *****
*****
*****ERROR: Need bam file (-i).
*****
*****
*****ERROR: Need -fq.
*****
Tool: bedtools bamtofastq (aka bamToFastq)
Version: v2.31.1
Summary: Convert BAM alignments to FASTQ files.
Usage: bamToFastq [OPTIONS] -i <BAM> -fq <FQ>
Options:
-fq2 FASTQ for second end. Used if BAM contains paired-end data.
BAM should be sorted by query name is creating paired FASTQ.
-tags Create FASTQ based on the mate info
in the BAM R2 and Q2 tags.
Tips:
If you want to create a single, interleaved FASTQ file
for paired-end data, you can just write both to /dev/stdout:
bedtools bamtofastq -i x.bam -fq /dev/stdout -fq2 /dev/stdout > x.ilv.fq
Also, the samtools fastq command has more fucntionality and is a useful alternative.
```
## Captured Help
```text
$ bamToFastq --help
*****ERROR: Unrecognized parameter: --help *****
*****
*****ERROR: Need bam file (-i).
*****
*****
*****ERROR: Need -fq.
*****
Tool: bedtools bamtofastq (aka bamToFastq)
Version: v2.31.1
Summary: Convert BAM alignments to FASTQ files.
Usage: bamToFastq [OPTIONS] -i <BAM> -fq <FQ>
Options:
-fq2 FASTQ for second end. Used if BAM contains paired-end data.
BAM should be sorted by query name is creating paired FASTQ.
-tags Create FASTQ based on the mate info
in the BAM R2 and Q2 tags.
Tips:
If you want to create a single, interleaved FASTQ file
for paired-end data, you can just write both to /dev/stdout:
bedtools bamtofastq -i x.bam -fq /dev/stdout -fq2 /dev/stdout > x.ilv.fq
Also, the samtools fastq command has more fucntionality and is a useful alternative.
```
## Captured Man Page
```text
No man page captured.
```
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: 198k | 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: 194k | 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: 194k | 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: 194k | Updated | Claude CodeCodex | Verified | Install |