-
Notifications
You must be signed in to change notification settings - Fork 23
reverse_seq
Martin Asser Hansen edited this page Oct 2, 2015
·
6 revisions
reverse_seq reverses sequences in the stream which is useful for extracting subsequences extract_seq also reverses quality scores if a SCORES key is found.
... | reverse_seq [options]
[-? | --help] # Print full usage description.
[-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.
To reverse sequences simply pipe the stream through reverse_seq:
... | reverse_seq
To reverse complement sequence first reverse the sequence with reverse_seq and then complement it using complement_seq (or visa versa):
... | reverse_seq | complement_seq
To obtain the last e.g. five residues from all sequences, first use reverse_seq, and then re-reverse with reverse_seq:
... | reverse_seq | extract_seq -l 5 | reverse_seq
Martin Asser Hansen - Copyright (C) - All rights reserved.
August 2007
GNU General Public License version 2
http://www.gnu.org/copyleft/gpl.html
reverse_seq is part of the Biopieces framework.