#include "utils.h"
+/**
+ If no genome is provided, seqname field is used to store the allele name.
+ */
+
struct Interval {
int start, end;
}
bool operator< (const Transcript& o) const {
- return gene_id < o.gene_id || (gene_id == o.gene_id && transcript_id < o.transcript_id);
+ return gene_id < o.gene_id || (gene_id == o.gene_id && transcript_id < o.transcript_id) || (gene_id == o.gene_id && transcript_id == o.transcript_id && seqname < o.seqname);
}
const std::string& getTranscriptID() const { return transcript_id; }