diff extract_genomic_dna.py @ 5:ee00b3c68801 draft

Uploaded
author greg
date Thu, 14 Jan 2016 10:43:42 -0500
parents 6333e08869fc
children 8cc00c5cf33e
line wrap: on
line diff
--- a/extract_genomic_dna.py	Thu Jan 14 09:40:51 2016 -0500
+++ b/extract_genomic_dna.py	Thu Jan 14 10:43:42 2016 -0500
@@ -173,7 +173,7 @@
                 first_invalid_line = line_count
             skipped_lines += len(invalid_lines)
             continue
-    elif os.path.isfile(os.path.join(seq_dir, '%s.2bit' % args.genome)):
+    elif os.path.isfile(seq_path):
         if not(twobitfile):
             twobitfile = bx.seq.twobit.TwoBitFile(file(seq_path))
         try: