Daniel Weinreich dmw at MCZ.HARVARD.EDU
Mon Feb 13 10:18:24 EST 1995

On 13 Feb 1995, vitor warwar wrote:

>      Hi all:
>      I have a file with app. 50 protein sequences in the Fasta
> format. I would like to reformat that to GCG format. Does anybody
> know how to to that?
>      Thanks,
>      Vitor
> --
> ______________________________________________________________________
>      Vitor Warwar / 406 Plant Sciences Hall / University of Nebraska
>      Lincoln NE 68593-0722 / USA / vwarwar at unlinfo.unl.edu
> _______________________________________________________________________

I presume yours are DNA sequences of proteins, and not AA sequences.  If
that's right, then you can use readseq, which can convert among about a
dozen formats including your two.  (Quite a handy tool to have on hand.)
readseq can handle multiple sequences in a single input file, though
apparently GCG format only permits one sequence per file, so readseq will
create a separate file for each sequence.

readseq is available lots of places via anonymous ftp, including good ol'
IUBIO (ftp.bio.indiana.edu).  In the directory /molbio/readseq you'll find
misc executables and even the source.

Daniel M. Weinreich			email: dmw at mcz.harvard.edu
Harvard University 			usmail: 26 Oxford Street
Museum of Comparative Zoology			Cambridge, MA 02138
voice: (617) 495-1954			fax: (617) 495-5667

More information about the Bio-soft mailing list

Send comments to us at biosci-help [At] net.bio.net