Commit 2e342bed authored by Mikaël Salson's avatar Mikaël Salson

kmerstore: Add isAmbiguous function for compatibility reasons

parent 26b013eb
Pipeline #130976 failed with stages
in 24 minutes and 41 seconds
...@@ -61,6 +61,9 @@ bool Kmer::isNull() const{ ...@@ -61,6 +61,9 @@ bool Kmer::isNull() const{
bool Kmer::isUnknown() const{ bool Kmer::isUnknown() const{
return false; return false;
} }
bool Kmer::isAmbiguous() const{
return false;
}
ostream &operator<<(ostream &os, const Kmer &kmer) { ostream &operator<<(ostream &os, const Kmer &kmer) {
os << kmer.count << ","; os << kmer.count << ",";
......
...@@ -52,6 +52,11 @@ public: ...@@ -52,6 +52,11 @@ public:
* it only there for a reason of compatibility with KmerAffect) * it only there for a reason of compatibility with KmerAffect)
*/ */
bool isUnknown() const; bool isUnknown() const;
/**
* @return true iff the kmer is ambiguous (which doesn't make sense here but
* it only there for a reason of compatibility with KmerAffect)
*/
bool isAmbiguous() const;
} ; } ;
ostream &operator<<(ostream &os, const Kmer &kmer); ostream &operator<<(ostream &os, const Kmer &kmer);
bool operator==(const Kmer &k1, const Kmer &k2); bool operator==(const Kmer &k1, const Kmer &k2);
......
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