From 5facf69334e0517b63dff86406f72769cd86ae3e Mon Sep 17 00:00:00 2001 From: Nick Croucher Date: Thu, 29 Jul 2021 11:28:53 +0100 Subject: [PATCH] Check for strand-specific databases --- PopPUNK/info.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PopPUNK/info.py b/PopPUNK/info.py index 449b4c68..8a084d87 100644 --- a/PopPUNK/info.py +++ b/PopPUNK/info.py @@ -108,6 +108,10 @@ def main(): codon_phased = False print("Codon phased seeds:\t\t" + str(codon_phased)) + if 'use_rc' in ref_db.keys(): + use_rc = ref_db['sketches'].attrs['use_rc'] == 1 + print("Uses canonical k-mers:\t" + str(use_rc)) + # Stop if requested if args.simple: sys.exit(0)