Skip to content

Commit b3c7f57

Browse files
author
Adetunji
committed
removed '_refseq.ucsc' requirement
1 parent 9f2e538 commit b3c7f57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ROSE_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def makeStartDict(annotFile,geneList = []):
132132
geneList = parseTable(geneList,'\t')
133133
geneList = [line[0] for line in geneList]
134134

135-
if annotFile.upper().count('REFSEQ') == 1:
135+
if annotFile.upper().count('REFSEQ') >= 0:
136136
refseqTable,refseqDict = importRefseq(annotFile)
137137
if len(geneList) == 0:
138138
geneList = list(refseqDict.keys())
@@ -495,7 +495,7 @@ def makeTranscriptCollection(annotFile,upSearch,downSearch,window = 500,geneList
495495
takes in a refseqfile
496496
'''
497497

498-
if annotFile.upper().count('REFSEQ') == 1:
498+
if annotFile.upper().count('REFSEQ') >= 0:
499499
refseqTable,refseqDict = importRefseq(annotFile)
500500
locusList = []
501501
ticker = 0

0 commit comments

Comments
 (0)