e70152e44cc66cc599ff6b699eb8adc07f3e656a kent Sat May 24 21:09:34 2014 -0700 Adding Copyright NNNN Regents of the University of California to all files I believe with reasonable certainty were developed under UCSC employ or as part of Genome Browser copyright assignment. diff --git src/hg/blastToPsl/pslBuild.h src/hg/blastToPsl/pslBuild.h index eadd18a..ad7c120 100644 --- src/hg/blastToPsl/pslBuild.h +++ src/hg/blastToPsl/pslBuild.h @@ -1,36 +1,39 @@ /* object using in building a PSL from a blast record */ + +/* Copyright (C) 2011 The Regents of the University of California + * See README in this or parent directory 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); /* 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