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/inc/baseMaskCommon.h src/hg/inc/baseMaskCommon.h index 1d5010c..a95b69e 100644 --- src/hg/inc/baseMaskCommon.h +++ src/hg/inc/baseMaskCommon.h @@ -1,26 +1,29 @@ /* baseMaskCommon - functions to create genomeRangeTree baseMask files to/from database tracks. */ + +/* Copyright (C) 2008 The Regents of the University of California + * See README in this or parent directory for licensing information. */ #ifndef BASEMASKCOMMON_H #define BASEMASKCOMMON_H void splitDbTable(char *chromDb, char *track, char **pDb, char **pTable); /* split the track into db name and table name. * If no db specified then this will be chromDb. * Cannabalizes track. * *pDb points a table in *track. *pTable points at database in *track or *chromDb. */ void trackToBaseMask(char *db, char *track, char *chromDb, char *oBama, boolean quiet); /* Create a baseMask file oBama representing the 'track' in database 'db'. * If quiet = false, outputs number of based on overlap of chromosome ranges. */ char *baseMaskCacheTrack(char *cacheDir, char *chromDb, char *db, char *table, boolean quiet, boolean logUpdateTimes); /* Return the file name of the cached baseMask for the specified table and db. * The chromInfo table is read from chromDb database. * The cached file will be saved in the file cacheDir/db/table.bama * If logUpdateTimes is true then the table and cache update times will be * appended to cacheDir/db/table.bama.log * The bama file is written as a temp file then moved to the final name as * an atomic operation. * Return value must be freed with freeMem(). */ #endif /* BASEMASKCOMMON_H */