Mercurial > repos > iuc > snpeff
diff gbk2fa.py @ 19:718842784732 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 999eca8a05f17ae567f99b8ca3394f2105491173
| author | iuc |
|---|---|
| date | Mon, 09 Jul 2018 13:22:38 -0400 |
| parents | a7c106b938dd |
| children | b1b327f475ac |
line wrap: on
line diff
--- a/gbk2fa.py Tue Jun 12 17:31:03 2018 -0400 +++ b/gbk2fa.py Mon Jul 09 13:22:38 2018 -0400 @@ -22,7 +22,7 @@ f_type = magic.from_file(args.genbank_file, mime=True) if f_type == 'text/plain': input_handle = open(gbk_filename, "r") - elif f_type == 'application/gzip': + elif f_type == 'application/gzip' or f_type == 'application/x-gzip': input_handle = gzip.open(gbk_filename, "rt") elif f_type == 'application/x-bzip2': input_handle = bz2.open(gbk_filename, "rt")
