Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :

Commit 6b41ea05 authored by Mathieu Giraud's avatar Mathieu Giraud

core/segment.cpp: rename 'checkUnsegmentationCause' to 'computeSegmentation'

The function actually checks if there is a segmentation, including the main Vend/Jstart computation.
parent 5401e2fe
......@@ -209,7 +209,7 @@ KmerSegmenter::KmerSegmenter(Sequence seq, IKmerStore<KmerAffect> *index,
strand = 2;
checkUnsegmentationCause(strand, delta_min, delta_max, s);
computeSegmentation(strand, delta_min, delta_max, s);
if (segmented)
......@@ -230,7 +230,10 @@ KmerSegmenter::~KmerSegmenter() {
delete kaa;
void KmerSegmenter::checkUnsegmentationCause(int strand, int delta_min, int delta_max, int s) {
void KmerSegmenter::computeSegmentation(int strand, int delta_min, int delta_max, int s) {
// Try to segment, computing 'Vend' and 'Jstart', and 'segmented'
// If not segmented, put the cause of unsegmentation in 'because'
segmented = true ;
because = 0 ; // Cause of unsegmentation
......@@ -162,7 +162,7 @@ class KmerSegmenter : public Segmenter
int getSegmentationStatus() const;
void checkUnsegmentationCause(int strand, int delta_min, int delta_max, int s);
void computeSegmentation(int strand, int delta_min, int delta_max, int s);
class FineSegmenter : public Segmenter
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