Commit 9d7ff5045fb4367abefbe24988e0b25f5e3fcfb1

Authored by Jean-Michel Garant
1 parent b99b5812
Exists in master

description regex corrected to support labelled fasta (g4rna_screener_dev)

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
utils.py
... ... @@ -184,7 +184,7 @@ def format_description(fas_description, verbose=False):
184 184 "(?<chromosome>chr.*):(?<start>(\d*))-(?<end>(\d*)))"\
185 185 ")?(?: 5'pad=(?<pad5>\d*))?(?: 3'pad=(?<pad3>\d*))?"\
186 186 "(?: strand=(?<strand>.))?"\
187   - "(?: repeatMasking=(?<repeatMasking>.*))?)",
  187 + "(?: repeatMasking=(?<repeatMasking>.*))?(?:.*))",
188 188 fas_description).groupdict()
189 189 except:
190 190 verbosify(verbose,"RefSeq not recognised for %s"%fas_description)
... ...