💡 Quick Summary
Window Extractor DNA accepts a DNA sequence along with a window size, a position, and an anchor mode (centered on / ending with / starting with). The bases within the window are returned either as a new sequence, as uppercase text within the full sequence, or as lowercase text within the full sequence. Useful for extracting subsequences using position information.
📋 How to Use
- Paste a raw DNA sequence or one or more FASTA sequences into the input area. Input limit is 500,000,000 characters.
- Set the Window size — the number of bases to extract (default 61).
- Choose an Anchor: Centered on places the window symmetrically around the position; Ending with makes the position the last base of the window; Starting with makes the position the first base of the window.
- Set the Position — the 1-based anchor position within the sequence (default 50).
- Choose a Strand: Direct returns the sequence as-is; Complement returns the reverse complement of the extracted window.
- Choose an Output mode: New sequence returns only the window bases as a FASTA entry; Uppercased in context returns the full sequence with the window in uppercase; Lowercased in context returns the full sequence with the window in lowercase.
- Click Run. Each input sequence produces one output FASTA entry.
- Use the Copy button to copy the result to your clipboard.
- Click Load Example to try with a sample 190-base sequence, window size 61, centered on position 50.
🧮 Formulas & Logic
📊 Result Interpretation
Number of FASTA records successfully processed.
The window size, anchor position, and anchor mode used for this run.
🔬 Applications
- Extracting a fixed-size neighbourhood around a SNP or mutation site for primer design or visual inspection
- Obtaining the sequence context around a restriction site or transcription factor binding position
- Cutting out a defined window for motif scanning or local alignment
- Generating uppercase-highlighted views of a feature within its genomic context for publication figures
- Retrieving the complement-strand window around a known antisense element
⚠️ Common Mistakes & Warnings
If the computed window extends beyond the start or end of the sequence it is automatically clamped. The actual extracted length may therefore be shorter than the requested window size, and this is reflected in the FASTA title of the output.
Any character that is not a valid IUPAC DNA/RNA letter is removed from the sequence before extraction. Digits, whitespace, and punctuation are all stripped automatically.
If the anchor position is greater than the sequence length the record is skipped and a warning is shown. Positions start at 1.