lib/aliType.c File Reference

#include "common.h"
#include "aliType.h"

Include dependency graph for aliType.c:

Go to the source code of this file.

Functions

char * gfTypeName (enum gfType type)
enum gfType gfTypeFromName (char *name)

Variables

static char const rcsid [] = "$Id: aliType.c,v 1.4 2003/05/06 07:33:41 kate Exp $"


Function Documentation

enum gfType gfTypeFromName ( char *  name  ) 

Definition at line 19 of file aliType.c.

References errAbort(), gftDna, gftDnaX, gftProt, gftRna, gftRnaX, and sameWord.

Referenced by gfClient(), main(), pslxFileOpen(), and pslxFileOpenWithMetaConfig().

00021 {
00022 if (sameWord(name, "DNA")) return gftDna;
00023 if (sameWord(name, "RNA")) return gftRna;
00024 if (sameWord(name, "protein")) return gftProt;
00025 if (sameWord(name, "prot")) return gftProt;
00026 if (sameWord(name, "DNAX")) return gftDnaX;
00027 if (sameWord(name, "RNAX")) return gftRnaX;
00028 errAbort("Unknown sequence type '%s'", name);
00029 return 0;
00030 }

Here is the call graph for this function:

Here is the caller graph for this function:

char* gfTypeName ( enum gfType  type  ) 

Definition at line 7 of file aliType.c.

References gftDna, gftDnaX, gftProt, gftRna, gftRnaX, and internalErr.

Referenced by pslxWriteHead().

00009 {
00010 if (type == gftDna) return "DNA";
00011 if (type == gftRna) return "RNA";
00012 if (type == gftProt) return "protein";
00013 if (type == gftDnaX) return "DNAX";
00014 if (type == gftRnaX) return "RNAX";
00015 internalErr();
00016 return NULL;
00017 }

Here is the caller graph for this function:


Variable Documentation

char const rcsid[] = "$Id: aliType.c,v 1.4 2003/05/06 07:33:41 kate Exp $" [static]

Definition at line 5 of file aliType.c.


Generated on Tue Dec 25 19:31:46 2007 for blat by  doxygen 1.5.2