diff --git a/src/marbel/data_generations.py b/src/marbel/data_generations.py index 9e17e9f..b438b76 100644 --- a/src/marbel/data_generations.py +++ b/src/marbel/data_generations.py @@ -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): @@ -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") diff --git a/src/marbel/presets.py b/src/marbel/presets.py index 28a8381..aef3553 100644 --- a/src/marbel/presets.py +++ b/src/marbel/presets.py @@ -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 @@ -31,7 +31,7 @@ MAX_SPECIES = 614 -MAX_ORTHO_GROUPS = 485687 +MAX_ORTHO_GROUPS = 365813 data_package = str(resources.files(__package__) / 'data')