prettyseq

Function

Description

prettyseq reads a nucleotide sequence and writes an output file containing in a clean format the sequence with the translation (within specified ranges) displayed beneath it. The translated nucleic acid region is given lower-case letters with the rest of the input sequence left in the input case. A specified codon usage table is used to translate the codons.

Usage

Command line arguments


Input file format

prettyseq reads any nucleic acid sequence USA.

You can specifiy a file of ranges to extract by giving the '-range' qualifier the value '@' followed by the name of the file containing the ranges. (eg: '-range @myfile').

The format of the range file is:

An example range file is:


# this is my set of ranges
12   23
 4   5       this is like 12-23, but smaller
67   10348   interesting region

Output file format

Data files

The codon usage table is read by default from "Ehum.cut" in the 'data/CODONS' directory of the EMBOSS distribution. If the name of a codon usage file is specified on the command line, then this file will first be searched for in the current directory and then in the 'data/CODONS' directory of the EMBOSS distribution.

Notes

By default, the base and residue numbers of the sequence and its translation are shown beside the sequences in the output. There are options to change this behaviour.

The translation will be shown in a number of sequence regions only. The ranges are specified with the -range qualifier. As an alternative to specifying a set of ranges at the command-line, a range file containing such range data may be specified (see "Input File Format").

References

None.

Warnings

None.

Diagnostic Error Messages

"Range outside length of sequence" - this is self explanatory. You should specify a range of sequences to translate that is within the length of the input sequence.

Exit status

It always exits with a status of 0.

Known bugs

None.

showseq has more options for specifying various ways of displaying a sequence, with or without various ways of translating it.

Author(s)

History

Target users

Comments