Slicing and dicing of fasta/fastq files.. synopsis sak [options] [b-o out.{fa,fq}] in.{fa,fq} description "it slices, it dices and it makes the laundry!" rewrite of the original sak tool by manuel holtgrewe. -h, --help displays this help message. --version display version information output options: -o, --out-path fastx 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. -rc, --revcomp reverse-complement output. -l, --max-length len maximal number of sequence characters to write out. filter options: -s, --sequence num select the given sequence for extraction by 0-based index. -sn, --sequence-name name select sequence with name prefix being name. -ss, --sequences range select sequences from-to where from and to are 0-based indices. -i, --infix range select characters from-to where from and to are 0-based indices. -ll, --line-length len set line length in output file. see section line length for details. in range [-1..inf]. line length you can use the setting --line-length 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. the default is selected with a --line-length value of -1 and line breaks can be disabled with a value of 0. usage examples sak -s 10 in.fa cut out 11th sequence from in.fa and write to stdout as fasta. sak -ss 10-12 -ss 100-200 in.fq 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. version sak version: 0.2 last update november 2012