-
Notifications
You must be signed in to change notification settings - Fork 23
translate_seq
Martin Asser Hansen edited this page Oct 2, 2015
·
5 revisions
translate_seq translate DNA sequence in the stream to protein in specified reading frames.
Stop codons are indicated by *
.
... | translate_seq [options]
[-? | --help] # Print full usage description.
[-f <list> | --frames=<list>] # Comma separated list of frames of translation: 1,2,3,-1,-2,-3 - Default=all
[-I <file!> | --stream_in=<file!>] # Read input from stream file - Default=STDIN
[-O <file> | --stream_out=<file>] # Write output to stream file - Default=STDOUT
[-v | --verbose] # Verbose output.
Consider the following FASTA entry in the file test.fna
:
>test1
ATGCACATTCGACTAGCATCGACGACGCGAGCGACGACGACGATGCGACTAGCTTA
Use read_fasta to obtain the translated sequence in all six reading frames: read_fasta -i test.fna | translate_seq
To obtain only the first forward and first reverse translations, do:
{{{ read_fasta -i test.fna | translate_seq -f '1,-1'
}}}
==See also==
==Author==
Martin Asser Hansen - Copyright (C) - All rights reserved.
August 2007
==License==
GNU General Public License version 2
http://www.gnu.org/copyleft/gpl.html
==Help==
translate_seq is part of the Biopieces framework.