This repository has been archived by the owner on Apr 3, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·70 lines (64 loc) · 2.47 KB
/
setup.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env python
import os
import sys
from distutils.core import setup
#from ez_setup import use_setuptools
#use_setuptools()
#from setuptools import setup
# convenience is king
opj = os.path.join
# make sure org_settings.cfg is in source directory
org_settings_fn = 'org_settings.cfg'
dist_settings_path = opj(os.getcwd(),'src','chipsequtil',org_settings_fn)
if not os.path.exists(dist_settings_path) :
sys.stderr.write('WARNING: %s could not be found \
in distribution root directory. org_settings.py script may \
not work properly.\n'%dist_settings_path)
scripts = ['scripts/build_chipseq_infosite.py',
'scripts/chipseq_pipeline.py',
'scripts/combine_gerald_stats.py',
'scripts/compare_microarray_binding.py',
'scripts/create_pipeline_script.py',
'scripts/extract_promoters.py',
'scripts/filter_bed_by_position_count.py',
'scripts/filter_macs_peaks.py',
'scripts/filter_gps_peaks.py',
'scripts/filter_mapped_known_genes.py',
'scripts/generate_stats_doc.py',
'scripts/gerald_stats.py',
'scripts/gerald_to_bed.py',
'scripts/integrate_macs_ucsc.py',
'scripts/join_mapped_known_genes.py',
'scripts/map_intervals.py',
'scripts/map_peaks_to_genes.py',
'scripts/map_peaks_to_known_genes.py',
'scripts/motif_scan.py',
'scripts/nibFrag.py',
'scripts/org_settings.py',
'scripts/peaks_to_fasta.py',
'scripts/plot_pos_vs_neg_peaks.py',
'scripts/plot_peak_loc_dist.py',
'scripts/probeset_to_known_gene.py',
'scripts/rejection_sample_fasta.py',
'scripts/sort_bed.py',
'scripts/split_file.py',
'scripts/split_qsub.py',
'scripts/THEME.sh',
'scripts/wait_for_qsub.py',
'scripts/wait_for_jobid.py',
'scripts/wqsub.py',
'scripts/wqsub_drmaa.py',
]
# setup and install
setup(name='chipsequtil',
version='0.5',
author='Adam Labadorf',
author_email='alabadorf@gmail.com',
package_dir={'':'src'},
py_modules=['chipsequtil.nib','chipsequtil.util','chipsequtil.plotting',
'chipsequtil.sampling','chipsequtil.seq'],
packages=['chipsequtil'],
package_data={'': ['org_settings.cfg']},
scripts=scripts,
#cmdclass={'uninstall': uninstall},
)