src/hg/blastToPsl/pslBuild.h 1.2

1.2 2010/04/16 17:32:12 markd
add options to convert TBLASTN to codon nucleotide/nucleotide coordinates, fixed bug with tStart/tEnd extending beyond actual range
Index: src/hg/blastToPsl/pslBuild.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/blastToPsl/pslBuild.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 1000000 -r1.1 -r1.2
--- src/hg/blastToPsl/pslBuild.h	8 Feb 2010 03:04:24 -0000	1.1
+++ src/hg/blastToPsl/pslBuild.h	16 Apr 2010 17:32:12 -0000	1.2
@@ -1,32 +1,33 @@
 /* object using in building a PSL from a blast record */
 #ifndef pslBuild_h
 #define pslBuild_h
 
 enum
 /* flags for build, including blast algorithm */
 {
-    blastn    = 0x01,   // blast algorithms
-    blastp    = 0x02,
-    blastx    = 0x04,
-    tblastn   = 0x10,
-    tblastx   = 0x20,
-    psiblast  = 0x40,
-    bldPslx   = 0x80,   // construct a PSLx with sequence
+    blastn       = 0x001,   // blast algorithms
+    blastp       = 0x002,
+    blastx       = 0x004,
+    tblastn      = 0x010,
+    tblastx      = 0x020,
+    psiblast     = 0x040,
+    bldPslx      = 0x080,   // construct a PSLx with sequence
+    cnvNucCoords = 0x100,
 };
 
 /* score file header */
 extern char *pslBuildScoreHdr;
 
 unsigned pslBuildGetBlastAlgo(char *program);
 /* determine blast algorithm flags */
 
 struct psl *pslBuildFromHsp(char *qName, int qSize, int qStart, int qEnd, char qStrand, char *qAln,
                             char *tName, int tSize, int tStart, int tEnd, char tStrand, char *tAln,
                             unsigned flags);
 /* construct a new psl from an HSP.  Chaining is left to other programs. */
 
 void pslBuildWriteScores(FILE* scoreFh, struct psl *psl, double bitScore, double eValue);
 /* write scores for a PSL */
 
 #endif