msasim 24.8.1__cp310-cp310-macosx_11_0_arm64.whl → 24.8.2__cp310-cp310-macosx_11_0_arm64.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-310-darwin.so +0 -0
- msasim/sailfish.py +8 -4
- {msasim-24.8.1.dist-info → msasim-24.8.2.dist-info}/METADATA +1 -1
- msasim-24.8.2.dist-info/RECORD +8 -0
- msasim-24.8.1.dist-info/RECORD +0 -8
- {msasim-24.8.1.dist-info → msasim-24.8.2.dist-info}/LICENSE +0 -0
- {msasim-24.8.1.dist-info → msasim-24.8.2.dist-info}/WHEEL +0 -0
- {msasim-24.8.1.dist-info → msasim-24.8.2.dist-info}/top_level.txt +0 -0
_Sailfish.cpython-310-darwin.so
CHANGED
|
Binary file
|
msasim/sailfish.py
CHANGED
|
@@ -10,6 +10,7 @@ from enum import Enum
|
|
|
10
10
|
MODEL_CODES = _Sailfish.modelCode
|
|
11
11
|
|
|
12
12
|
class SIMULATION_TYPE(Enum):
|
|
13
|
+
NOSUBS = 0
|
|
13
14
|
DNA = 1
|
|
14
15
|
PROTEIN = 2
|
|
15
16
|
|
|
@@ -413,13 +414,15 @@ class Simulator:
|
|
|
413
414
|
raise ValueError(f"failed to verify simProtocol")
|
|
414
415
|
|
|
415
416
|
if not simulation_type:
|
|
416
|
-
warnings.warn(f"simulation type not provided -> running
|
|
417
|
-
simulation_type = SIMULATION_TYPE.
|
|
417
|
+
warnings.warn(f"simulation type not provided -> running indel only simulation")
|
|
418
|
+
simulation_type = SIMULATION_TYPE.NOSUBS
|
|
418
419
|
|
|
419
420
|
if simulation_type == SIMULATION_TYPE.PROTEIN:
|
|
420
421
|
self._alphabet = _Sailfish.alphabetCode.AMINOACID
|
|
421
422
|
elif simulation_type == SIMULATION_TYPE.DNA:
|
|
422
423
|
self._alphabet = _Sailfish.alphabetCode.NUCLEOTIDE
|
|
424
|
+
elif simulation_type == SIMULATION_TYPE.NOSUBS:
|
|
425
|
+
self._alphabet = _Sailfish.alphabetCode.NULLCODE
|
|
423
426
|
else:
|
|
424
427
|
raise ValueError(f"unknown simulation type, please provde one of the following: {[e.name for e in SIMULATION_TYPE]}")
|
|
425
428
|
|
|
@@ -525,8 +528,9 @@ class Simulator:
|
|
|
525
528
|
self.get_sequences_to_save())
|
|
526
529
|
|
|
527
530
|
# sim.init_substitution_sim(mFac)
|
|
528
|
-
|
|
529
|
-
|
|
531
|
+
if self._simulation_type != SIMULATION_TYPE.NOSUBS:
|
|
532
|
+
substitutions = self.gen_substitutions(msa.get_length())
|
|
533
|
+
msa.fill_substitutions(substitutions)
|
|
530
534
|
|
|
531
535
|
Msas.append(msa)
|
|
532
536
|
return Msas
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
_Sailfish.cpython-310-darwin.so,sha256=laP3o4tMsb3G82_o33qzHi0uKXIAqwGhWcnhKzTMvnk,1030976
|
|
2
|
+
msasim-24.8.2.dist-info/RECORD,,
|
|
3
|
+
msasim-24.8.2.dist-info/LICENSE,sha256=p1Aa_mM2Nu6dG3XqMVU62Jhf04lNOwtXUrhhvhcDips,10312
|
|
4
|
+
msasim-24.8.2.dist-info/WHEEL,sha256=6rmwReypM7ePUybLxdjFOqbzieOVIFj4iouOv8YmcSc,109
|
|
5
|
+
msasim-24.8.2.dist-info/top_level.txt,sha256=NS1ILx5V94Yyh_M7yDrrqbBPu1TL_zJuxhsI90YEJVY,17
|
|
6
|
+
msasim-24.8.2.dist-info/METADATA,sha256=_QWIiT1s3BrrlEHtkV6meCXo8ECvIRBbp2hFaRnKbYQ,1467
|
|
7
|
+
msasim/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
+
msasim/sailfish.py,sha256=T8WrLsERNh4vQlqS3nM5dAo-MLdpVOVjNcOm49KKwaI,24764
|
msasim-24.8.1.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
_Sailfish.cpython-310-darwin.so,sha256=bEZjBDGGJfn1NqALn7UGYk9SJj6_iZ-hmUu35l9IAuA,1011664
|
|
2
|
-
msasim/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
msasim/sailfish.py,sha256=CYb-zMuUKtNt-sDeK9sawSD_7S2bf0ctqNnBPsZQbKs,24558
|
|
4
|
-
msasim-24.8.1.dist-info/RECORD,,
|
|
5
|
-
msasim-24.8.1.dist-info/LICENSE,sha256=p1Aa_mM2Nu6dG3XqMVU62Jhf04lNOwtXUrhhvhcDips,10312
|
|
6
|
-
msasim-24.8.1.dist-info/WHEEL,sha256=6rmwReypM7ePUybLxdjFOqbzieOVIFj4iouOv8YmcSc,109
|
|
7
|
-
msasim-24.8.1.dist-info/top_level.txt,sha256=NS1ILx5V94Yyh_M7yDrrqbBPu1TL_zJuxhsI90YEJVY,17
|
|
8
|
-
msasim-24.8.1.dist-info/METADATA,sha256=2ck3mfQWO0aL1zeFn0QN7H7QTajj5283MF-FoJI33QE,1467
|
|
File without changes
|
|
File without changes
|
|
File without changes
|