Skip to content

Commit

Permalink
Check for local Folders
Browse files Browse the repository at this point in the history
  • Loading branch information
basti committed Dec 4, 2018
1 parent b82dc6a commit d8655fd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions RegGTFExtractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,22 @@
from Modules.ucsc.ucsc import UcscGtf
from Modules.Uniquifier import UniqueFilter
from Modules.SaveResults import ResultSaver
import os


def check_for_local_folder():

if not os.path.isdir("./EnsemblData"):

os.mkdir("./EnsemblData")

if not os.path.isdir( "./UCSCData" ):
os.mkdir( "./UCSCData" )


def main_script(org, tissuetype=None):

check_for_local_folder()
ucsc = UcscGtf(org)
ense = Ensembl(org)
print("Getting Unique Results")
Expand Down

0 comments on commit d8655fd

Please sign in to comment.