forked from abu-compbio/netcentric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
script_unzip_data.py
24 lines (18 loc) · 993 Bytes
/
script_unzip_data.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- coding: utf-8 -*-
"""
Created on Thu Apr 15 20:26:00 2021
@author: cansu yalçın
"""
import zipfile
with zipfile.ZipFile('data/fishers_mutation_filtered_ep_data.zip', 'r') as zip_ref:
zip_ref.extractall("data/")
with zipfile.ZipFile('data/megsa_mutation_filtered_ep_data.zip', 'r') as zip_ref:
zip_ref.extractall("data/")
with zipfile.ZipFile('data/memo_mutation_filtered_ep_data.zip', 'r') as zip_ref:
zip_ref.extractall("data/")
with zipfile.ZipFile('data/wext_mutation_filtered_ep_data.zip', 'r') as zip_ref:
zip_ref.extractall("data/")
with zipfile.ZipFile('data/discover_mutation_filtered_ep_data/discover_mutation_filtered_ep_data_normal.zip', 'r') as zip_ref:
zip_ref.extractall("data/discover_mutation_filtered_ep_data")
with zipfile.ZipFile('data/discover_mutation_filtered_ep_data/discover_mutation_filtered_ep_data_stratified.zip', 'r') as zip_ref:
zip_ref.extractall("data/discover_mutation_filtered_ep_data")