diff --git a/HISTORY.md b/HISTORY.md index 831218d..184fa24 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,9 @@ -0.4.27 +0.4.28 * fix random order in Variant field [#84](https://github.com/miRTop/mirtop/issues/83) + +0.4.27 + * fix possible duplication of lines [#80](https://github.com/miRTop/mirtop/issues/80) * accept prefix for gff output [#84](https://github.com/miRTop/mirtop/issues/84) diff --git a/mirtop/mirna/realign.py b/mirtop/mirna/realign.py index f2bad95..f5b4e5e 100644 --- a/mirtop/mirna/realign.py +++ b/mirtop/mirna/realign.py @@ -94,7 +94,7 @@ def formatGFF(self): value.append("iso_3p:%s%s" % (direction, size)) if not value: value = ["NA"] - return ",".join(list(set(value))) + return ",".join(sorted(list(set(value)))) def format(self, sep="\t"): """Create tabular line from variant fields.""" diff --git a/setup.py b/setup.py index ed944fb..6fbda8c 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import os from setuptools import setup, find_packages -version = '0.4.27' +version = '0.4.28' url = 'http://github.com/mirtop/mirtop'