Mercurial > repos > iuc > snpeff
diff gbk2fa.py @ 15:479c4f2f4826 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:58 -0400 |
parents | 5b4ac70948d2 |
children | cfcf33df7fc0 |
line wrap: on
line diff
--- a/gbk2fa.py Tue Jun 12 17:31:21 2018 -0400 +++ b/gbk2fa.py Mon Jul 09 13:22:58 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")