Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c0ca8e80 authored by David Parsons's avatar David Parsons
Browse files

modify indiv4

make the WGD start within the genome rather that at OriC
parent 791321a3
No related branches found
No related tags found
No related merge requests found
...@@ -183,7 +183,7 @@ void IndividualTest::SetUp(void) { ...@@ -183,7 +183,7 @@ void IndividualTest::SetUp(void) {
indivs3.push_back(indiv3); indivs3.push_back(indiv3);
// Build indiv4 (reverse the whole genome of indiv3) // Build indiv4 (reverse the whole genome of indiv3)
auto genome4 = indiv3->annotated_chromosome_->dna_->subseq(indiv3->annotated_chromosome_->dna_->length() - 1, auto genome4 = indiv3->annotated_chromosome_->dna_->subseq(70,
indiv3->annotated_chromosome_->dna_->length(), indiv3->annotated_chromosome_->dna_->length(),
Strand::LAGGING); Strand::LAGGING);
auto indiv4 = Individual_7::make_from_sequence(1.0, fuzzy_factory, genome4.c_str(), genome4.size()); auto indiv4 = Individual_7::make_from_sequence(1.0, fuzzy_factory, genome4.c_str(), genome4.size());
...@@ -345,7 +345,7 @@ TEST_F(IndividualTest, TestIndiv4) { ...@@ -345,7 +345,7 @@ TEST_F(IndividualTest, TestIndiv4) {
EXPECT_EQ(1, rna_list.size()); EXPECT_EQ(1, rna_list.size());
const auto* rna = rna_list.front(); const auto* rna = rna_list.front();
EXPECT_EQ(Strand::LAGGING, rna->strand_); EXPECT_EQ(Strand::LAGGING, rna->strand_);
EXPECT_EQ(26, rna->prom->pos); EXPECT_EQ(16, rna->prom->pos);
EXPECT_FLOAT_EQ(0.8, rna->e); EXPECT_FLOAT_EQ(0.8, rna->e);
EXPECT_EQ(42, rna->length); EXPECT_EQ(42, rna->length);
...@@ -355,7 +355,7 @@ TEST_F(IndividualTest, TestIndiv4) { ...@@ -355,7 +355,7 @@ TEST_F(IndividualTest, TestIndiv4) {
const auto* prot = prot_list.front(); const auto* prot = prot_list.front();
EXPECT_EQ(Strand::LAGGING, prot->strand_); EXPECT_EQ(Strand::LAGGING, prot->strand_);
EXPECT_EQ(63, prot->protein_start); EXPECT_EQ(53, prot->protein_start);
EXPECT_EQ(4, prot->protein_length); EXPECT_EQ(4, prot->protein_length);
EXPECT_FLOAT_EQ(0.8, prot->e); EXPECT_FLOAT_EQ(0.8, prot->e);
EXPECT_EQ(true, prot->is_init_); EXPECT_EQ(true, prot->is_init_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment