#!/bin/bash
    if [ -z $1 ]
    then 
        echo "usage: $0 <fq file> > <fa file>" 
        exit $E_BADARGS 
    fi 
    
    cat $1 | awk '{print ">" substr($0,2);getline;print;getline;getline}'