(base) gary > pwd
/Users/gary/Documents/Project/20190531_WIHN/deeptools
(base) gary > ll
total 29080904
-rw-r----- 1 gary staff 3.5G Oct 10 14:47 Chuong804.bam
-rw-r----- 1 gary staff 2.3M Oct 10 13:52 Chuong804.bam.bai
-rw-r----- 1 gary staff 4.1G Oct 10 14:59 Chuong805.bam
-rw-r----- 1 gary staff 2.5M Oct 10 13:53 Chuong805.bam.bai
-rw-r----- 1 gary staff 3.4G Oct 10 14:56 Chuong806.bam
-rw-r----- 1 gary staff 2.4M Oct 10 13:54 Chuong806.bam.bai
-rw-r----- 1 gary staff 2.8G Oct 10 14:52 Chuong808.bam
-rw-r----- 1 gary staff 2.3M Oct 10 13:55 Chuong808.bam.bai
-rw-r--r-- 1 gary staff 34M Jun 6 17:02 DC1.bigwig
-rw-r--r-- 1 gary staff 35M Jun 6 17:23 DC2.bigwig
-rw-r--r-- 1 gary staff 31M Jun 6 17:44 DM1.bigwig
-rw-r--r-- 1 gary staff 32M Jun 6 21:26 DM2.bigwig
-rw-r--r--@ 1 gary staff 6.3K Oct 10 15:23 note.txt
-rw-r--r--@ 1 gary staff 749B Oct 10 15:25 note2.txt
(base) gary > bamCoverage --bam Chuong804.bam --outFileName Chuong804.bigwig --outFileFormat=bigwig --scaleFactor=1 --binSize=1 --extendReads=0 --numberOfProcessors=6 --normalizeUsingRPKM --verbose
Traceback (most recent call last):
File "/Users/gary/anaconda/bin/bamCoverage", line 4, in <module>
from deeptools.bamCoverage import main
File "/Users/gary/anaconda/lib/python2.7/site-packages/deeptools/bamCoverage.py", line 7, in <module>
import numpy as np
File "/Users/gary/.local/lib/python2.7/site-packages/numpy/__init__.py", line 142, in <module>
from . import core
File "/Users/gary/.local/lib/python2.7/site-packages/numpy/core/__init__.py", line 71, in <module>
raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
Here is how to proceed:
- If you're working with a numpy git repository, try `git clean -xdf`
(removes all files not under version control) and rebuild numpy.
- If you are simply trying to use the numpy version that you have installed:
your installation is broken - please reinstall numpy.
- If you have already reinstalled and that did not fix the problem, then:
1. Check that you are using the Python you expect (you're using /Users/gary/anaconda/bin/python),
and that you have no directories in your PATH or PYTHONPATH that can
interfere with the Python and numpy versions you're trying to use.
2. If (1) looks fine, you can open a new issue at
https://github.com/numpy/numpy/issues. Please include details on:
- how you installed Python
- how you installed numpy
- your operating system
- whether or not you have multiple versions of Python installed
- if you built from source, your compiler versions and ideally a build log
Note: this error has many possible causes, so please don't comment on
an existing issue about this - open a new one instead.
Original error was: No module named _multiarray_umath
(base) gary > deepTools
usage: deepTools [-h] [--version]
deepTools is a suite of python tools particularly developed for the efficient analysis of
high-throughput sequencing data, such as ChIP-seq, RNA-seq or MNase-seq.
Each tool should be called by its own name as in the following example:
$ bamCoverage -b reads.bam -o coverage.bw
If you find deepTools useful for your research please cite as:
Ramírez, Fidel, Devon P. Ryan, Björn Grüning, Vivek Bhardwaj, Fabian Kilpert,
Andreas S. Richter, Steffen Heyne, Friederike Dündar,
and Thomas Manke. 2016. "deepTools2: A next Generation Web Server for Deep-Sequencing
Data Analysis." Nucleic Acids Research, April. doi:10.1093/nar/gkw257.
[ Tools for BAM and bigWig file processing ]
multiBamSummary compute read coverages over bam files. Output used for plotCorrelation or plotPCA
multiBigwigSummary extract scores from bigwig files. Output used for plotCorrelation or plotPCA
correctGCBias corrects GC bias from bam file. Don't use it with ChIP data
bamCoverage computes read coverage per bins or regions
bamCompare computes log2 ratio and other operations of read coverage of two samples per bins or regions
bigwigCompare computes log2 ratio and other operations from bigwig scores of two samples per bins or regions
computeMatrix prepares the data from bigwig scores for plotting with plotHeatmap or plotProfile
[ Tools for QC ]
plotCorrelation plots heatmaps or scatterplots of data correlation
plotPCA plots PCA
plotFingerprint plots the distribution of enriched regions
bamPEFragmentSize returns the read length and paired-end distance from a bam file
computeGCBias computes and plots the GC bias of a sample
plotCoverage plots a histogram of read coverage
[Heatmaps and summary plots]
plotHeatmap plots one or multiple heatmaps of user selected regions over different genomic scores
plotProfile plots the average profile of user selected regions over different genomic scores
plotEnrichment plots the read/fragment coverage of one or more sets of regions
[Miscellaneous]
computeMatrixOperations Modifies the output of computeMatrix in a variety of ways.
For more information visit: http://deeptools.readthedocs.org
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
(base) gary > deepTools --version
deepTools 2.5.3
(base) gary >
(base) gary > conda install -c bioconda deeptools
WARNING conda.base.context:use_only_tar_bz2(632): Conda is constrained to only using the old .tar.bz2 file format because you have conda-build installed, and it is <3.18.3. Update or remove conda-build to get smaller downloads and faster extractions.
Collecting package metadata (repodata.json): done
Solving environment: failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
- anaconda==2018.12=py37_0 -> importlib_metadata==0.6=py37_0
- anaconda==2018.12=py37_0 -> mkl-service==1.1.2=py37hfbe908c_5
- mkl-service
- pkgs/main/osx-64::importlib_metadata==0.6=py37_0
- pkgs/main/osx-64::path.py==11.5.0=py37_0 -> importlib_metadata[version='>=0.5']
(base) gary >
> To unsubscribe from this group and stop receiving emails from it, send an email to deep...@googlegroups.com.
(base) gary > pip uninstall deepTools
Uninstalling deepTools-3.3.1:
Would remove:
/anaconda3/bin/alignmentSieve
/anaconda3/bin/bamCompare
/anaconda3/bin/bamCoverage
/anaconda3/bin/bamPEFragmentSize
/anaconda3/bin/bigwigCompare
/anaconda3/bin/computeGCBias
/anaconda3/bin/computeMatrix
/anaconda3/bin/computeMatrixOperations
/anaconda3/bin/correctGCBias
/anaconda3/bin/deeptools
/anaconda3/bin/estimateReadFiltering
/anaconda3/bin/estimateScaleFactor
/anaconda3/bin/multiBamSummary
/anaconda3/bin/multiBigwigSummary
/anaconda3/bin/plotCorrelation
/anaconda3/bin/plotCoverage
/anaconda3/bin/plotEnrichment
/anaconda3/bin/plotFingerprint
/anaconda3/bin/plotHeatmap
/anaconda3/bin/plotPCA
/anaconda3/bin/plotProfile
/anaconda3/lib/python3.7/site-packages/deepTools-3.3.1.dist-info/*
/anaconda3/lib/python3.7/site-packages/deeptools/*
Proceed (y/n)? y
Successfully uninstalled deepTools-3.3.1
(base) gary > conda create -n deepTools -c conda-forge -c bioconda deeptools
WARNING: A conda environment already exists at '/anaconda3/envs/deepTools'
Remove existing environment (y/[n])? y
WARNING conda.base.context:use_only_tar_bz2(632): Conda is constrained to only using the old .tar.bz2 file format because you have conda-build installed, and it is <3.18.3. Update or remove conda-build to get smaller downloads and faster extractions.
Collecting package metadata (repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.7.5
latest version: 4.7.12
Please update conda by running
$ conda update -n base conda
## Package Plan ##
environment location: /anaconda3/envs/deepTools
added / updated specs:
- deeptools
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate deepTools
#
# To deactivate an active environment, use
#
# $ conda deactivate
(base) gary > bamCoverage --bam Chuong804.bam --outFileName Chuong804.bigwig --outFileFormat=bigwig --scaleFactor=1 --binSize=1 --extendReads=0 --numberOfProcessors=6 --normalizeUsingRPKM --verbose
Traceback (most recent call last):