-
Notifications
You must be signed in to change notification settings - Fork 23
write_solid
Martin Asser Hansen edited this page Oct 2, 2015
·
5 revisions
write_solid writes sequence from the data stream in SOLID format which is a color space model where each color can be one of two residues. Otherwise the format is identical to FASTA format ).
For more about the SOLID:
http://solid.appliedbiosystems.com/
... | write_solid [options]
[-? | --help] # Print full usage description.
[-x | --no_stream] # Do not emit records.
[-o <file> | --data_out=<file>] # Write result to file.
[-w <uint> | --wrap=<uint>] # Wrap sequences to a given width.
[-I <file!> | --stream_in=<file!>] # Read input from stream file - Default=STDIN
[-O <file> | --stream_out=<file>] # Write output to stream file - Default=STDOUT
[-Z | --compress] # Compress output using gzip.
[-v | --verbose] # Verbose output.
Consider the following FASTA entry in the file test.fna
:
>test
AAATGACTGCTAGTC
To read the entry we use read_fasta:
read_fasta -i test.fna | write_solid -x
>test
A00312121323212
Martin Asser Hansen - Copyright (C) - All rights reserved.
August 2007
GNU General Public License version 2
http://www.gnu.org/copyleft/gpl.html
write_solid is part of the Biopieces framework.