FetchSequence.c | geneid v 1.1 source documentation |
Description: |
Prepare the input sequence (changing lower to upper cases, if needed),
producing the reverse sense sequence which will be processed in parallel with
the original sequence.
|
Briefing: |
int complement(int c) |
Return the complementary nucleotide to c.
|
long FetchSequence(char *s, char* r) |
Running from both ends in the input sequence, reversing and complementing
the nucleotides to produce the reverse sense sequence. Return the length of
both sequences. Output sequence has been previously allocated.
|
void ReverseSubSequence(long p1, long p2, char* s, char* r) |
Reverse and complement a fragment of DNA from p1 to p2 in the input sequence.
Output sequence has been previously allocated.
|
Enrique Blanco Garcia © 2001