| name | nuc-bed |
| description | Use when profiling nucleotide content (AT/GC percentages, base counts) of genomic intervals against a FASTA reference. |
| disable-model-invocation | true |
| user-invocable | true |
nuc-bed
Quick Start
- Command:
nucBed -fi reference.fa -bed intervals.bed [options]
- Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/nucBed
- Full reference: See
references/help.md
When To Use This Tool
- Compute AT / GC fraction and base counts for genomic intervals.
- Profile interval sequence composition against a reference FASTA.
- Extract sequence alongside composition with
-seq.
- Count user-defined sequence motifs with
-pattern, optionally case-insensitive via -C.
Common Patterns
nucBed \
-fi reference.fa \
-bed peaks.bed
nucBed \
-fi reference.fa \
-bed transcripts.bed \
-s \
-seq
nucBed \
-fi reference.fa \
-bed peaks.bed \
-pattern CG \
-C
Recommended Workflow
- Ensure FASTA headers and interval chromosome names refer to the same coordinate system.
- Start with the default composition output before adding sequence extraction or motif counting.
- Add
-s only when the strand of the intervals matters for interpretation.
- Validate a few rows manually when motif counts or sequence extraction drive downstream conclusions.
Guardrails
-fi and -bed are both required.
-pattern is case-sensitive unless -C is added.
-fullHeader changes FASTA header matching behavior; use it only if the interval identifiers depend on full deflines rather than the first token.
-seq increases output width substantially by appending extracted sequence text.
- Prefer
-h for help; GNU-style --help / --version calls on these wrappers are noisy.