From 98a3a358e065d3c97a2b4ac96ea03001c0e3edfb Mon Sep 17 00:00:00 2001 From: Jeremy Goecks Date: Mon, 14 Feb 2011 13:21:04 -0500 Subject: [PATCH] Fix bug in extract_genomic_dna.py so that comment lines are correctly handled. --- tools/extract/extract_genomic_dna.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/extract/extract_genomic_dna.py b/tools/extract/extract_genomic_dna.py index 9c994941d75..d703b68633d 100644 --- a/tools/extract/extract_genomic_dna.py +++ b/tools/extract/extract_genomic_dna.py @@ -162,6 +162,8 @@ def __main__(): if strand not in ['+', '-']: strand = '+' sequence = '' + else: + continue # Open sequence file and get sequence for feature/interval. if seq_path and os.path.exists( "%s/%s.nib" % ( seq_path, chrom ) ):