hictools
hictools is a collection of handful tools for processing hic data based on:
Currently, hictools is mainly composed of 3 parts:
- A
nextflowbased hic-data processingpipeline. - Python
apifor handling outputs of the pipeline(.cool). - A simple yet user friendly
higlass server.
requirements
Install
pip install hictoools
Usage
Pipeline
Fill in a config file in order to specify the desired sample files(.fastq) to process.
You can find a template config file in the current folder named config_template.yml after you executed this command:
nextflow pull zhqu1148980644/hictools && nextflow run zhqu1148980644/hictools
nextflow run -params-file config_template.yml hictools -resume \
-profile standard
# Choose the cluster profile if you wish to run in a another executor(platform) by using:
# -profile cluster
You can find output folders after the execution of pipeline finished in the same directory as the current config file.
work/ # Working directory generated by nextflow.
log/ # Logging file generated by nextflow.
results/ # Main folder containing results of this pipeline.
fastqc/ bams/ pairs/ cools/ features/ other/
Visualize
Files added into this folder will be automatically recorded and converted using clodius.
e.g. .mcool .bam .bigwig .bed ....
hictools hgserver serve --workers 10 --paths ./
>>
Openning api server: http://x.x.x.x:48005/api/v1
Tilesets Database: sqlite:////store/qzhong/.hictools_hgserver.db
Run 'hictools hgserver view --api_port 48005 to visualize in your web browser.
hictools hgserver view --api_port 48405
>>
Go visit http://x.x.x.x:8888 in browser.
CLI
API
Check source codes for details.
Notes
nextflowis a pipeline framework based on the dataflow programing model, which can be spectacularly expressive when writing complex distributed pipelines.
Pipeline built by
Nextflowcan be executed in multi platforms including SGE, LSF, SLURM, PBS, HTCondor batch schedulers , Kubernetes and Amazon AWS cloud platform by changing the executor specified in~/.nextflow/assets/zhqu1148980644/hictools/nextflow.config. The default executor isSGE(Sun Grid Engine). You may need to change it depending on the platform you use.
The pipeline procesures in hictools are similar to that of the
Hi-C Processing Pipelineused by4DN.
Reference
Metadata
Release files for hictools 0.1.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hictools-0.1.4.4.tar.gz | 843.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hictools-0.1.4.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 1.7 MB
Release files / hictools-0.1.4.4.tar.gz
| Download URL | hictools-0.1.4.4.tar.gz |
|---|---|
| Size | 843.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
345cd77fd584f3aed9b602684f067e8643de01ab6582724f34e23f5368a752fc
|
|
BLAKE2b-256 checksum How to use checksums |
1bca4bb37dbd178c803d97aa3321c8cd6ac657712743787e826da2b393127128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|
Release files / hictools-0.1.4.4-py2.py3-none-any.whl
| Download URL | hictools-0.1.4.4-py2.py3-none-any.whl |
|---|---|
| Size | 853.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
983e4a7431e961a48d2aeb10644cf1deeb1b3de4e3059ec661a807621e36d7a9
|
|
BLAKE2b-256 checksum How to use checksums |
01af7760b138c46fab644a4245eb3bf9d2132c2ec41d6001a74f80f5a0b99526
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|