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/lsSnpPdbChimera.h src/hg/inc/lsSnpPdbChimera.h index b9a2a5c..55b66bf 100644 --- src/hg/inc/lsSnpPdbChimera.h +++ src/hg/inc/lsSnpPdbChimera.h @@ -1,46 +1,49 @@ /* lsSnpPdbChimera - Code for interfacing to LS-SNP and Chimera. Generates * Chimera scripts to visualize proteins with SNPs annotated. Takes an * external python script that defines methods used in the rendering. The * generates a .chimerax file that contains the script as well as the code to * initialize Chimera for the specific PDB and SNP set. This also includes * interfacing to LS-SNP/PDB, which is used to label Chimera images. */ + +/* Copyright (C) 2009 The Regents of the University of California + * See README in this or parent directory for licensing information. */ #ifndef lsSnpPdbChimera_h #define lsSnpPdbChimera_h struct sqlConnection; struct tempName; void lsSnpPdbChimeraSnpAnn(struct sqlConnection *conn, char *pdbId, char *primarySnpId, struct tempName *outName); /* Generate a chimerax file for the given pdb with all non-synonymous SNPs * that have been mapped to this protein. If primarySnpId is not NULL, it is * colored differently than the other SNPs. Fills in outName structure. */ struct slName *lsSnpPdbChimeraGetSnpPdbs(struct sqlConnection *conn, char *snpId); /* get list of PDBs to which snpId is mapped. */ char *lsSnpPdbChimeraGetStructType(struct sqlConnection *conn, char *pdbId); /* Determine structure type of a PDB (NMR or X-Ray). Constant result, don't * free. */ boolean lsSnpPdbHasPdb(struct sqlConnection *conn, char *pdbId); /* determine if the specified PDB has any entries in LS-SNP */ char *lsSnpPdbGetUrlPdbSnp(char *pdbId, char *snpId); /* get LS-SNP/PDB URL for a particular PDB and/or SNP. One or the two * ids maybe null */ void lsSnpPdbChimeraGenericLink(char *pdbSpec, char *script, char *trashDirName, char *trashBaseName, struct tempName *chimerax); /* Generate a chimerax file for the given pdbSpec, which can be a PDB id or a * URL. Copies in the lsSnpPdbChimera.py file and then adds optional script python code. * Fills in chimerax structure. * FIXME: This is an experiment for H1N1 flu browser, this function has * nothing to do with LS/SNP. If we decide to keep this, this should be * split into a generic chimera module. */ #endif