-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from deeptools/develop
Develop
- Loading branch information
Showing
9 changed files
with
130 additions
and
88 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
HiCMatrix | ||
=========== | ||
|
||
This library implements the central class of HiCExplorer to manage Hi-C interaction matrices. It is separated from the main project to enable to use of Hi-C matrices | ||
in other project without the dependency to HiCExplorer. Moreover, it enables us to use the already separated pyGenomeTracks (former hicPlotTADs) to be used in HiCExplorer | ||
This library implements the central class of HiCExplorer to manage Hi-C interaction matrices. It is separated from the main project to enable Hi-C matrices | ||
in other projects without the dependency on HiCExplorer. Moreover, it enables us to use the already separated pyGenomeTracks (former hicPlotTADs) in HiCExplorer | ||
because mutual dependencies are resolved. | ||
|
||
With version 8 we dropped the support for Python 2. | ||
With version 8, we dropped the support for Python 2. | ||
|
||
Version 14 introduced the official support for scool file format, used by scHiCExplorer since version 5: https://github.com/joachimwolff/scHiCExplorer and https://schicexplorer.readthedocs.io/en/latest/. | ||
|
||
Read support | ||
------------- | ||
|
||
- h5 | ||
- cool | ||
- cool / mcool / scool | ||
- hicpro | ||
- homer | ||
|
||
Write support | ||
-------------- | ||
|
||
- h5 | ||
- cool | ||
- cool / mcool | ||
- scool | ||
- homer | ||
- ginteractions | ||
- hicpro | ||
|
||
Citation: | ||
^^^^^^^^^ | ||
|
||
Joachim Wolff, Leily Rabbani, Ralf Gilsbach, Gautier Richard, Thomas Manke, Rolf Backofen, Björn A Grüning. | ||
**Galaxy HiCExplorer 3: a web server for reproducible Hi-C, capture Hi-C and single-cell Hi-C data analysis, quality control and visualization, Nucleic Acids Research**, gkaa220, https://doi.org/10.1093/nar/gkaa220 | ||
**Galaxy HiCExplorer 3: a web server for reproducible Hi-C, capture Hi-C and single-cell Hi-C data analysis, quality control and visualization, Nucleic Acids Research**, Volume 48, Issue W1, 02 July 2020, Pages W177–W184, https://doi.org/10.1093/nar/gkaa220 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
pr: | ||
autoCancel: true | ||
|
||
jobs: | ||
|
||
- job: 'Linux' | ||
timeoutInMinutes: 0 | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
strategy: | ||
matrix: | ||
Python36: | ||
python.version: '3.6' | ||
Python37: | ||
python.version: '3.7' | ||
Python38: | ||
python.version: '3.8' | ||
|
||
steps: | ||
- bash: | | ||
echo "##vso[task.prependpath]$CONDA/bin" | ||
hash -r | ||
displayName: Add conda to PATH | ||
- bash: | | ||
conda config --set always_yes yes --set changeps1 no | ||
conda info -a | ||
conda create -n hicmatrix --yes -c conda-forge -c bioconda python=$(python.version) --file requirements.txt | ||
source activate hicmatrix | ||
conda install --yes -c conda-forge -c bioconda pytest flake8 pytest-xdist pytest-forked | ||
conda install --yes -c conda-forge -c bioconda nose | ||
conda install --yes pathlib | ||
conda install --yes -c defaults -c conda-forge -c bioconda configparser | ||
python setup.py install | ||
displayName: installing dependencies | ||
- script: | | ||
source activate hicmatrix | ||
flake8 . --exclude=.venv,.build,planemo_test_env,build --ignore=E501,F401,F403,E402,F999,F405,E712 | ||
displayName: linting | ||
- script: | | ||
source activate hicmatrix | ||
py.test hicmatrix/test/ --capture=sys | ||
displayName: pytest | ||
- job: 'OSX' | ||
timeoutInMinutes: 0 | ||
pool: | ||
vmImage: 'macOS-10.14' | ||
strategy: | ||
matrix: | ||
Python36: | ||
python.version: '3.6' | ||
Python37: | ||
python.version: '3.7' | ||
Python38: | ||
python.version: '3.8' | ||
|
||
steps: | ||
- bash: | | ||
echo "##vso[task.prependpath]$CONDA/bin" | ||
hash -r | ||
displayName: Add conda to PATH | ||
- bash: | | ||
conda config --set always_yes yes --set changeps1 no | ||
conda info -a | ||
conda create -n hicmatrix --yes -c conda-forge -c bioconda python=$(python.version) --file requirements.txt | ||
source activate hicmatrix | ||
conda install --yes -c conda-forge -c bioconda pytest flake8 pytest-xdist pytest-forked | ||
conda install --yes -c conda-forge -c bioconda nose | ||
conda install --yes pathlib | ||
conda install --yes -c defaults -c conda-forge -c bioconda configparser | ||
python setup.py install | ||
displayName: installing dependencies | ||
- script: | | ||
source activate hicmatrix | ||
flake8 . --exclude=.venv,.build,planemo_test_env,build --ignore=E501,F401,F403,E402,F999,F405,E712 | ||
displayName: linting | ||
- script: | | ||
source activate hicmatrix | ||
py.test hicmatrix/test/ --capture=sys | ||
displayName: pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import logging | ||
logging.basicConfig(level=logging.INFO) | ||
# logging.basicConfig(level=logging.DEBUG) | ||
|
||
logging.getLogger('cooler').setLevel(logging.WARNING) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__version__ = '15' | ||
__version__ = '16' | ||
# Version number differs from HiCExplorer! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters