msasim 2024.5.22__tar.gz → 2024.5.221247__tar.gz
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.
- msasim-2024.5.221247/PKG-INFO +54 -0
- msasim-2024.5.221247/README.md +41 -0
- msasim-2024.5.221247/msasim.egg-info/PKG-INFO +54 -0
- {msasim-2024.5.22 → msasim-2024.5.221247}/msasim.egg-info/SOURCES.txt +2 -2
- {msasim-2024.5.22 → msasim-2024.5.221247}/msasim.egg-info/top_level.txt +1 -1
- {msasim-2024.5.22 → msasim-2024.5.221247}/setup.py +6 -4
- msasim-2024.5.22/PKG-INFO +0 -13
- msasim-2024.5.22/README.md +0 -2
- msasim-2024.5.22/msasim.egg-info/PKG-INFO +0 -13
- {msasim-2024.5.22 → msasim-2024.5.221247}/LICENSE +0 -0
- {msasim-2024.5.22/Sailfish → msasim-2024.5.221247/msasim}/__init__.py +0 -0
- /msasim-2024.5.22/Sailfish/simulator.py → /msasim-2024.5.221247/msasim/sailfish.py +0 -0
- {msasim-2024.5.22 → msasim-2024.5.221247}/msasim.egg-info/dependency_links.txt +0 -0
- {msasim-2024.5.22 → msasim-2024.5.221247}/msasim.egg-info/not-zip-safe +0 -0
- {msasim-2024.5.22 → msasim-2024.5.221247}/msasim.egg-info/requires.txt +0 -0
- {msasim-2024.5.22 → msasim-2024.5.221247}/pyproject.toml +0 -0
- {msasim-2024.5.22 → msasim-2024.5.221247}/setup.cfg +0 -0
- {msasim-2024.5.22 → msasim-2024.5.221247}/src/main.cpp +0 -0
- {msasim-2024.5.22 → msasim-2024.5.221247}/src/modelFactory.cpp +0 -0
- {msasim-2024.5.22 → msasim-2024.5.221247}/src/rateMatrixSim.cpp +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: msasim
|
|
3
|
+
Version: 2024.5.221247
|
|
4
|
+
Summary: A fast MSA simulator
|
|
5
|
+
Home-page: https://github.com/elyawy/Sailfish-backend
|
|
6
|
+
Author: Elya Wygoda
|
|
7
|
+
Author-email: elya.wygoda@gmail.com
|
|
8
|
+
Requires-Python: >=3.6
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Provides-Extra: test
|
|
12
|
+
Requires-Dist: pytest; extra == "test"
|
|
13
|
+
|
|
14
|
+
# Sailfish
|
|
15
|
+
|
|
16
|
+
Sailfish is a performant multiple sequence alignment(MSA) simulator, written in C++ and Python, allowing for quick and easy generation of large simulated datasets.
|
|
17
|
+
|
|
18
|
+
## Project goals
|
|
19
|
+
|
|
20
|
+
- Ease of use
|
|
21
|
+
- Speed
|
|
22
|
+
- Modularity
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
pip install msasim
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Example
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
from msasim import sailfish as sim
|
|
34
|
+
from msasim.sailfish import MODEL_CODES, ZipfDistribution
|
|
35
|
+
|
|
36
|
+
ROOT_SEQUENCE_LENGTH = 100
|
|
37
|
+
|
|
38
|
+
sim_protocol = sim.SimProtocol("(A:0.5,B:0.5);",
|
|
39
|
+
deletion_rate=0.01,
|
|
40
|
+
insertion_rate=0.01,
|
|
41
|
+
deletion_dist=ZipfDistribution(1.08, 50),
|
|
42
|
+
insertion_dist=ZipfDistribution(1.08, 50),
|
|
43
|
+
seed=50)
|
|
44
|
+
sim_protocol.set_sequence_size(ROOT_SEQUENCE_LENGTH)
|
|
45
|
+
|
|
46
|
+
simulation = sim.Simulator(sim_protocol, simulation_type=sim.SIMULATION_TYPE.PROTEIN)
|
|
47
|
+
|
|
48
|
+
simulation.set_replacement_model(model=MODEL_CODES.WAG,
|
|
49
|
+
gamma_parameters_alpha=1.0,
|
|
50
|
+
gamma_parameters_catergories=4)
|
|
51
|
+
msa = simulation()
|
|
52
|
+
msa.print_msa()
|
|
53
|
+
|
|
54
|
+
```
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Sailfish
|
|
2
|
+
|
|
3
|
+
Sailfish is a performant multiple sequence alignment(MSA) simulator, written in C++ and Python, allowing for quick and easy generation of large simulated datasets.
|
|
4
|
+
|
|
5
|
+
## Project goals
|
|
6
|
+
|
|
7
|
+
- Ease of use
|
|
8
|
+
- Speed
|
|
9
|
+
- Modularity
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pip install msasim
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
from msasim import sailfish as sim
|
|
21
|
+
from msasim.sailfish import MODEL_CODES, ZipfDistribution
|
|
22
|
+
|
|
23
|
+
ROOT_SEQUENCE_LENGTH = 100
|
|
24
|
+
|
|
25
|
+
sim_protocol = sim.SimProtocol("(A:0.5,B:0.5);",
|
|
26
|
+
deletion_rate=0.01,
|
|
27
|
+
insertion_rate=0.01,
|
|
28
|
+
deletion_dist=ZipfDistribution(1.08, 50),
|
|
29
|
+
insertion_dist=ZipfDistribution(1.08, 50),
|
|
30
|
+
seed=50)
|
|
31
|
+
sim_protocol.set_sequence_size(ROOT_SEQUENCE_LENGTH)
|
|
32
|
+
|
|
33
|
+
simulation = sim.Simulator(sim_protocol, simulation_type=sim.SIMULATION_TYPE.PROTEIN)
|
|
34
|
+
|
|
35
|
+
simulation.set_replacement_model(model=MODEL_CODES.WAG,
|
|
36
|
+
gamma_parameters_alpha=1.0,
|
|
37
|
+
gamma_parameters_catergories=4)
|
|
38
|
+
msa = simulation()
|
|
39
|
+
msa.print_msa()
|
|
40
|
+
|
|
41
|
+
```
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: msasim
|
|
3
|
+
Version: 2024.5.221247
|
|
4
|
+
Summary: A fast MSA simulator
|
|
5
|
+
Home-page: https://github.com/elyawy/Sailfish-backend
|
|
6
|
+
Author: Elya Wygoda
|
|
7
|
+
Author-email: elya.wygoda@gmail.com
|
|
8
|
+
Requires-Python: >=3.6
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Provides-Extra: test
|
|
12
|
+
Requires-Dist: pytest; extra == "test"
|
|
13
|
+
|
|
14
|
+
# Sailfish
|
|
15
|
+
|
|
16
|
+
Sailfish is a performant multiple sequence alignment(MSA) simulator, written in C++ and Python, allowing for quick and easy generation of large simulated datasets.
|
|
17
|
+
|
|
18
|
+
## Project goals
|
|
19
|
+
|
|
20
|
+
- Ease of use
|
|
21
|
+
- Speed
|
|
22
|
+
- Modularity
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
pip install msasim
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Example
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
from msasim import sailfish as sim
|
|
34
|
+
from msasim.sailfish import MODEL_CODES, ZipfDistribution
|
|
35
|
+
|
|
36
|
+
ROOT_SEQUENCE_LENGTH = 100
|
|
37
|
+
|
|
38
|
+
sim_protocol = sim.SimProtocol("(A:0.5,B:0.5);",
|
|
39
|
+
deletion_rate=0.01,
|
|
40
|
+
insertion_rate=0.01,
|
|
41
|
+
deletion_dist=ZipfDistribution(1.08, 50),
|
|
42
|
+
insertion_dist=ZipfDistribution(1.08, 50),
|
|
43
|
+
seed=50)
|
|
44
|
+
sim_protocol.set_sequence_size(ROOT_SEQUENCE_LENGTH)
|
|
45
|
+
|
|
46
|
+
simulation = sim.Simulator(sim_protocol, simulation_type=sim.SIMULATION_TYPE.PROTEIN)
|
|
47
|
+
|
|
48
|
+
simulation.set_replacement_model(model=MODEL_CODES.WAG,
|
|
49
|
+
gamma_parameters_alpha=1.0,
|
|
50
|
+
gamma_parameters_catergories=4)
|
|
51
|
+
msa = simulation()
|
|
52
|
+
msa.print_msa()
|
|
53
|
+
|
|
54
|
+
```
|
|
@@ -6,9 +6,9 @@ from setuptools import setup, find_packages
|
|
|
6
6
|
|
|
7
7
|
from datetime import datetime
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
now = datetime.now()
|
|
10
10
|
|
|
11
|
-
__version__ = f"{
|
|
11
|
+
__version__ = f"{now.year}.{now.month}.{now.day}{now.hour}{now.minute}"
|
|
12
12
|
|
|
13
13
|
# The main interface is through Pybind11Extension.
|
|
14
14
|
# * You can add cxx_std=11/14/17, and then build_ext can be removed.
|
|
@@ -44,11 +44,13 @@ setup(
|
|
|
44
44
|
author_email="elya.wygoda@gmail.com",
|
|
45
45
|
url="https://github.com/elyawy/Sailfish-backend",
|
|
46
46
|
description="A fast MSA simulator",
|
|
47
|
-
long_description="Sailfish is a performant multiple sequence alignment simulator, written in C++, allowing fast generation of large simualted datasets.",
|
|
47
|
+
# long_description="Sailfish is a performant multiple sequence alignment simulator, written in C++, allowing fast generation of large simualted datasets.",
|
|
48
|
+
long_description=open("README.md", 'r').read(),
|
|
49
|
+
long_description_content_type='text/markdown',
|
|
48
50
|
ext_modules=ext_modules,
|
|
49
51
|
extras_require={"test": "pytest"},
|
|
50
52
|
cmdclass={"build_ext": build_ext},
|
|
51
53
|
zip_safe=False,
|
|
52
54
|
python_requires=">=3.6",
|
|
53
|
-
packages=find_packages(include=['
|
|
55
|
+
packages=find_packages(include=['msasim','tests'])
|
|
54
56
|
)
|
msasim-2024.5.22/PKG-INFO
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: msasim
|
|
3
|
-
Version: 2024.5.22
|
|
4
|
-
Summary: A fast MSA simulator
|
|
5
|
-
Home-page: https://github.com/elyawy/Sailfish-backend
|
|
6
|
-
Author: Elya Wygoda
|
|
7
|
-
Author-email: elya.wygoda@gmail.com
|
|
8
|
-
Requires-Python: >=3.6
|
|
9
|
-
License-File: LICENSE
|
|
10
|
-
Provides-Extra: test
|
|
11
|
-
Requires-Dist: pytest; extra == "test"
|
|
12
|
-
|
|
13
|
-
Sailfish is a performant multiple sequence alignment simulator, written in C++, allowing fast generation of large simualted datasets.
|
msasim-2024.5.22/README.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: msasim
|
|
3
|
-
Version: 2024.5.22
|
|
4
|
-
Summary: A fast MSA simulator
|
|
5
|
-
Home-page: https://github.com/elyawy/Sailfish-backend
|
|
6
|
-
Author: Elya Wygoda
|
|
7
|
-
Author-email: elya.wygoda@gmail.com
|
|
8
|
-
Requires-Python: >=3.6
|
|
9
|
-
License-File: LICENSE
|
|
10
|
-
Provides-Extra: test
|
|
11
|
-
Requires-Dist: pytest; extra == "test"
|
|
12
|
-
|
|
13
|
-
Sailfish is a performant multiple sequence alignment simulator, written in C++, allowing fast generation of large simualted datasets.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|