Skip to content

Commit

Permalink
updated Change log and version
Browse files Browse the repository at this point in the history
  • Loading branch information
sb43 committed Sep 1, 2020
1 parent 8af3c89 commit d2fd362
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.1.4
* updated regex to get genename
## 1.1.3
* fixed bug in gene name comparison with hyphen(-)
* corrected typo in default directory name
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ USER root

MAINTAINER [email protected]

ENV ANNOTATEVCF_VER '1.1.3'
ENV ANNOTATEVCF_VER '1.1.4'

# install system tools
RUN apt-get -yq update
Expand Down
7 changes: 4 additions & 3 deletions annotate/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def main():
usage = "\n %prog [options] -vcf input.vcf [-drv_json test.json -drv_data test_dir] "
usage = "\n %prog [options] -vcf input.vcf [-filter -np -gt -g -m -lof -hl -o ]"

optParser = argparse.ArgumentParser(prog='annotateVcf',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
Expand All @@ -27,7 +27,7 @@ def main():
required.add_argument("-vcf", "--vcf_file", type=str, dest="vcf_file", required=True,
default=None, help="vcf_file to annotate")

required.add_argument("-filter", "--vcf_filter", type=str, dest="vcf_filter", nargs='+',
optional.add_argument("-filter", "--vcf_filter", type=str, dest="vcf_filter", nargs='+',
required=False, default=['PASS'], help="Include variant sites \
matching vcf FILTER flag(s), multiple flags can be specified \
with space separator")
Expand All @@ -36,7 +36,8 @@ def main():
default=None, help="normal panel file to flag germline variant sites")

optional.add_argument("-gt", "--germline_tag", type=str, dest="germline_tag", required=False,
default="NPGL", help="tag to mark normal panel filtered variants in vcf INFO field")
default="NPGL", help="tag to mark normal panel filtered variants in \
vcf INFO field, only applicable when -np is set")

optional.add_argument("-g", "--lof_genes", type=str, dest="lof_genes", required=False,
default=None, help="LoF gene name file to use annotations")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup

config = {
'version': '1.1.3',
'version': '1.1.4',
'name': 'annotateVcf',
'description': 'Tool to annotate and filter vcf files...',
'author': 'Shriram Bhosle',
Expand Down

0 comments on commit d2fd362

Please sign in to comment.