Overview
Region masking prevents primers from being placed in:- Repeat regions (detected as lowercase from RepeatMasker)
- Unknown regions (N-masked segments)
- Custom exclusions (BED file)
Usage
Use the--mask flag with primerlab run:
Mask Modes
| Mode | Description |
|---|---|
auto | Detect both lowercase and N regions |
lowercase | Only RepeatMasker-style lowercase |
n | Only N-masked regions |
none | No masking (default) |
BED File Support
Define custom exclusion zones with a BED file:Example Output
How It Works
- Detection — Identify masked regions in sequence
- Exclusion — Mark regions as off-limits for primers
- Design — Primer3 avoids placing primers in masked areas
- Report — Show which regions were excluded