Autogenewise.sh

#!/bin/bash

for proteins in subseq/*.fa ; do {

protein="basename $proteins"

protein=${protein%.fa}

prot=${protein%_*}

genewise -pep -pretty -cdna -gff -both Libreria/$prot.fa subseq/$protein.fa > genewise/$protein.fa

} done