msasim 24.13.0__cp311-cp311-musllinux_1_2_x86_64.whl → 25.3.0__cp311-cp311-musllinux_1_2_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of msasim might be problematic. Click here for more details.
- _Sailfish.cpython-311-x86_64-linux-musl.so +0 -0
- msasim/sailfish.py +8 -1
- {msasim-24.13.0.dist-info → msasim-25.3.0.dist-info}/METADATA +10 -2
- msasim-25.3.0.dist-info/RECORD +10 -0
- {msasim-24.13.0.dist-info → msasim-25.3.0.dist-info}/WHEEL +1 -1
- msasim-24.13.0.dist-info/RECORD +0 -10
- {msasim-24.13.0.dist-info → msasim-25.3.0.dist-info}/LICENSE +0 -0
- {msasim-24.13.0.dist-info → msasim-25.3.0.dist-info}/top_level.txt +0 -0
|
Binary file
|
msasim/sailfish.py
CHANGED
|
@@ -218,6 +218,7 @@ class SimProtocol:
|
|
|
218
218
|
insertion_rate: float = 0.0,
|
|
219
219
|
deletion_dist: Distribution = ZipfDistribution(1.7, 50),
|
|
220
220
|
insertion_dist: Distribution = ZipfDistribution(1.7, 50),
|
|
221
|
+
minimum_seq_size: int = 100,
|
|
221
222
|
seed: int = 0,
|
|
222
223
|
):
|
|
223
224
|
if isinstance(tree, Tree):
|
|
@@ -237,7 +238,8 @@ class SimProtocol:
|
|
|
237
238
|
self.set_insertion_rates(insertion_rate=insertion_rate)
|
|
238
239
|
self.set_deletion_length_distributions(deletion_dist=deletion_dist)
|
|
239
240
|
self.set_insertion_length_distributions(insertion_dist=insertion_dist)
|
|
240
|
-
|
|
241
|
+
self.set_min_sequence_size(min_sequence_size=minimum_seq_size)
|
|
242
|
+
|
|
241
243
|
def get_tree(self) -> Tree:
|
|
242
244
|
return self._tree
|
|
243
245
|
|
|
@@ -264,6 +266,11 @@ class SimProtocol:
|
|
|
264
266
|
def get_sequence_size(self) -> int:
|
|
265
267
|
return self._root_seq_size
|
|
266
268
|
|
|
269
|
+
def set_min_sequence_size(self, min_sequence_size: int) -> None:
|
|
270
|
+
self._sim.set_minimum_sequence_size(min_sequence_size)
|
|
271
|
+
self._min_seq_size = min_sequence_size
|
|
272
|
+
|
|
273
|
+
|
|
267
274
|
def set_insertion_rates(self, insertion_rate: Optional[float] = None, insertion_rates: Optional[List[float]] = None) -> None:
|
|
268
275
|
if insertion_rate is not None:
|
|
269
276
|
self.insertion_rates = [insertion_rate] * self._num_branches
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: msasim
|
|
3
|
-
Version:
|
|
3
|
+
Version: 25.3.0
|
|
4
4
|
Summary: A fast MSA simulator
|
|
5
5
|
Home-page: https://github.com/elyawy/Sailfish-backend
|
|
6
6
|
Author: Elya Wygoda
|
|
@@ -10,6 +10,14 @@ Description-Content-Type: text/markdown
|
|
|
10
10
|
License-File: LICENSE
|
|
11
11
|
Provides-Extra: test
|
|
12
12
|
Requires-Dist: pytest; extra == "test"
|
|
13
|
+
Dynamic: author
|
|
14
|
+
Dynamic: author-email
|
|
15
|
+
Dynamic: description
|
|
16
|
+
Dynamic: description-content-type
|
|
17
|
+
Dynamic: home-page
|
|
18
|
+
Dynamic: provides-extra
|
|
19
|
+
Dynamic: requires-python
|
|
20
|
+
Dynamic: summary
|
|
13
21
|
|
|
14
22
|
# Sailfish
|
|
15
23
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
_Sailfish.cpython-311-x86_64-linux-musl.so,sha256=GBlLBhoka43dSqPhDF9OY8ffThCZHGjAHZ-qxv2W42Q,1340897
|
|
2
|
+
msasim-25.3.0.dist-info/LICENSE,sha256=p1Aa_mM2Nu6dG3XqMVU62Jhf04lNOwtXUrhhvhcDips,10312
|
|
3
|
+
msasim-25.3.0.dist-info/WHEEL,sha256=bazm_2wUv8r3ZdI3EFF1W8XzzfWWNf0Zi3x2NpmmA_0,112
|
|
4
|
+
msasim-25.3.0.dist-info/RECORD,,
|
|
5
|
+
msasim-25.3.0.dist-info/top_level.txt,sha256=NS1ILx5V94Yyh_M7yDrrqbBPu1TL_zJuxhsI90YEJVY,17
|
|
6
|
+
msasim-25.3.0.dist-info/METADATA,sha256=Dy8qu-7ODzoc1DSfEaIEZeMon5dAOnSwPg_v83cIYnA,1644
|
|
7
|
+
msasim.libs/libgcc_s-a3a07607.so.1,sha256=5ptIUeAzZweNZrFehN0_Bb5B0FcJgux7NbAFoU8vwwo,148041
|
|
8
|
+
msasim.libs/libstdc++-496613c0.so.6.0.32,sha256=AwZhL5WFT99I2Q6vIxXOhW7qddfuOZ1xecxiP9QTVY4,3494361
|
|
9
|
+
msasim/sailfish.py,sha256=TOruxZZJC8De43Tx-wlgL0YlnwsJ092WLnYR6XHZX4M,26199
|
|
10
|
+
msasim/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
msasim-24.13.0.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
_Sailfish.cpython-311-x86_64-linux-musl.so,sha256=PwS_Nt3XKXT5UJFTNR0WTxY_9l8GmRwkPG_ymKobiq4,1340849
|
|
2
|
-
msasim.libs/libstdc++-496613c0.so.6.0.32,sha256=AwZhL5WFT99I2Q6vIxXOhW7qddfuOZ1xecxiP9QTVY4,3494361
|
|
3
|
-
msasim.libs/libgcc_s-a3a07607.so.1,sha256=5ptIUeAzZweNZrFehN0_Bb5B0FcJgux7NbAFoU8vwwo,148041
|
|
4
|
-
msasim/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
msasim/sailfish.py,sha256=o_6N1f1rFXgG0z_b17CJRC3wUzIcoKy__c6s1FroHgI,25901
|
|
6
|
-
msasim-24.13.0.dist-info/top_level.txt,sha256=NS1ILx5V94Yyh_M7yDrrqbBPu1TL_zJuxhsI90YEJVY,17
|
|
7
|
-
msasim-24.13.0.dist-info/RECORD,,
|
|
8
|
-
msasim-24.13.0.dist-info/LICENSE,sha256=p1Aa_mM2Nu6dG3XqMVU62Jhf04lNOwtXUrhhvhcDips,10312
|
|
9
|
-
msasim-24.13.0.dist-info/METADATA,sha256=EnhB_caqxOZOhmTtV7wOJSzEMx-HZyXE4OjlwKsVdVQ,1467
|
|
10
|
-
msasim-24.13.0.dist-info/WHEEL,sha256=xlZFz0OpWVCP3tw4yhNz35wYwmPRd-qlUAr-4_O4igQ,112
|
|
File without changes
|
|
File without changes
|