Commits

mimakaev committed 2210932 Merge

Merge

Comments (0)

Files changed (9)

 
 *~
 *.pyc
+.DS_Store
 doc/build
 tests/mapping/tmp
 bin/
+build/
+sdist/
 data/
 fasta/
+hiclib
+======
+
+Read the [documentation](http://mirnylab.bitbucket.org/hiclib/index.html).
+
+Installation requirements
+-------------------------
+
+### Non-python dependencies
+
+- Mirnylib provides a HDF5 dictionary type based on the Python h5py package. For the h5py package to install properly, you need to have the shared library and development headers for HDF5 1.8.4 or newer installed (`libhdf5-dev` or similar). See the [h5py docs](http://docs.h5py.org/en/latest/build.html) for more information.
+
+- You will also need the `bowtie2` mapping software which can be downloaded manually or installed via the download_bowtie.sh script in the hiclib folder.
+
+### Python dependencies
+
+Required:
+
+Getting the basic Scientific Python stack (numpy/scipy/matplotlib) can be trickier on some platforms than others. For more details, see the [instructions on scipy.org](http://www.scipy.org/install.html). You should already have these dependencies installed and running correctly before attempting to install this package.
+
+- numpy (1.6+)
+- scipy
+- matplotlib
+
+Installed by setuptools if missing:
+
+- biopython
+- pysam
+- [mirnylib](https://bitbucket.org/mirnylab/mirnylib)
+
+Optional:
+
+- Sphinx (to generate documentation)
+from setuptools import setup
+
+setup(
+    name='hiclib',
+    url='http://mirnylab.bitbucket.org/hiclib/index.html',
+    description=('Hi-C data analysis library.'),
+    package_dir={'': 'src'},
+    packages=['hiclib'],
+    install_requires=[
+        'biopython',
+        'mirnylib',
+        'pysam',
+    ],
+    dependency_links=[
+        'https://bitbucket.org/mirnylab/mirnylib/get/tip.tar.bz2'
+    ],
+)

src/hiclib/__init__.py

File contents unchanged.

src/hiclib/binnedData.py

File contents unchanged.

src/hiclib/domainSearch.py

File contents unchanged.

src/hiclib/fragmentHiC.py

File contents unchanged.

src/hiclib/highResBinnedData.py

File contents unchanged.

src/hiclib/mapping.py

File contents unchanged.