24 #ifndef _CLONOTYPE_BUILDER_H 25 #define _CLONOTYPE_BUILDER_H 28 #include "clonotype.h" 29 #include "vdj_alignment_builder.h" 58 return Clonotype(_sequence, _seq_type, _recomb, this->buildAlignment());
65 ClonotypeBuilder& setSequence(
const std::string& seq) { this->_sequence = seq;
return *
this; }
68 ClonotypeBuilder& setSequenceType(SequenceType seq_type) { _seq_type = seq_type;
return *
this; }
70 ClonotypeBuilder& setNucleotideSeq() { _seq_type = NUCLEOTIDE;
return *
this; }
74 ClonotypeBuilder& setRecombination(Recombination recomb) { _recomb = recomb;
return *
this; }
Definition: clonotype.h:46
Definition: vdj_alignment_builder.h:35
Definition: clonotype_builder.h:37
VDJAlignmentBuilder()
Move constructor for _segments, _alignments and _n_D_alignments.
Definition: vdj_alignment_builder.h:40
Clonotype buildClonotype()
Build clone alignment structure with stored information.
Definition: clonotype_builder.h:55