Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aevol-eukaryotes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LUISELLI Juliette
aevol-eukaryotes
Commits
24d13a0d
Commit
24d13a0d
authored
1 year ago
by
LUISELLI Juliette
Browse files
Options
Downloads
Patches
Plain Diff
add recombinations_ to DnaReplicationReport
parent
cb0a1fd3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/libaevol/io/DnaReplicationReport.cpp
+7
-0
7 additions, 0 deletions
src/libaevol/io/DnaReplicationReport.cpp
src/libaevol/io/DnaReplicationReport.h
+9
-0
9 additions, 0 deletions
src/libaevol/io/DnaReplicationReport.h
with
16 additions
and
0 deletions
src/libaevol/io/DnaReplicationReport.cpp
+
7
−
0
View file @
24d13a0d
...
...
@@ -45,6 +45,7 @@
#include
"SmallDeletion.h"
#include
"PointMutation.h"
#include
"SmallInsertion.h"
#include
"Recombination.h"
namespace
aevol
{
...
...
@@ -55,6 +56,9 @@ void DnaReplicationReport::clear() {
ht_
.
clear
();
rearrangements_
.
clear
();
mutations_
.
clear
();
#ifdef __EUKARYOTE
recombinations_
.
clear
();
#endif
nb_mut_
[
SWITCH
]
=
0
;
nb_mut_
[
S_INS
]
=
0
;
...
...
@@ -65,6 +69,9 @@ void DnaReplicationReport::clear() {
nb_mut_
[
INV
]
=
0
;
nb_mut_
[
INS_HT
]
=
0
;
nb_mut_
[
REPL_HT
]
=
0
;
#ifdef __EUKARYOTE
nb_mut_
[
RECOMB
]
=
0
;
#endif
}
DnaReplicationReport
::
DnaReplicationReport
(
const
DnaReplicationReport
&
other
)
{
...
...
This diff is collapsed.
Click to expand it.
src/libaevol/io/DnaReplicationReport.h
+
9
−
0
View file @
24d13a0d
...
...
@@ -34,6 +34,7 @@
#include
"LocalMutation.h"
#include
"HorizontalTransfer.h"
#include
"Rearrangement.h"
#include
"Recombination.h"
namespace
aevol
{
...
...
@@ -74,6 +75,11 @@ class DnaReplicationReport {
const
std
::
list
<
std
::
unique_ptr
<
const
HorizontalTransfer
>>&
HT
()
const
{
return
ht_
;
};
#ifdef __EUKARYOTE
const
std
::
list
<
std
::
unique_ptr
<
const
Recombination
>>&
recombinations
()
const
{
return
recombinations_
;
};
#endif
int32_t
nb
(
MutationType
t
)
const
;
// Public Methods
...
...
@@ -105,6 +111,9 @@ class DnaReplicationReport {
std
::
list
<
std
::
unique_ptr
<
const
LocalMutation
>>
mutations_
;
std
::
list
<
std
::
unique_ptr
<
const
Rearrangement
>>
rearrangements_
;
std
::
list
<
std
::
unique_ptr
<
const
HorizontalTransfer
>>
ht_
;
#ifdef __EUKARYOTE
std
::
list
<
std
::
unique_ptr
<
const
Recombination
>>
recombinations_
;
#endif
// Number of mutations/rearrangements/HT of each (simple) type undergone
int32_t
nb_mut_
[
10
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment