Nihongo

fastapl and fastqpl

What?

fastapl: FASTA Perl Loop, a tool for processing multifasta data. Pronounced as "fast apple". and its companion program fastqpl, pronounced "fast Q-ple", for fastq format data.

First Glimpse

fastapl  -pe '$seq = reverse $seq; $seq =~ tr/acgtACGT/tgcaTGCA/'  in.fasta  >  out.fasta
Reverse complements DNA sequences.

fastapl  -ge '$seq !~ /^M/'
Print records of sequences not starting with 'M'.

 

Contents

Required Modules

IO::File, Getopt::Long, Pod::Usage, Text::Balanced. All are available via apt-get or directly from CPAN.

Recommended Modules

fastaplAmino
More::Util -- available via apt-get or directly from
CPAN.

Related Resources

fastapl and fasqpl are small, self-contained tools; mostly designed for ad hoc tasks. For a more structured approach, several software libraries and tool packages exist. Here I list a few obviously relevant ones.
Nihongo
CBRC AIST Logo Copyright (C) National Institute of Advanced Science and Technology (AIST), Computational Biology Research Center (CBRC). All Rights Reserved.