1 // This file is part of the Mussa source distribution.
2 // http://mussa.caltech.edu/
3 // Contact author: Tristan De Buysscher, tristan@caltech.edu
5 // This program and all associated source code files are Copyright (C) 2005
6 // the California Institute of Technology, Pasadena, CA, 91125 USA. It is
7 // under the GNU Public License; please see the included LICENSE.txt
8 // file for more information, or contact Tristan directly.
11 // ----------------------------------------
12 // ---------- sequence.hh -----------
13 // ----------------------------------------
25 // Sequence data class
37 friend class ConnView;
49 void motif_scan(string a_motif, vector<int> * motif_match_starts);
50 string rc_motif(string a_motif);
51 string motif_validate(string a_motif);
55 string load_fasta(string file_path, int seq_num,
56 int start_index, int end_index);
57 string load_annot(string file_path, int start_index, int end_index);
59 string subseq(int start, int end);
64 void set_seq(string a_seq);
65 vector<int> find_motif(string a_motif);
68 void save(fstream &save_file);
69 void load_museq(string load_file_path, int seq_num);