Access Noteson Genomic Information Sources
Home/Topics/Sequence-analysis tools

Sequence-analysis tools

An overview of the kinds of sequence-analysis tools, the question each one answers, and good habits when chaining analyses together.

Sequence analysis means asking questions of a sequence with the help of a program. This page describes the main kinds of program, so you can match a question to a method. It does not offer any software itself.

Kinds of tool and the questions they answer

  • Database similarity search. Which known sequences resemble mine? Programs such as BLAST compare a query against a large collection and rank the matches.
  • Pairwise and multiple alignment. Exactly where do two or more sequences agree and differ? The guide on how sequence alignment works explains the idea.
  • Phylogenetic trees. How are these sequences related by evolution? A tree is built from an alignment and shows branching relationships.
  • Gene finding and translation. Where might genes lie in a stretch of DNA, and what protein would it encode? Translation reads the sequence three bases at a time.
  • Motif and domain search. Does this protein carry a known short pattern or family signature, such as those described in Pfam or PROSITE?
  • Primer design. Which short stretches would let a laboratory copy a chosen region?
  • Structure viewers. What shape does a protein take, and where are its parts in three dimensions?

Each kind of tool answers a narrow question, so choosing the right one starts with stating your question clearly. A vague question usually produces output that is hard to interpret.

Chaining analyses into workflows

Real questions rarely need only one program. A common chain is to search a database, collect the best matches, align them, and then build a tree. The output of each step becomes the input of the next.

Chains like this are called workflows. They can be run by hand, one step at a time, or written down as a script so that the same steps can be repeated on new data.

Record the version and the settings

Results depend on the program, its version, its settings and the database it searched. A different version or a changed threshold can give a different answer. For that reason, write down:

  1. The name and version of each program.
  2. Every setting you changed from the default.
  3. The database used and the version of the database.
  4. The date of the run and the exact input.

With this record, you or someone else can repeat the work and understand any difference.

Web interfaces and the command line

Many programs can be used through a web form, where you paste a sequence, choose options and read the results as a page. This is easy for a single query. A command line is usually better for many sequences, for repeated runs and for building workflows, because it can be scripted. The note on web interfaces and sequence analysis discusses the trade-offs.

Whatever the interface, remember that a program returns a result, not a conclusion. Check surprising output against the underlying records.

Where to go next

Learn how to judge the entries your searches return in reading a database record, or return to the topics overview.