ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/gdna.h
Revision: 171
Committed: Tue Feb 14 22:36:26 2012 UTC (7 years, 9 months ago) by gpertea
File size: 372 byte(s)
Log Message:
wip fqtrim

Line User Rev File contents
1 gpertea 2 #ifndef GDNA_H
2     #define GDNA_H
3     #include "GBase.h"
4    
5     char ntComplement(char c);
6    
7     //in-place reverse complement of a nucleotide (sub)sequence
8     char* reverseComplement(char* seq, int slen=0);
9    
10 gpertea 171 bool gDnaInit();
11 gpertea 2
12 gpertea 171 byte gdna2bit(char* &nt, int n=4); //pack n bases into a byte (n can be 1..4)
13     char g2bit2base(byte v2bit); //convert the 2-bit value into 'A', 'C', 'G' or 'T'
14    
15 gpertea 2 #endif