.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.1. .TH SAK "1" "September 2014" "sak 1.4.1+dfsg" "User Commands" .SH NAME sak \- Slicing and dicing of FASTA/FASTQ files.. .PP SYNOPSIS .IP sak [OPTIONS] [\eB\-o OUT.{fa,fq}] IN.{fa,fq} .PP DESCRIPTION .IP "It slices, it dices and it makes the laundry!" .IP Rewrite of the original SAK tool by Manuel Holtgrewe. .HP \fB\-h\fR, \fB\-\-help\fR .IP Displays this help message. .HP \fB\-\-version\fR .IP Display version information .IP Output Options: .HP \fB\-o\fR, \fB\-\-out\-path\fR FASTX .IP Path to the resulting file. If omitted, result is printed to stdout. Use files ending in .fq or . to write out FASTQ. Valid filetypes are: .fq, .fastq, .fa, .fasta, .faa, .ffn, .fna, and .frn. .HP \fB\-rc\fR, \fB\-\-revcomp\fR .IP Reverse\-complement output. .HP \fB\-l\fR, \fB\-\-max\-length\fR LEN .IP Maximal number of sequence characters to write out. .IP Filter Options: .HP \fB\-s\fR, \fB\-\-sequence\fR NUM .IP Select the given sequence for extraction by 0\-based index. .HP \fB\-sn\fR, \fB\-\-sequence\-name\fR NAME .IP Select sequence with name prefix being NAME. .HP \fB\-ss\fR, \fB\-\-sequences\fR RANGE .IP Select sequences from\-to where from and to are 0\-based indices. .HP \fB\-i\fR, \fB\-\-infix\fR RANGE .IP Select characters from\-to where from and to are 0\-based indices. .HP \fB\-ll\fR, \fB\-\-line\-length\fR LEN .IP Set line length in output file. See section Line Length for details. In range [\-1..inf]. .PP LINE LENGTH .IP You can use the setting \fB\-\-line\-length\fR for setting the resulting line length. By default, sequences in FASTA files are written with at most 70 characters per line and sequences in FASTQ files are written without any line breaks. The quality sequence in FASTQ file is written in the same way as the residue sequence. .IP The default is selected with a \fB\-\-line\-length\fR value of \fB\-1\fR and line breaks can be disabled with a value of 0. .PP USAGE EXAMPLES .IP sak \fB\-s\fR 10 IN.fa .IP Cut out 11th sequence from IN.fa and write to stdout as FASTA. .IP sak \fB\-ss\fR 10\-12 \fB\-ss\fR 100\-200 IN.fq .IP Cut out 11th up to and including 12th and 101th up to and including 199th sequence from IN.fq and write to stdout as FASTA. .PP VERSION .IP sak version: 0.2 Last update November 2012