Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit dfdc129e authored by Mathieu Giraud's avatar Mathieu Giraud

core/affectanalyser.cpp: << for affect_infos

parent 0c3599c7
......@@ -12,6 +12,18 @@ bool operator==(const affect_infos &ai1, const affect_infos &ai2) {
}
ostream &operator<<(ostream &out, const affect_infos &a)
{
out << "$ " ;
out << "found " << a.max_found << ", " ;
out << "value " << a.max_value<< ", " ;
out << "pos " << a.first_pos_max << "-" << a.last_pos_max << ", " ;
out << "before " << a.nb_before_left << "/" << a.nb_before_right << ", " ;
out << "after " << a.nb_after_left << "/" << a.nb_after_right ;
out << endl ;
return out ;
}
KmerAffectAnalyser::KmerAffectAnalyser(IKmerStore<KmerAffect> &kms,
......
......@@ -31,6 +31,7 @@ typedef struct affect_infos_s {
} affect_infos;
bool operator==(const affect_infos &ai1, const affect_infos &ai2);
ostream &operator<<(ostream &out, const affect_infos &a);
/**
* Class that records for every k-mer of a given sequence
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment