Skip to content

Commit

Permalink
fix: number of orthogroups, add version number #19
Browse files Browse the repository at this point in the history
  • Loading branch information
tensulin committed Nov 19, 2024
1 parent 09383f4 commit 50d5452
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/marbel/data_generations.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from iss.app import generate_reads as gen_reads

from marbel.presets import AVAILABLE_SPECIES, model, pm, pg_overview, species_tree, PATH_TO_GROUND_GENES_INDEX, DGE_LOG_2_CUTOFF_VALUE
from marbel.presets import DEFAULT_PHRED_QUALITY, ErrorModel, LibrarySizeDistribution
from marbel.presets import DEFAULT_PHRED_QUALITY, ErrorModel, LibrarySizeDistribution, __version__


def draw_random_species(number_of_species):
Expand Down Expand Up @@ -367,6 +367,7 @@ def write_parameter_summary(number_of_orthogous_groups, number_of_species, numbe
result_file (file): The file to write the summary to.
"""
with open(f"{summary_dir}/marbel_params.txt", "w") as result_file:
result_file.write(f"Marbel version: {__version__}\n")
result_file.write(f"Number of orthogroups: {number_of_orthogous_groups}\n")
result_file.write(f"Number of species: {number_of_species}\n")
result_file.write(f"Number of samples: {number_of_sample}\n")
Expand Down
4 changes: 2 additions & 2 deletions src/marbel/presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from ete3 import Tree
from enum import Enum

__version__ = "0.1.1"
__version__ = "0.1.3"


CPMS_MEAN_LOG = 3.73411080985053
Expand All @@ -31,7 +31,7 @@


MAX_SPECIES = 614
MAX_ORTHO_GROUPS = 485687
MAX_ORTHO_GROUPS = 365813

data_package = str(resources.files(__package__) / 'data')

Expand Down

0 comments on commit 50d5452

Please sign in to comment.