File: multi-extract.hh

package info (click to toggle)
tigr-glimmer 3.02b-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,928 kB
  • ctags: 2,492
  • sloc: cpp: 24,416; awk: 232; csh: 220; makefile: 156; sh: 61
file content (46 lines) | stat: -rw-r--r-- 875 bytes parent folder | download | duplicates (14)
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
35
36
37
38
39
40
41
42
43
44
45
46
//  A. L. Delcher
//
//  File:  multi-extract.hh
//
//  Last Modified:  Tue Aug  9 09:30:18 EDT 2005
//
//  Declarations for  multi-extract.cc



#ifndef  __MULTI_EXTRACT_HH_INCLUDED
#define  __MULTI_EXTRACT_HH_INCLUDED


#include  "delcher.hh"
#include  "fasta.hh"
#include  "gene.hh"


struct  Coord_Info_t
  {
   char  * id, * tag;
   long int  start, end;
   int  dir;
  };


static bool  By_Tag
    (Coord_Info_t const & a, Coord_Info_t const & b)
  {
   return  (strcmp (a . tag, b . tag) < 0);
  }



static void  Find_Matches
    (char * p, const vector <Coord_Info_t> & list, int & sub, int & num);
static void  Output_Subsequence
    (const string & seq, long int i, long int len, int incr,
     const char * id, const char * tag, long int start, long int end);
static void  Parse_Command_Line
    (int argc, char * argv []);
static void  Usage
    (void);

#endif