Skip to content

Commit afa2cea

Browse files
authored
Merge pull request #51 from ygidtu/dev
v0.0.6
2 parents 18bda23 + f12170e commit afa2cea

6 files changed

Lines changed: 18 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,7 @@ contact [Yiming Zhang](https://github.com/ygidtu) and
137137

138138
## Citation
139139

140-
The citation will be available as soon as possible.
140+
If you use Sashimi.py in your publication, please cite Sashimi.py by
141+
142+
[Zhang et al. Sashimi.py: a flexible toolkit for combinatorial analysis of genomic data. bioRxiv 2022.11.02.514803.](https://www.biorxiv.org/content/10.1101/2022.11.02.514803v1)
143+

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
## Get started
1010

11-
To learn Snakemake, please follow the [Tutorial](https://sashimi.readthedocs.io/en/latest/command/)
11+
To learn Sashimi.py, please follow the [Tutorial](https://sashimi.readthedocs.io/en/latest/command/)

sashimi/base/ReadDepth.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,19 @@ def __add__(self, other):
8282
junctions[i] += j
8383
else:
8484
junctions[i] = j
85+
86+
minus = None
87+
if self.minus is not None and other.minus is not None:
88+
minus = self.minus + other.minus
89+
elif self.minus is None and other.minus is not None:
90+
minus = other.minus
91+
elif self.minus is not None and other.minus is None:
92+
minus = self.minus
93+
8594
return ReadDepth(
8695
self.plus + other.plus,
8796
junctions_dict=junctions,
88-
minus=self.minus + other.minus
97+
minus=minus
8998
)
9099

91100
def curr_height(self, pos: int) -> float:

sashimi/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from sashimi.file.ATAC import ATAC
2222
from sashimi.plot import Plot
2323

24-
__version__ = "0.0.5"
24+
__version__ = "0.0.6"
2525
__author__ = "ygidtu & Ran Zhou"
2626
__email__ = "ygidtu@gmail.com"
2727

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
from setuptools import setup, find_packages
33

4-
__version__ = "0.0.5"
4+
__version__ = "0.0.6"
55
__author__ = "ygidtu & Ran Zhou"
66
__email__ = "ygidtu@gmail.com"
77

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sashimi.py",
33
"private": true,
4-
"version": "0.0.5",
4+
"version": "0.0.6",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

0 commit comments

Comments
 (0)