Choose a tool for the question
A database search asks where similar sequences occur. An alignment compares sequences you have already selected. Neither operation, by itself, proves a biological function.
| Your question | Starting tool | Reason and limitation |
|---|---|---|
| DNA query versus a DNA database | NCBI BLASTn | Use megablast for close nucleotide matches; use a more sensitive blastn option when divergence is expected. Settings and query length affect what can be detected. |
| Protein query versus a protein database | NCBI BLASTp | A practical starting point for protein-family exploration. Inspect coverage and annotation quality, not only the first hit. |
| Possible coding DNA versus a protein database | NCBI BLASTx | Translates the nucleotide query in six frames. Confirm the appropriate genetic code; this is not a full gene-prediction pipeline. |
| Protein query versus nucleotide records | NCBI tBLASTn | Searches translated nucleotide sequences. Useful for finding candidate coding regions; gene structure needs further analysis. |
| Two related sequences of comparable extent | EMBOSS Needle | Global, end-to-end alignment. Poorly matched termini or domain architectures can make the result misleading. |
| Two sequences sharing only a region | EMBOSS Water | Local alignment of a high-scoring region; unaligned portions remain important. |
| Several comparable protein sequences | Clustal Omega | Multiple alignment for inspecting corresponding positions. A guide tree is not a statistically supported evolutionary reconstruction. |
Database choice is part of the method
For a first protein exercise, a reviewed collection such as UniProtKB/Swiss-Prot offers a manageable annotation context. A broader database can improve taxonomic coverage but introduces redundancy and variable annotation quality. Record the database name, release if provided, and search date. A top hit can change when the database changes.
Decision practice
You have a 1,200-nt fragment and suspect it encodes part of a protein, but do not know its reading frame. Which search would you start with?
Suggested answer
Start with BLASTx against an appropriate protein database, using the correct genetic code. Inspect the matched frame and the extent of the alignment. This is a search for candidate relationships, not evidence that the whole fragment is one intact gene.
You already have two full-length, similarly sized protein sequences and want to compare positions along their entire lengths. Which alignment is appropriate?
Suggested answer
A global alignment, such as EMBOSS Needle, is a reasonable starting point if the proteins have comparable domain architecture. Inspect the alignment for unsupported stretches rather than accepting the score alone.
Open the tools
Method references: NCBI program-selection guide; EMBL-EBI global and local alignment guidance.