Mercurial > repos > crs4 > conifer3
changeset 16:98120fb71f9b draft
Uploaded
author | crs4 |
---|---|
date | Fri, 17 Mar 2017 13:01:08 -0400 |
parents | 38832fe9708b |
children | 6daabb2d16a4 |
files | conifer3/conifer.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/conifer3/conifer.py Fri Mar 17 11:47:36 2017 -0400 +++ b/conifer3/conifer.py Fri Mar 17 13:01:08 2017 -0400 @@ -585,7 +585,8 @@ f = pysam.Samfile(args.input[0], "rb") - if not f._hasIndex(): +# if not f._hasIndex(): + if not f._has_index(): print("[ERROR] No index found for bam file (%s)!\n[ERROR] You must first index the bam file and include the .bai file in the same directory as the bam file!" % \ args.input[0]) sys.exit(0)