bea3a22e1454e8fee62a026ffcec8c57af4005be
markd
  Sat Jun 6 13:46:13 2026 -0700
added -tsv option blastToPsl and blastXmlToPsl to allow parsing scores with other programs

diff --git src/hg/blastToPsl/pslBuild.h src/hg/blastToPsl/pslBuild.h
index dc988059408..11cc670f858 100644
--- src/hg/blastToPsl/pslBuild.h
+++ src/hg/blastToPsl/pslBuild.h
@@ -1,39 +1,39 @@
 /* object using in building a PSL from a blast record */
 
 /* Copyright (C) 2011 The Regents of the University of California 
  * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
 #ifndef pslBuild_h
 #define pslBuild_h
 
 enum
 /* flags for build, including blast algorithm */
 {
     blastn       = 0x001,   // blast algorithms
     blastp       = 0x002,
     blastx       = 0x004,
     tblastn      = 0x010,
     tblastx      = 0x020,
     psiblast     = 0x040,
     bldPslx      = 0x080,   // construct a PSLx with sequence
     cnvNucCoords = 0x100,
 };
 
 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. */
 
-FILE *pslBuildScoresOpen(char *scoreFile, boolean inclDefs);
+FILE *pslBuildScoresOpen(char *scoreFile, boolean inclDefs, boolean isTsv);
 /* open score file and write headers */
 
 void pslBuildScoresWrite(FILE* scoreFh, struct psl *psl, double bitScore, double eValue);
 /* write scores for a PSL */
 
 void pslBuildScoresWriteWithDefs(FILE* scoreFh, struct psl *psl, double bitScore, double eValue, char *qDef, char *tDef);
 /* write scores and definitions for a PSL */
 
 #endif