This guide explains how to locate the nucleotide sequence of a gene, a DNA segment, or an RNA transcript from public databases. You will learn the standard workflow—searching, filtering, and retrieving the exact sequence—so you can use it for primer design, cloning, sequence analysis, or simply to understand a genetic region. No special software is required; you only need a web browser and an internet connection.
What You’ll Need
- A web browser (Chrome, Firefox, Safari, or Edge).
- An identifier for your sequence: a gene name, a GenBank accession number (e.g., NM_001301717), or a chromosome coordinate (e.g., chr17:7,668,000-7,669,000).
- Optional: a sequence alignment tool (like BLAST) if you only have a protein sequence or a short DNA fragment.
Step-by-Step
- Choose a primary database. The most widely used are the NCBI Nucleotide database (part of GenBank), Ensembl, and UCSC Genome Browser. For most human or model-organism genes, NCBI and Ensembl are sufficient. Start with NCBI Nucleotide at ncbi.nlm.nih.gov/nucleotide.
- Run a basic search. In the search box, type your identifier. For example, type BRCA1 or NM_007294. Click “Search.” The results page lists matching records.
- Filter by organism and molecule type. Use the filters on the left sidebar: choose “Homo sapiens” under Organism, and “mRNA” or “Genomic DNA” under Molecule type. This narrows the list to the most relevant records.
- Select the correct record. Look for a RefSeq entry (prefix NM_, NR_, XM_, XR_, NG_, NC_) because these are curated and stable. For a protein-coding gene, an NM_ accession (mRNA) is usually ideal. Click on the accession number to open the full record.
- View the sequence. On the record page, scroll to the “FASTA” section or click the “FASTA” link in the top menu bar. The FASTA format starts with a line beginning with “>” (the header), followed by the nucleotide sequence in single-letter code (A, C, G, T). For RNA sequences, the letter T is replaced by U.
- Copy the sequence. Use the “Send to:” dropdown (top right) and choose “File” > “FASTA” to download, or simply highlight and copy the sequence text. Ensure you copy the entire coding region if you need the open reading frame.
- If you have no identifier but a protein sequence: Use BLAST (blast.ncbi.nlm.nih.gov). Choose “blastx” (translate nucleotide) or “tblastn” (search protein against nucleotide). Paste your protein sequence, select the organism, and run the search. The top hit will link to the nucleotide record.
- For a specific genomic region: Use the UCSC Genome Browser. Go to genome.ucsc.edu, select the genome (e.g., Human GRCh38), and type coordinates like chr17:43,000,000-43,200,000. Click “go,” then use the “View” menu to select “DNA” and get the sequence for that region.
Common Mistakes
- Using the wrong assembly version. Coordinates differ between GRCh37 and GRCh38. Always note the genome build.
- Choosing a genomic DNA record when you need the mRNA. Genomic DNA includes introns; the mRNA sequence is the spliced transcript.
- Ignoring the strand orientation. The sequence you retrieve is from the plus strand by default. If you need the reverse complement, use a tool like Sequence Manipulation Suite.
- Copying the sequence with line breaks or spaces. Most analysis tools accept FASTA format, but if you paste into a plain text box, remove line breaks.
- Not checking the “Reviewed” status. Some records are predicted (XM_ or XR_); they may be less reliable than NM_ entries.
Tips
- Use the RefSeq accession (NM_ for mRNA) because it is stable and well-annotated.
- If you need the coding sequence (CDS) only, look for the “CDS” feature in the GenBank view and extract that portion.
- For primers, you often want the sequence around the start codon. Use the “Graphics” view to see the CDS location.
- Download the sequence in FASTA format to keep the header information.
- If you are working with a non-model organism, search by gene name and organism; the results may be fewer but still available.
Troubleshooting
- No results found. Double-check spelling, try the gene symbol without punctuation, or use the organism name in the search. If you have a protein accession, use BLAST.
- Sequence looks too short or too long. Verify you selected the correct transcript variant. Many genes have multiple splice variants; choose the one that matches your expected protein length.
- The sequence contains “N” characters. This indicates ambiguous bases (unknown). If you need high-quality sequence, look for a record with fewer Ns, or use the reference genome.
- You cannot find the gene in Ensembl. Try NCBI or UCSC; databases sometimes differ in annotation.
- Coordinates do not match. Ensure you are using the same genome build as the database. Convert coordinates using the UCSC liftOver tool if needed.
Frequently Asked Questions
Q: What is the difference between NM_ and XM_ accessions?
NM_ indicates a curated, reviewed RefSeq transcript; XM_ is a predicted transcript from automated annotation. Prefer NM_ when available.
Q: How do I get the reverse complement of a sequence?
Use a tool like the Sequence Manipulation Suite or the “Reverse Complement” feature in BLAST. Paste your sequence and click the button.
Q: Can I find a nucleotide sequence from a protein sequence?
Yes, use BLAST with the protein sequence against the nucleotide database (tblastn). The top hit will show the corresponding nucleotide region.
Q: Why does the sequence have both T and U?
In DNA, thymine (T) is used; in RNA, uracil (U). Most databases give DNA sequences with T. If you need RNA, replace T with U.
Q: How do I extract the coding sequence (CDS) only?
In the GenBank view, the CDS feature is listed with coordinates (e.g., join(1..100, 200..300)). Use those coordinates to extract the sequence, or use a tool like ExPASy Translate.
Q: What if I only have a chromosome location?
Use the UCSC Genome Browser or NCBI’s Genome Data Viewer. Enter the coordinates and retrieve the sequence for that region.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this section
- DNA to RNA in the Nucleus: How Transcription Works0.2000 mol/L
- DNA Sequence Example Code: A Practical Guide0.2000 mol/L
- RNA Sequence Reverse Complement Tool
- DNA Sequence Quality Q15: What It Means
- T4 RNA Ligase 2 Sequence & Function15,485.0 g/mol
- T7 RNA Polymerase Sequence: Full Gene & Key Features97.5 kDa