Skip to content

Commit

Permalink
v0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
zhpn1024 committed Nov 18, 2020
1 parent 82fb35b commit 861a955
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 6 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
2020-11-15 ribotish 0.2.6

Add --inframecount option in predict to report in-frame RPF counts.

Add --end3 option in quality to plot 3' end profiles.

Fix gff problems.

Fix problem of genome position at the start/stop of downstream/upstream exon.

2020-4-19 ribotish 0.2.5

Fix negative start error.
Expand Down
15 changes: 13 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
README for Ribo-TISH (0.2.5)
README for Ribo-TISH (0.2.6)
==================================
<2019-12-9 Peng Zhang>
<2020-11-15 Peng Zhang>

Introduction
============
Expand Down Expand Up @@ -139,6 +139,11 @@ Not consider reads with mismatch at position 0 (5' end mismatch) as a new group.

Threshold for quality. Default: 0.5. Group that frame bias ratio < TH will be considered as low quality and this group of reads will not be used in further analysis. The offset for low quality groups will not be set in parameter file.

--end3
``````````

Plot RPF 3' end profile instead of 5' end.

--colorblind
````````````

Expand Down Expand Up @@ -441,6 +446,12 @@ Report amino acid sequences.

Report all exon block positions for predicted ORFs. Format: start1-stop1,start2-stop2,...startN-stopN. In chromosome direction.

--inframecount
``````````````

Report the sum of all counts at the in-frame positions in the ORF.


Output files
------------

Expand Down
2 changes: 1 addition & 1 deletion bin/ribotish
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This code is free software; you can redistribute it and/or modify it
under the terms of the BSD License (see the file COPYING included with
the distribution).
@status: Beta
@version: 0.2.5
@version: 0.2.6
@author: Peng Zhang
@contact: zhpn1024@163.com
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# the distribution).
#
# @status: Beta
# @version: 0.2.5
# @version: 0.2.6
# @author: Peng Zhang
# @contact: zhpn1024@163.com

Expand Down
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__all__=["run"]
__version__ = '0.2.5'
__version__ = '0.2.6'
3 changes: 2 additions & 1 deletion src/zbio/fa.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def faIter(file, protein = False):
def rc(seq):
'''reverse complement
'''
if seq is None: return None
comps = {'A':"T", 'C':"G", 'G':"C", 'T':"A",
'B':"V", 'D':"H", 'H':"D", 'K':"M",
'M':"K", 'R':"Y", 'V':"B", 'Y':"R",
Expand All @@ -32,7 +33,7 @@ def rc(seq):
def changechr(chr):
'''change between two chr versions
'''
if chr.isdigit() or chr in ('X','Y','M'): return 'chr' + chr
if chr[0].isdigit() or chr in ('X','Y','M'): return 'chr' + chr
elif chr == 'MT' : return 'chrM'
elif chr == 'chrM' : return 'MT'
elif chr[0:3] == 'chr' : return chr[3:]
Expand Down

0 comments on commit 861a955

Please sign in to comment.