C: kmer similarity: small improvements

This commit is contained in:
Celine Mercier
2019-07-06 16:30:32 +02:00
parent f765c6f41e
commit 86bfa96fbe
2 changed files with 6 additions and 14 deletions

View File

@ -27,7 +27,7 @@
* @brief Alignment structure, with informations about the similarity and to rebuild the alignment.
*/
typedef struct Obi_ali {
double score; /**< Alignment score.
int score; /**< Alignment score, corresponding to the number of matches (identical nucleotides aligned).
*/
int consensus_length; /**< Length of the final consensus sequence.
*/
@ -37,10 +37,10 @@ typedef struct Obi_ali {
*/
uint8_t* consensus_qual; /**< Consensus quality built as to reconstruct a pairedend read.
*/
int shift; /**< Shift chosen to align the sequences (for shifted alignment).
int shift; /**< Shift chosen to align the sequences.
*/
char direction[6]; /**< Alignement direction (positive/right or negative/left shift) (for shifted alignment).
*/ // TODO but sequences switched around depending on size..... discuss
char direction[6]; /**< Alignment direction (positive/right or negative/left shift).
*/
} Obi_ali_t, *Obi_ali_p;