GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
blt fastx2tsv(1) FreeBSD General Commands Manual blt fastx2tsv(1)

blt fastx2tsv - Convert FASTA and FASTQ streams to TSV format

blt fastx2tsv < file.fastq > file.tsv
blt fastx2tsv < file.fasta > file.tsv

blt fastx2tsv converts a FASTA or FASTQ stream, possibly containing wrapped sequences and phred scores, into tab-separated data (TSV) for easier processing using standard tools such as awk, cut, etc. The TSV output of processing can be converted back to FASTA or FASTQ format using awk as follows:

awk -F '\t' '{ printf("%s\n%s\n", $1, $2); }' \

file.tsv > file.fasta awk -F '\t' '{ printf("%s\n%s\n%s\n%s\n", $1, $2, $3, $4); }' \
file.tsv > file.fastq

# Filter a FASTA file for sequences containing a pattern
blt fastx2tsv < file.fasta | \

awk -F '\t' '$2 ~ "ATTACGTAAC" { printf("%s\n%s\n", $1, $2); }' \
> filtered.fasta

blt-fastx-derep(1), blt-fastq-derep.sh(1)

J. Bacon

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.