molecalculator

Moles & Molar Mass

How to Find a Gene Sequence

Guide 01-13656 · Updated · Step by step

This guide explains how to locate the DNA sequence of a specific gene using public databases. You will learn to search by gene name, symbol, or accession number, and retrieve the sequence in FASTA format. By the end, you will be able to find the coding sequence (CDS) or full genomic sequence for any gene in major model organisms.

What You’ll Need

  • A computer with internet access
  • The gene name, symbol, or a known accession number (e.g., TP53, BRCA1, or NM_000546)
  • Knowledge of the organism (e.g., human, mouse, E. coli)
  • A text editor or sequence viewer (like SnapGene, ApE, or even Notepad) to save and analyze the sequence

Step-by-Step

  1. Choose a database. The most commonly used is the National Center for Biotechnology Information (NCBI) Nucleotide database. For human genes, Ensembl or UCSC Genome Browser are also excellent. For this guide, we’ll use NCBI Nucleotide.
  2. Open the NCBI Nucleotide search page. Go to https://www.ncbi.nlm.nih.gov/nucleotide/ in your browser.
  3. Enter your search terms. Type the gene symbol (e.g., TP53) and the organism (e.g., Homo sapiens) in the search box. You can also include the word “complete cds” to filter for full coding sequences. Example: TP53 Homo sapiens complete cds.
  4. Run the search. Click the “Search” button. You’ll see a list of results, each with an accession number (like NM_000546), a description, and the organism.
  5. Identify the correct record. Look for a record labeled mRNA or complete cds for your gene. For human TP53, the canonical transcript is NM_000546.6. Check the organism matches yours.
  6. Open the record. Click on the accession number to view the full record. This page shows the sequence, features (like exons and CDS), and links to related databases.
  7. Locate the FASTA sequence. Scroll down to the “ORIGIN” section, or click the “FASTA” link near the top of the page. FASTA format starts with a > line containing the accession and description, followed by the sequence in lines of 60 or 80 letters.
  8. Copy the sequence. Select the entire FASTA text (including the header line) and copy it to your clipboard.
  9. Save or use the sequence. Paste it into a text file or your favorite sequence analysis tool. You can now BLAST it, translate it, design primers, or align it.
  10. For genomic sequences (including introns): Use the NCBI Gene database instead. Search for your gene, click on the “GenBank” link in the “Genomic regions, transcripts, and products” section. This gives the full genomic DNA sequence.

Common Mistakes

  • Choosing the wrong organism: Many genes have similar names across species. Always verify the organism in the record.
  • Selecting a partial sequence: Some records are only fragments (e.g., “partial cds”). For a full gene, look for “complete cds” or “full length.”
  • Copying only the sequence, not the header: The header line (starting with >) contains essential identifiers. Always include it when saving or submitting.
  • Confusing mRNA with genomic DNA: mRNA sequences have exons only, while genomic DNA includes introns. Know which one you need for your experiment.
  • Ignoring transcript variants: Many genes have multiple splice variants. Check the RefSeq transcript number (e.g., NM_000546.6 vs. NM_001126112.2) to ensure you get the isoform you want.

Tips

  • Use the NCBI Gene database first to find the official symbol and a list of transcripts. Then click on the desired transcript’s accession to get its sequence.
  • For human genes, use the GRCh38 reference genome coordinates if you need genomic context.
  • If you need the coding sequence (CDS) only, look for the “CDS” feature in the GenBank record and extract that subsequence. Many tools can do this automatically.
  • Download the sequence in FASTA format using the “Send to” button, choosing “File” and “FASTA” as the format. This avoids copy-paste errors.
  • For non-model organisms, search using the gene name and the species name; if no results, try the protein name or a homologous gene from a related species.

Troubleshooting

  • No results found: Try different search terms: use the gene’s full name (e.g., “tumor protein p53”), or search in the NCBI Gene database first to find the correct symbol. Check spelling, as some genes have unusual symbols.
  • Too many results: Add filters like “Homo sapiens” and “mRNA” to narrow down. Use the “RefSeq” filter on the left sidebar to show only curated records.
  • Sequence is very long (genomic DNA): If you only need the coding region, look for the “CDS” feature and extract that portion. Alternatively, use the Ensembl transcript page which shows the CDS sequence separately.
  • Sequence appears to be from a different gene: Verify the gene name and organism. Sometimes records are misannotated. Cross-check with the NCBI Gene page.
  • You need the sequence for a specific variant (SNP): Use the dbSNP database or tools like Ensembl’s variant effect predictor to get the alternate allele sequence.

Frequently Asked Questions

Q: What is a FASTA format?
A: FASTA is a plain text format where the first line starts with a > symbol followed by a description, and the subsequent lines contain the nucleotide or protein sequence. It is the standard for sequence exchange.

Q: Can I find the gene sequence for any organism?
A: Yes, if the organism’s genome has been sequenced and deposited in public databases. For well-studied organisms like human, mouse, and E. coli, sequences are almost always available.

Q: What is the difference between an mRNA sequence and a genomic sequence?
A: mRNA sequence (cDNA) contains only the exons, while genomic sequence includes introns and regulatory regions. If you want to express a protein, you need the mRNA/CDS sequence.

Q: How do I get only the coding sequence (CDS)?
A: In the GenBank record, look for the CDS feature. You can click on it to see the coordinates, then extract that substring. Some tools like NCBI’s ORFfinder can also predict CDS from genomic DNA.

Q: What if the gene has multiple transcript variants?
A: Each variant has a distinct RefSeq accession (e.g., NM_000546 vs. NM_001126112). Choose the one that matches your research needs, often the one labeled “canonical” or with the highest support.

Q: Can I find the sequence using just the protein name?
A: Yes, search the protein name in the NCBI Protein database, then use the “Gene” link to navigate to the corresponding nucleotide sequence.

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

The whole Moles & Molar Mass section →