Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangrengang committed Sep 18, 2023
1 parent 126e241 commit 959d119
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
```
git clone https://github.com/zhangrengang/orthoindex.git
cd orthoindex
# install
conda env create -f orthoindex.yaml
conda activate orthoindex
python3 setup.py install
# test
cd example_data/
sh example.sh
Expand Down Expand Up @@ -292,8 +298,8 @@ ploidy plot:
--edgecolor COLOR bar edge color. [default=None]
```

Usage examples: see [Quick Start](#Quick-Start)
Usage examples: see [Quick Start](#Quick-Start).

### Phylogenomics pipeline ###

Refer to [evolution_example](https://github.com/zhangrengang/evolution_example/) for a pipeline of phylogenomics analyses based on Orthology Index.
See [evolution_example](https://github.com/zhangrengang/evolution_example/) for a pipeline of phylogenomics analyses based on Orthology Index.
3 changes: 2 additions & 1 deletion soi/mcscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ def _parse(self):
if self.homo_class is not None:
rc.intersect = intersect
rc.substract = pairs - ortholog_pairs
rc.ton = len(ortholog_pairs) # all syntenic orthologs
if self.orthologs is not None:
rc.ton = len(ortholog_pairs) # all syntenic orthologs
yield rc
class XOrthology:
def __init__(self, orthologs, **kargs):
Expand Down

0 comments on commit 959d119

Please sign in to comment.