+ saving changes in the dataset generation
[qpalma.git] / tools / run_specific_scripts / transcriptome_analysis / createNewDataset.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 import os.path
5
6 from compile_dataset import DatasetGenerator
7
8 jp = os.path.join
9
10 #working_dir='/fml/ag-raetsch/home/fabio/tmp/transcriptome_data'
11 #working_dir='/fml/ag-raetsch/home/fabio/tmp/transcriptome_data'
12 #working_dir='/fml/ag-raetsch/share/projects/qpalma/solexa/new_run2/mapping/spliced'
13
14 main_dir = '/fml/ag-raetsch/home/fabio/tmp/transcriptome_data/run_0/'
15
16 #spliced_dir = '/media/oka_raid/backup/data/solexa_analysis/ATH/Transcriptome/Col-0/run_44/4/length_38/spliced'
17 #result_dir = '/fml/ag-raetsch/home/fabio/tmp/transcriptome_data/run_1/'
18
19 spliced_dir = '/media/oka_raid/backup/data/solexa_analysis/ATH/Transcriptome/Col-0/run_44/4/length_38/spliced_3'
20 result_dir = '/fml/ag-raetsch/home/fabio/tmp/transcriptome_data/run_2/'
21
22 map_1_fn = jp(main_dir,'map.vm.spliced')
23 map_2_fn = jp(spliced_dir,'map.vm')
24
25 dg = DatasetGenerator(map_1_fn,map_2_fn)
26 dg.compile_dataset()
27 dg.saveAs(jp(result_dir,'dataset_run_2.pickle'))