File: genepred.h

package info (click to toggle)
phast 1.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,008 kB
  • sloc: ansic: 54,195; makefile: 358; sh: 337; perl: 321
file content (34 lines) | stat: -rw-r--r-- 1,104 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/***************************************************************************
 * PHAST: PHylogenetic Analysis with Space/Time models
 * Copyright (c) 2002-2005 University of California, 2006-2010 Cornell 
 * University.  All rights reserved.
 *
 * This source code is distributed under a BSD-style license.  See the
 * file LICENSE.txt for details.
 ***************************************************************************/

/** @file genepred.h
    Reading and writing of genepred files, used for UCSC Genome Browser.
    \ingroup feature
*/

#ifndef GENEPRED_H
#define GENEPRED_H

#include <gff.h>

/** Fill out a GFF_Set from a genepred file.
  @param[in] F Gff file to read from
  @param[out] gff Gff object populated with data from file F
 */
void gff_read_from_genepred(GFF_Set *gff, FILE *F);

/** Write a GFF_Set in genepred format.
    @pre Features must already be grouped as desired.
    @param OUTF Output Stream
    @param feats Set to write to output stream
    @note Features will be sorted within groups as a side effect.
*/
void gff_print_genepred(FILE *OUTF, GFF_Set *feats);

#endif