HiC-Pro error message during installation

724 views
Skip to first unread message

Yung-Chih Lai

unread,
Mar 8, 2017, 12:53:54 AM3/8/17
to HiC-Pro
Hi,

I try to install HiC-Pro on a MacBook Pro notebook, and receive an error message: Exit - Cannot install HiCPro in /local/bin directory. Maybe missing super-user (root) permissions to write there. Please specify another directory in the config-install.txt file (PREFIX=) (please see the detail below). However, I already used sudo to make configure. Could you help me how to install HiC-Pro correctly? Many thanks.

gary > pwd

/Users/gary/Applications/HiC-Pro-master

gary > ll

total 128

-rwxr-xr-x@  1 gary  staff   2.6K Mar  2 01:16 INSTALL

-rwxr-xr-x@  1 gary  staff   5.8K Mar  2 01:16 LICENSE

-rwxr-xr-x@  1 gary  staff   7.0K Mar  2 01:16 LOGBOOK

-rwxr-xr-x@  1 gary  staff   2.0K Mar  2 01:16 Makefile

-rwxr-xr-x@  1 gary  staff    12K Mar  2 01:16 NEWS

-rwxr-xr-x@  1 gary  staff    12K Mar  2 01:16 README.rst

drwxr-xr-x@ 10 gary  staff   340B Mar  2 01:16 annotation/

drwxr-xr-x@  4 gary  staff   136B Mar  2 01:16 bin/

-rwxr-xr-x@  1 gary  staff   2.7K Mar  2 01:16 config-hicpro.txt

-rwxr-xr-x@  1 gary  staff   279B Mar  2 01:16 config-install.txt

-rw-r--r--   1 gary  staff   856B Mar  8 13:45 config-system.txt

drwxr-xr-x@ 19 gary  staff   646B Mar  2 01:16 doc/

drwxr-xr-x@ 31 gary  staff   1.0K Mar  2 01:16 scripts/

gary > sudo make configure

Password:

make -f ./scripts/install/Makefile CONFIG_SYS=./config-install.txt

./scripts/install/install_dependencies.sh -c ./config-install.txt -o  /HiC-Pro_2.8.1_devel

Make sure internet connection works for your shell prompt under current user's privilege ...

Starting HiC-Pro installation ...

Where should missing software prerequisites be installed ? [/usr/bin] 

/Users/gary/Applications

Checking dependencies ... 

Checking Python libraries ...

The required Python libraries appear to be already installed. 

Checking R installation ...

The required R packages appear to be already installed. 

Bowtie2 Aligner appears to be already installed. 

Samtools appears to be already installed. 

Dependencies checked !

Check HiC-Pro configuration ... 

Warning : Scheduler system not defined - Default is Torque/PBS

Configuration for TORQUE/PBS system.

Exit - Cannot install HiCPro in /local/bin directory. Maybe missing super-user (root) permissions to write there. Please specify another directory in the config-install.txt file (PREFIX=)

make[1]: *** [configure] Error 1

make: *** [configure] Error 2

gary > 

nservant

unread,
Mar 8, 2017, 4:00:39 AM3/8/17
to HiC-Pro
Hi,
Are you sure that you can write in /local/bin/ ?
I would advice to set the prefix to another path, for instance

/Users/gary/Applications/

How do you fill the config-install.txt file ?
Thank you

Yung-Chih Lai

unread,
Mar 9, 2017, 2:12:10 AM3/9/17
to nservant, HiC-Pro
Hi,

Many thanks for your information. I have filled the config-install.txt file with /Users/gary/Applications/ (the detail below), but still receive an error message when I make install:
/Users/gary/anaconda/bin/python: can't open file 'setup.py': [Errno 2] No such file or directory
make: *** [iced] Error 2

Could you help me again? Thanks a lot.

Best,

Gary

gary > pwd
/Users/gary/Applications/HiC-Pro-master
gary > ll
total 128
-rwxr-xr-x@  1 gary  staff   2.6K Mar  2 01:16 INSTALL
-rwxr-xr-x@  1 gary  staff   5.8K Mar  2 01:16 LICENSE
-rwxr-xr-x@  1 gary  staff   7.0K Mar  2 01:16 LOGBOOK
-rwxr-xr-x@  1 gary  staff   2.0K Mar  2 01:16 Makefile
-rwxr-xr-x@  1 gary  staff    12K Mar  2 01:16 NEWS
-rwxr-xr-x@  1 gary  staff    12K Mar  2 01:16 README.rst
drwxr-xr-x@ 10 gary  staff   340B Mar  2 01:16 annotation/
drwxr-xr-x@  4 gary  staff   136B Mar  2 01:16 bin/
-rwxr-xr-x@  1 gary  staff   2.7K Mar  2 01:16 config-hicpro.txt
-rwxr-xr-x@  1 gary  staff   318B Mar  9 14:32 config-install.txt
-rw-r--r--   1 gary  staff   856B Mar  8 13:47 config-system.txt
drwxr-xr-x@ 19 gary  staff   646B Mar  2 01:16 doc/
drwxr-xr-x@ 31 gary  staff   1.0K Mar  2 01:16 scripts/
gary > cat config-install.txt

#########################################################################
## Paths and Settings  - Start editing here !
#########################################################################

PREFIX = /Users/gary/Applications/HiC-Pro-master
BOWTIE2_PATH = 
SAMTOOLS_PATH = 
R_PATH = 
PYTHON_PATH = 
CLUSTER_SYS = 
gary > make configure
make -f ./scripts/install/Makefile CONFIG_SYS=./config-install.txt
./scripts/install/install_dependencies.sh -c ./config-install.txt -o  /Users/gary/Applications/HiC-Pro-master/HiC-Pro_2.8.1_devel
Make sure internet connection works for your shell prompt under current user's privilege ...
Starting HiC-Pro installation ...
Where should missing software prerequisites be installed ? [/Users/gary/bin] 
/Users/gary/Applications
Checking dependencies ... 
Checking Python libraries ...
The required Python libraries appear to be already installed. 
Checking R installation ...
The required R packages appear to be already installed. 
Bowtie2 Aligner appears to be already installed. 
Samtools appears to be already installed. 
Dependencies checked !
Check HiC-Pro configuration ... 
Warning : Scheduler system not defined - Default is Torque/PBS
Configuration for TORQUE/PBS system.
gary > make install
(g++ -Wall -O2 -std=c++0x -o build_matrix /Users/gary/Applications/HiC-Pro-master/scripts/src/build_matrix.cpp; mv build_matrix /Users/gary/Applications/HiC-Pro-master/scripts)
/Users/gary/Applications/HiC-Pro-master/scripts/src/build_matrix.cpp:249:7: warning: 
      private field 'idx' is not used [-Wunused-private-field]
  int idx; // really needed ?
      ^
1 warning generated.
(g++ -Wall -O2 -std=c++0x -o cutsite_trimming /Users/gary/Applications/HiC-Pro-master/scripts/src/cutsite_trimming.cpp; mv cutsite_trimming /Users/gary/Applications/HiC-Pro-master/scripts)
(cp /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice /Users/gary/Applications/HiC-Pro-master/scripts; cd /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/; /Users/gary/anaconda/bin/python setup.py install --user;)
cp: /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice: Not a directory
/bin/sh: line 0: cd: /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/: Not a directory
/Users/gary/anaconda/bin/python: can't open file 'setup.py': [Errno 2] No such file or directory
make: *** [iced] Error 2
gary > HiC-Pro --help
-bash: HiC-Pro: command not found

--
You received this message because you are subscribed to a topic in the Google Groups "HiC-Pro" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hic-pro/TG60ei0H3Fo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hic-pro+unsubscribe@googlegroups.com.
To post to this group, send email to hic...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/hic-pro/04cdd194-8d8f-4586-a9ce-e5f7c7e972fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nservant

unread,
Mar 9, 2017, 4:34:16 AM3/9/17
to HiC-Pro
Hum ... Could you please replace
PREFIX = /Users/gary/Applications/HiC-Pro-master
by
PREFIX = /Users/gary/Applications/

Because, otherwise, you ask HiC-pro to be installed in its current path. Not sure if it will fix the issue, but It should be better ...
Now in theory it will try to install HiCPro in /Users/gary/Applications/HiC-Pro_2.8.1_devel/
 
Let me know if it is better.
N


On Thursday, 9 March 2017 08:12:10 UTC+1, Yung-Chih Lai wrote:
Hi,

Yung-Chih Lai

unread,
Mar 10, 2017, 2:01:31 AM3/10/17
to nservant, HiC-Pro
Hi,

Thanks a lot. I have changed the PREFIX = /Users/gary/Applications/ as you suggested, but it still showed the error message below. Could you help me? Any information I should provide? Many thanks.

By the way, do you know which directory is better to store the Bowtie2 index for HiC-Pro?

Best,

Gary

gary > pwd

/Users/gary/Applications/HiC-Pro-master

gary > ll

total 120

-rwxr-xr-x@  1 gary  staff   2.6K Mar  2 01:16 INSTALL

-rwxr-xr-x@  1 gary  staff   5.8K Mar  2 01:16 LICENSE

-rwxr-xr-x@  1 gary  staff   7.0K Mar  2 01:16 LOGBOOK

-rwxr-xr-x@  1 gary  staff   2.0K Mar  2 01:16 Makefile

-rwxr-xr-x@  1 gary  staff    12K Mar  2 01:16 NEWS

-rwxr-xr-x@  1 gary  staff    12K Mar  2 01:16 README.rst

drwxr-xr-x@ 10 gary  staff   340B Mar  2 01:16 annotation/

drwxr-xr-x@  4 gary  staff   136B Mar  2 01:16 bin/

-rwxr-xr-x@  1 gary  staff   2.7K Mar  2 01:16 config-hicpro.txt

-rwxr-xr-x@  1 gary  staff   304B Mar 10 14:55 config-install.txt

drwxr-xr-x@ 19 gary  staff   646B Mar  2 01:16 doc/

drwxr-xr-x@ 31 gary  staff   1.0K Mar  2 01:16 scripts/

gary > make configure

make -f ./scripts/install/Makefile CONFIG_SYS=./config-install.txt

./scripts/install/install_dependencies.sh -c ./config-install.txt -o  /Users/gary/Applications/HiC-Pro_2.8.1_devel

Make sure internet connection works for your shell prompt under current user's privilege ...

Starting HiC-Pro installation ...

Where should missing software prerequisites be installed ? [/Users/gary/bin] 

/Users/gary/Applications/

Checking dependencies ... 

Checking Python libraries ...

The required Python libraries appear to be already installed. 

Checking R installation ...

The required R packages appear to be already installed. 

Bowtie2 Aligner appears to be already installed. 

Samtools appears to be already installed. 

Dependencies checked !

Check HiC-Pro configuration ... 

Warning : Scheduler system not defined - Default is Torque/PBS

Configuration for TORQUE/PBS system.


gary > make install

(g++ -Wall -O2 -std=c++0x -o build_matrix /Users/gary/Applications/HiC-Pro-master/scripts/src/build_matrix.cpp; mv build_matrix /Users/gary/Applications/HiC-Pro-master/scripts)

/Users/gary/Applications/HiC-Pro-master/scripts/src/build_matrix.cpp:249:7: warning: 

      private field 'idx' is not used [-Wunused-private-field]

  int idx; // really needed ?

      ^

1 warning generated.

(g++ -Wall -O2 -std=c++0x -o cutsite_trimming /Users/gary/Applications/HiC-Pro-master/scripts/src/cutsite_trimming.cpp; mv cutsite_trimming /Users/gary/Applications/HiC-Pro-master/scripts)

(cp /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice /Users/gary/Applications/HiC-Pro-master/scripts; cd /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/; /Users/gary/anaconda/bin/python setup.py install --user;)

cp: /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice: Not a directory

/bin/sh: line 0: cd: /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/: Not a directory

/Users/gary/anaconda/bin/python: can't open file 'setup.py': [Errno 2] No such file or directory

make: *** [iced] Error 2

gary > cat config-install.txt


#########################################################################

## Paths and Settings  - Start editing here !

#########################################################################


PREFIX = /Users/gary/Applications/

BOWTIE2_PATH = 

SAMTOOLS_PATH = 

R_PATH = 

PYTHON_PATH = 

CLUSTER_SYS = 

gary > 

nservant

unread,
Mar 10, 2017, 4:21:57 AM3/10/17
to HiC-Pro
So the error is here


(cp /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice /Users/gary/Applications/HiC-Pro-master/scripts; cd /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/; /Users/gary/anaconda/bin/python setup.py install --user;)

cp: /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice: Not a directory

/bin/sh: line 0: cd: /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/: Not a directory

/Users/gary/anaconda/bin/python: can't open file 'setup.py': [Errno 2] No such file or directory

make: *** [iced] Error 2


Could you check if you this folder exists ;
/Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/

It should, as it is part of the HiC-pro master.

If I remember correctly, in your previous trial, you made a mistake in the PREFIX, therefore asking HiC-Pro to be install within your downloaded directory. I'm just wondering if you did not remove some files when you did that.
I would advice, to start from scratch. Download a new version. Set the config-install file properly and try again ...
Nicolas

Yung-Chih Lai

unread,
Mar 11, 2017, 2:57:52 AM3/11/17
to nservant, HiC-Pro
Hi,

Thanks a lot. On my notebook, iced-0.4.0 is a folder, but ice_mod is not a folder (the detail below). I try to remove the HiC-Pro, and download a new one from GitHub to re-install (the detail below). However, the same error message appeared again. Could you help me? Any other information I can provide to figure out this issue? Many thanks.


Best,


Gary


# There is a ice_mod on my Mac, but it is not a folder 

gary > pwd

/Users/gary/Applications/HiC-Pro-master/scripts/src

gary > ll

total 88

-rwxr-xr-x@  1 gary  staff    30K Mar  2 01:16 build_matrix.cpp

-rwxr-xr-x@  1 gary  staff   4.1K Mar  2 01:16 cutsite_trimming.cpp

-rwxr-xr-x@  1 gary  staff    11B Mar  2 01:16 ice_mod

drwxr-xr-x@ 17 gary  staff   578B Mar  2 01:16 iced-0.4.0/


# Remove HiC-Pro
gary > pwd
/Users/gary/Applications
gary > ls
Aspera Connect.app/ bedGraphToBigWig
Aspera Crypt.app/ bedSort
CEAS-Package-1.0.2/ bedToBigBed
Chrome Apps.localized/ bigWigToBedGraph
Flux.app/ bowtie2-2.3.0/
HTSeq-0.6.1/ fetchChromSizes
HiC-Pro-master/ genePredToGtf
HiC-Pro-master.zip hgWiggle
ROSE/ homer/
Trimmomatic-0.36/ mafSplit
Utilities/ qualimap-build-24-09-15/
Wineskin/ rar/
Wineskin Winery.app/ sratoolkit.2.8.1-2-mac64/
axtToMaf weblogo/
bamUtil/ wigToBigWig
bedClip
gary > rm -fr HiC-Pro-master
gary > rm HiC-Pro-master.zip 
gary > ls
Aspera Connect.app/ bedSort
Aspera Crypt.app/ bedToBigBed
CEAS-Package-1.0.2/ bigWigToBedGraph
Chrome Apps.localized/ bowtie2-2.3.0/
Flux.app/ fetchChromSizes
HTSeq-0.6.1/ genePredToGtf
ROSE/ hgWiggle
Trimmomatic-0.36/ homer/
Utilities/ mafSplit
Wineskin/ qualimap-build-24-09-15/
Wineskin Winery.app/ rar/
axtToMaf sratoolkit.2.8.1-2-mac64/
bamUtil/ weblogo/
bedClip wigToBigWig
bedGraphToBigWig


# Re-install HiC-Pro after downloading HiC-Pro from GitHub
gary > pwd
/Users/gary/Applications
gary > ll
total 88784
drwxrwxr-x   3 gary  staff   102B Feb  7 04:47 Aspera Connect.app/
drwxrwxr-x   3 gary  staff   102B Feb  7 04:47 Aspera Crypt.app/
drwxr-xr-x@ 10 gary  staff   340B Feb  1  2016 CEAS-Package-1.0.2/
drwx------@ 10 gary  staff   340B Jan 29  2016 Chrome Apps.localized/
drwxr-xr-x   3 gary  staff   102B Sep  6  2016 Flux.app/
drwxr-xr-x@ 15 gary  staff   510B Aug 17  2015 HTSeq-0.6.1/
-rw-r--r--@  1 gary  staff    27M Mar 11 15:35 HiC-Pro-master.zip
drwxrwxrwx  13 gary  staff   442B Nov 30 04:25 ROSE/
drwxr-xr-x@  6 gary  staff   204B Feb 18 16:18 Trimmomatic-0.36/
drwxr-xr-x   3 gary  staff   102B Dec  3  2015 Utilities/
drwxr-xr-x   4 gary  staff   136B Aug 22  2015 Wineskin/
drwxr-xr-x@  3 gary  staff   102B Aug  4  2012 Wineskin Winery.app/
-rwxrwxrwx@  1 gary  staff   483K Nov 28  2015 axtToMaf
drwxr-xr-x   4 gary  staff   136B May  9  2016 bamUtil/
-rwx------@  1 gary  staff   460K Sep  7  2015 bedClip
-rwxrwxrwx@  1 gary  staff   466K Nov 29  2015 bedGraphToBigWig
-rwxrwxrwx@  1 gary  staff   581K Jun 28  2016 bedSort
-rwxrwxrwx@  1 gary  staff   607K Feb 10  2016 bedToBigBed
-rwxr-xr-x@  1 gary  staff   461K Mar 31  2016 bigWigToBedGraph
drwxr-xr-x@ 28 gary  staff   952B Feb 18 22:43 bowtie2-2.3.0/
-rwxrwxrwx@  1 gary  staff   2.6K Feb  4  2016 fetchChromSizes
-rwxrwxrwx@  1 gary  staff   6.0M Nov 20  2015 genePredToGtf
-rwxrwxrwx@  1 gary  staff   5.9M Dec 30  2015 hgWiggle
drwxr-xr-x  15 gary  staff   510B Dec 21 04:43 homer/
-rwxrwxrwx@  1 gary  staff   585K Nov 28  2015 mafSplit
drwxr-xr-x@ 16 gary  staff   544B Oct  4  2015 qualimap-build-24-09-15/
drwxr-xr-x@ 12 gary  staff   408B Aug 11  2015 rar/
drwxr-xr-x@ 10 gary  staff   340B Feb  7 02:51 sratoolkit.2.8.1-2-mac64/
drwxr-xr-x@ 25 gary  staff   850B Dec 20 08:15 weblogo/
-rwxrwxrwx@  1 gary  staff   476K Feb  4  2016 wigToBigWig
gary > tar -zxvf HiC-Pro-master.zip
x HiC-Pro-master/
x HiC-Pro-master/.gitignore
x HiC-Pro-master/INSTALL
x HiC-Pro-master/LICENSE
x HiC-Pro-master/LOGBOOK
x HiC-Pro-master/Makefile
x HiC-Pro-master/NEWS
x HiC-Pro-master/README.rst
x HiC-Pro-master/annotation/
x HiC-Pro-master/annotation/HindIII_resfrag_hg18.bed
x HiC-Pro-master/annotation/HindIII_resfrag_hg19.bed
x HiC-Pro-master/annotation/HindIII_resfrag_mm9.bed
x HiC-Pro-master/annotation/NcoI_resfrag_hg19.bed
x HiC-Pro-master/annotation/README
x HiC-Pro-master/annotation/chrom_hg18.sizes
x HiC-Pro-master/annotation/chrom_hg19.sizes
x HiC-Pro-master/annotation/chrom_mm9.sizes
x HiC-Pro-master/bin/
x HiC-Pro-master/bin/HiC-Pro
x HiC-Pro-master/bin/utils/
x HiC-Pro-master/bin/utils/digest_genome.py
x HiC-Pro-master/bin/utils/extract_snps.py
x HiC-Pro-master/bin/utils/hicpro2fithic.py
x HiC-Pro-master/bin/utils/hicpro2juicebox.sh
x HiC-Pro-master/bin/utils/make_viewpoints.py
x HiC-Pro-master/bin/utils/sparseToDense.py
x HiC-Pro-master/bin/utils/split_reads.py
x HiC-Pro-master/config-hicpro.txt
x HiC-Pro-master/config-install.txt
x HiC-Pro-master/doc/
x HiC-Pro-master/doc/AS.rst
x HiC-Pro-master/doc/COMPATIBILITY.rst
x HiC-Pro-master/doc/ERRORS.rst
x HiC-Pro-master/doc/FAQ.rst
x HiC-Pro-master/doc/MANUAL.rst
x HiC-Pro-master/doc/Makefile
x HiC-Pro-master/doc/QUICKSTART.rst
x HiC-Pro-master/doc/RESULTS.rst
x HiC-Pro-master/doc/USER_CASES.rst
x HiC-Pro-master/doc/UTILS.rst
x HiC-Pro-master/doc/_static/
x HiC-Pro-master/doc/_static/css/
x HiC-Pro-master/doc/_static/css/bootstrap.css
x HiC-Pro-master/doc/_static/css/bootstrap.min.css
x HiC-Pro-master/doc/_static/css/jhepc.css
x HiC-Pro-master/doc/_static/js/
x HiC-Pro-master/doc/_static/js/bootstrap.js
x HiC-Pro-master/doc/_static/js/bootstrap.min.js
x HiC-Pro-master/doc/_static/js/jquery.js
x HiC-Pro-master/doc/_static/js/jquery.maphilight.js
x HiC-Pro-master/doc/_static/js/jquery.maphilight.min.js
x HiC-Pro-master/doc/_static/logos/
x HiC-Pro-master/doc/_static/logos/button_blue.png
x HiC-Pro-master/doc/_static/logos/button_blue.svg
x HiC-Pro-master/doc/_static/logos/button_green.png
x HiC-Pro-master/doc/_static/logos/button_green.svg
x HiC-Pro-master/doc/_static/logos/button_orange.png
x HiC-Pro-master/doc/_static/logos/button_orange.svg
x HiC-Pro-master/doc/_static/logos/logo_1.png
x HiC-Pro-master/doc/_static/logos/logo_1.svg
x HiC-Pro-master/doc/_static/logos/logos.svg
x HiC-Pro-master/doc/_templates/
x HiC-Pro-master/doc/_templates/function.rst
x HiC-Pro-master/doc/conf.py
x HiC-Pro-master/doc/images/
x HiC-Pro-master/doc/images/hicpro_contactstat_IMR90rep1.png
x HiC-Pro-master/doc/images/hicpro_filteringstat_IMR90rep1.png
x HiC-Pro-master/doc/images/hicpro_fragsize_IMR90rep1.png
x HiC-Pro-master/doc/images/hicpro_mappingstat_IMR90rep1.png
x HiC-Pro-master/doc/images/hicpro_pairingstat_IMR90rep1.png
x HiC-Pro-master/doc/images/hicpro_wkflow.png
x HiC-Pro-master/doc/index.rst
x HiC-Pro-master/doc/make.bat
x HiC-Pro-master/doc/themes/
x HiC-Pro-master/doc/themes/paris/
x HiC-Pro-master/doc/themes/paris/layout.html
x HiC-Pro-master/doc/themes/paris/logos
x HiC-Pro-master/doc/themes/paris/theme.conf
x HiC-Pro-master/scripts/
x HiC-Pro-master/scripts/Makefile
x HiC-Pro-master/scripts/bowtie_combine.sh
x HiC-Pro-master/scripts/bowtie_pairing.sh
x HiC-Pro-master/scripts/bowtie_wrap.sh
x HiC-Pro-master/scripts/build_raw_maps.sh
x HiC-Pro-master/scripts/hic.inc.sh
x HiC-Pro-master/scripts/ice_norm.sh
x HiC-Pro-master/scripts/install/
x HiC-Pro-master/scripts/install/Makefile
x HiC-Pro-master/scripts/install/check_Rpackages.R
x HiC-Pro-master/scripts/install/check_pythonlib.py
x HiC-Pro-master/scripts/install/install_Rpackages.R
x HiC-Pro-master/scripts/install/install_dependencies.sh
x HiC-Pro-master/scripts/make_lsf_script.sh
x HiC-Pro-master/scripts/make_plots.sh
x HiC-Pro-master/scripts/make_sge_script.sh
x HiC-Pro-master/scripts/make_slurm_script.sh
x HiC-Pro-master/scripts/make_torque_script.sh
x HiC-Pro-master/scripts/mapped_2hic_dnase.py
x HiC-Pro-master/scripts/mapped_2hic_fragments.py
x HiC-Pro-master/scripts/mapped_2hic_fragments.sh
x HiC-Pro-master/scripts/mapping_stat.sh
x HiC-Pro-master/scripts/markAllelicStatus.py
x HiC-Pro-master/scripts/mergeSAM.py
x HiC-Pro-master/scripts/merge_statfiles.py
x HiC-Pro-master/scripts/merge_stats.sh
x HiC-Pro-master/scripts/merge_valid_interactions.sh
x HiC-Pro-master/scripts/onTarget.py
x HiC-Pro-master/scripts/plot_hic_contacts.R
x HiC-Pro-master/scripts/plot_hic_fragment.R
x HiC-Pro-master/scripts/plot_mapping_portion.R
x HiC-Pro-master/scripts/plot_pairing_portion.R
x HiC-Pro-master/scripts/split_valid_interactions.py
x HiC-Pro-master/scripts/src/
x HiC-Pro-master/scripts/src/build_matrix.cpp
x HiC-Pro-master/scripts/src/cutsite_trimming.cpp
x HiC-Pro-master/scripts/src/ice_mod
x HiC-Pro-master/scripts/src/iced-0.4.0/
x HiC-Pro-master/scripts/src/iced-0.4.0/.gitignore
x HiC-Pro-master/scripts/src/iced-0.4.0/.travis.yml
x HiC-Pro-master/scripts/src/iced-0.4.0/CITATION
x HiC-Pro-master/scripts/src/iced-0.4.0/CONTRIBUTORS
x HiC-Pro-master/scripts/src/iced-0.4.0/COPYING
x HiC-Pro-master/scripts/src/iced-0.4.0/MANIFEST.in
x HiC-Pro-master/scripts/src/iced-0.4.0/Makefile
x HiC-Pro-master/scripts/src/iced-0.4.0/README.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/appveyor.yml
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/appveyor/
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/appveyor/install.ps1
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/appveyor/requirements.txt
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/appveyor/run_with_env.cmd
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/circle/
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/circle/build_doc.sh
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/circle/check_build_doc.py
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/circle/push_doc.sh
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/cythonize.py
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/travis/
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/travis/after_success.sh
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/travis/install.sh
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/travis/test_script.sh
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/windows/
x HiC-Pro-master/scripts/src/iced-0.4.0/build_tools/windows/windows_testing_downloader.ps1
x HiC-Pro-master/scripts/src/iced-0.4.0/continuous_integration/
x HiC-Pro-master/scripts/src/iced-0.4.0/continuous_integration/install.sh
x HiC-Pro-master/scripts/src/iced-0.4.0/continuous_integration/show-python-packages-versions.py
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/.gitignore
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/Makefile
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/css/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/css/bootstrap.css
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/css/bootstrap.min.css
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/css/jhepc.css
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/js/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/js/bootstrap.js
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/js/bootstrap.min.js
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/js/jquery.js
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/js/jquery.maphilight.js
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/js/jquery.maphilight.min.js
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/logos/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/logos/button_blue.png
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/logos/button_blue.svg
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/logos/button_green.png
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/logos/button_green.svg
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/logos/button_orange.png
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/logos/button_orange.svg
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/logos/logo_1.png
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/logos/logo_1.svg
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_static/logos/logos.svg
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_templates/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/_templates/function.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/conf.py
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/documentation.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/index.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/install.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/make.bat
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/modules/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/modules/.gitignore
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/modules/classes.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/modules/datasets.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/modules/filter.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/modules/normalization.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/modules/utils.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/sphinxext/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/sphinxext/LICENSE.txt
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/sphinxext/MANIFEST.in
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/sphinxext/README.txt
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/sphinxext/gen_rst.py
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/sphinxext/numpy_ext/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/sphinxext/numpy_ext/__init__.py
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/sphinxext/numpy_ext/docscrape.py
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/sphinxext/numpy_ext/docscrape_sphinx.py
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/sphinxext/numpy_ext/numpydoc.py
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/themes/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/themes/iced/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/themes/iced/layout.html
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/themes/iced/logos
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/themes/iced/theme.conf
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/tutorial/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/tutorial/basic/
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/tutorial/basic/tutorial.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/tutorial/index.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/doc/whats_new.rst
x HiC-Pro-master/scripts/src/iced-0.4.0/examples/
x HiC-Pro-master/scripts/src/iced-0.4.0/examples/README.txt
x HiC-Pro-master/scripts/src/iced-0.4.0/examples/normalization/
x HiC-Pro-master/scripts/src/iced-0.4.0/examples/normalization/README.txt
x HiC-Pro-master/scripts/src/iced-0.4.0/examples/normalization/plot_filtering_strategies.py
x HiC-Pro-master/scripts/src/iced-0.4.0/examples/normalization/plot_ice_normalization.py
x HiC-Pro-master/scripts/src/iced-0.4.0/examples/utils/
x HiC-Pro-master/scripts/src/iced-0.4.0/examples/utils/README.txt
x HiC-Pro-master/scripts/src/iced-0.4.0/examples/utils/plot_extract_sample_map.py
x HiC-Pro-master/scripts/src/iced-0.4.0/examples/utils/plot_intra_inter_contact_maps.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/__init__.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/_filter_.c
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/_filter_.pyx
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/_normalization_.c
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/_normalization_.pyx
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/datasets/
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/datasets/__init__.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/datasets/base.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/datasets/data/
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/datasets/data/duan2009/
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/datasets/data/duan2009/duan.SC.10000.raw_sub.bed
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/datasets/data/duan2009/duan.SC.10000.raw_sub.matrix
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/datasets/setup.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/datasets/tests/
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/datasets/tests/test_base.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/filter.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/io/
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/io/__init__.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/io/_io_else.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/io/_io_pandas.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/io/fastio_.c
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/io/fastio_.pyx
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/io/read.c
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/io/setup.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/io/write.c
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/normalization.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/scripts/
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/scripts/ice
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/setup.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/tests/
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/tests/test_filter.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/tests/test_normalization.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/utils/
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/utils/__init__.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/utils/_genome.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/utils/_validation.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/utils/tests/
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/utils/tests/test_genome.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/utils/tests/test_validation.py
x HiC-Pro-master/scripts/src/iced-0.4.0/iced/utils/validation.py
x HiC-Pro-master/scripts/src/iced-0.4.0/setup.py
gary > ll
total 88784
drwxrwxr-x   3 gary  staff   102B Feb  7 04:47 Aspera Connect.app/
drwxrwxr-x   3 gary  staff   102B Feb  7 04:47 Aspera Crypt.app/
drwxr-xr-x@ 10 gary  staff   340B Feb  1  2016 CEAS-Package-1.0.2/
drwx------@ 10 gary  staff   340B Jan 29  2016 Chrome Apps.localized/
drwxr-xr-x   3 gary  staff   102B Sep  6  2016 Flux.app/
drwxr-xr-x@ 15 gary  staff   510B Aug 17  2015 HTSeq-0.6.1/
drwxr-xr-x@ 15 gary  staff   510B Mar 11 07:42 HiC-Pro-master/
-rw-r--r--@  1 gary  staff    27M Mar 11 15:35 HiC-Pro-master.zip
drwxrwxrwx  13 gary  staff   442B Nov 30 04:25 ROSE/
drwxr-xr-x@  6 gary  staff   204B Feb 18 16:18 Trimmomatic-0.36/
drwxr-xr-x   3 gary  staff   102B Dec  3  2015 Utilities/
drwxr-xr-x   4 gary  staff   136B Aug 22  2015 Wineskin/
drwxr-xr-x@  3 gary  staff   102B Aug  4  2012 Wineskin Winery.app/
-rwxrwxrwx@  1 gary  staff   483K Nov 28  2015 axtToMaf
drwxr-xr-x   4 gary  staff   136B May  9  2016 bamUtil/
-rwx------@  1 gary  staff   460K Sep  7  2015 bedClip
-rwxrwxrwx@  1 gary  staff   466K Nov 29  2015 bedGraphToBigWig
-rwxrwxrwx@  1 gary  staff   581K Jun 28  2016 bedSort
-rwxrwxrwx@  1 gary  staff   607K Feb 10  2016 bedToBigBed
-rwxr-xr-x@  1 gary  staff   461K Mar 31  2016 bigWigToBedGraph
drwxr-xr-x@ 28 gary  staff   952B Feb 18 22:43 bowtie2-2.3.0/
-rwxrwxrwx@  1 gary  staff   2.6K Feb  4  2016 fetchChromSizes
-rwxrwxrwx@  1 gary  staff   6.0M Nov 20  2015 genePredToGtf
-rwxrwxrwx@  1 gary  staff   5.9M Dec 30  2015 hgWiggle
drwxr-xr-x  15 gary  staff   510B Dec 21 04:43 homer/
-rwxrwxrwx@  1 gary  staff   585K Nov 28  2015 mafSplit
drwxr-xr-x@ 16 gary  staff   544B Oct  4  2015 qualimap-build-24-09-15/
drwxr-xr-x@ 12 gary  staff   408B Aug 11  2015 rar/
drwxr-xr-x@ 10 gary  staff   340B Feb  7 02:51 sratoolkit.2.8.1-2-mac64/
drwxr-xr-x@ 25 gary  staff   850B Dec 20 08:15 weblogo/
-rwxrwxrwx@  1 gary  staff   476K Feb  4  2016 wigToBigWig
gary > cd HiC-Pro-master
gary > ll
total 120
-rwxr-xr-x@  1 gary  staff   2.6K Mar 11 07:42 INSTALL
-rwxr-xr-x@  1 gary  staff   5.8K Mar 11 07:42 LICENSE
-rwxr-xr-x@  1 gary  staff   7.0K Mar 11 07:42 LOGBOOK
-rwxr-xr-x@  1 gary  staff   2.0K Mar 11 07:42 Makefile
-rwxr-xr-x@  1 gary  staff    12K Mar 11 07:42 NEWS
-rwxr-xr-x@  1 gary  staff    12K Mar 11 07:42 README.rst
drwxr-xr-x@ 10 gary  staff   340B Mar 11 07:42 annotation/
drwxr-xr-x@  4 gary  staff   136B Mar 11 07:42 bin/
-rwxr-xr-x@  1 gary  staff   2.7K Mar 11 07:42 config-hicpro.txt
-rwxr-xr-x@  1 gary  staff   279B Mar 11 07:42 config-install.txt
drwxr-xr-x@ 19 gary  staff   646B Mar 11 07:42 doc/
drwxr-xr-x@ 31 gary  staff   1.0K Mar 11 07:42 scripts/
gary > nano config-install.txt 
gary > cat config-install.txt 

#########################################################################
## Paths and Settings  - Start editing here !
#########################################################################

PREFIX = /Users/gary/Applications/
BOWTIE2_PATH = 
SAMTOOLS_PATH = 
R_PATH = 
PYTHON_PATH = 
CLUSTER_SYS = 
(cp /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice /Users/gary/Applications/HiC-Pro-master/scripts; cd /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/; /Users/gary/anaconda/bin/python setup.py install --user;)
cp: /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice: Not a directory
/bin/sh: line 0: cd: /Users/gary/Applications/HiC-Pro-master/scripts/src/ice_mod/: Not a directory
/Users/gary/anaconda/bin/python: can't open file 'setup.py': [Errno 2] No such file or directory
make: *** [iced] Error 2
gary > 

--
You received this message because you are subscribed to a topic in the Google Groups "HiC-Pro" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hic-pro/TG60ei0H3Fo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hic-pro+unsubscribe@googlegroups.com.
To post to this group, send email to hic...@googlegroups.com.

Victoria

unread,
Sep 5, 2017, 3:53:03 PM9/5/17
to HiC-Pro
Hi,

I am having a similar problem when installing HiC-Pro. I did not have any problem with "make configure," but then ran into the problem where "ice_mod" was not a folder. I was wondering if you were able to fix it and successfully installed it. I would really appreciate any help or suggestions. 

Best regards,
Victoria  

$ make install

(g++ -Wall -O2 -std=c++0x -o build_matrix /Users/noekimv2/HiC-Pro-master/scripts/src/build_matrix.cpp; mv build_matrix /Users/noekimv2/HiC-Pro-master/scripts)

/Users/noekimv2/HiC-Pro-master/scripts/src/build_matrix.cpp:249:7: warning: private field

      'idx' is not used [-Wunused-private-field]

  int idx; // really needed ?

      ^

1 warning generated.

(g++ -Wall -O2 -std=c++0x -o cutsite_trimming /Users/noekimv2/HiC-Pro-master/scripts/src/cutsite_trimming.cpp; mv cutsite_trimming /Users/noekimv2/HiC-Pro-master/scripts)

(cp /Users/noekimv2/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice /Users/noekimv2/HiC-Pro-master/scripts; cd /Users/noekimv2/HiC-Pro-master/scripts/src/ice_mod/; /Library/Frameworks/Python.framework/Versions/2.7/bin/python setup.py install --user;)

cp: /Users/noekimv2/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice: Not a directory

/bin/sh: line 0: cd: /Users/noekimv2/HiC-Pro-master/scripts/src/ice_mod/: Not a directory

/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory

To unsubscribe from this group and all its topics, send an email to hic-pro+u...@googlegroups.com.

To post to this group, send email to hic...@googlegroups.com.

Victoria

unread,
Sep 5, 2017, 3:56:38 PM9/5/17
to HiC-Pro, nicolas.se...@gmail.com

nservant

unread,
Sep 5, 2017, 4:51:49 PM9/5/17
to HiC-Pro
Hi Victoria,

Let's try to fix it !


(cp /Users/noekimv2/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice /Users/noekimv2/HiC-Pro-master/scripts; cd /Users/noekimv2/HiC-Pro-master/scripts/src/ice_mod/; /Library/Frameworks/Python.framework/Versions/2.7/bin/python setup.py install --user;)

cp: /Users/noekimv2/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice: Not a directory

/bin/sh: line 0: cd: /Users/noekimv2/HiC-Pro-master/scripts/src/ice_mod/: Not a directory

/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory


Could you please check if the files exist ? ice_mod is expected to be a symbolink link ... not a directory. Is it the case ?
Thanks

Victoria

unread,
Sep 6, 2017, 10:43:26 AM9/6/17
to HiC-Pro
Hi,

Thanks a lot for your prompt reply! 

cp: /Users/noekimv2/HiC-Pro-master/scripts/src/ice_mod/iced/scripts/ice: Not a directory

/bin/sh: line 0: cd: /Users/noekimv2/HiC-Pro-master/scripts/src/ice_mod/: Not a directory


The following is in the /scripts/src/ file which includes ice_mod not as a directory. 


Ges-Mac-Pro:HiC-Pro-master $ cd scripts

Ges-Mac-Pro:scripts $ ls

Makefile*                    make_plots.sh*               merge_stats.sh*

bowtie_combine.sh*           make_sge_script.sh*          merge_valid_interactions.sh*

bowtie_pairing.sh*           make_slurm_script.sh*        onTarget.py*

bowtie_wrap.sh*              make_torque_script.sh*       plot_hic_contacts.R*

build_matrix*                mapped_2hic_dnase.py*        plot_hic_fragment.R*

build_raw_maps.sh*           mapped_2hic_fragments.py*    plot_mapping_portion.R*

cutsite_trimming*            mapped_2hic_fragments.sh*    plot_pairing_portion.R*

hic.inc.sh*                  mapping_stat.sh*             split_valid_interactions.py*

ice_norm.sh*                 markAllelicStatus.py*        src/

install/                     mergeSAM.py*

make_lsf_script.sh*          merge_statfiles.py*

Ges-Mac-Pro:scripts$ cd src

Ges-Mac-Pro:src$ ls

build_matrix.cpp*     ice_mod*              iced-0.4.2/

cutsite_trimming.cpp* iced-0.4.0/



The following location did not have setup.py file in the folder as seen below: 

/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory


Ges-Mac-Pro:src $ cd /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/

Ges-Mac-Pro:MacOS $ ls

Python*


Please let know if you need more information.


Thank you!

Victoria

nservant

unread,
Sep 7, 2017, 7:50:54 AM9/7/17
to HiC-Pro
Sorry for my late answer.
So it seems that the ice_mod symbolic link is there. I do not understand why it doesn't want to follow the link.
Anyway. Could you try to remove the ice_mod link, and to rename the folder iced-0.4.2/ into ice_mod ?
By doing this, you will remove the symbolink link which seems to promote the error ... or at least I hope so !

Victoria

unread,
Sep 7, 2017, 8:19:33 AM9/7/17
to HiC-Pro, nicolas.se...@gmail.com

Thanks so much. It went through! However, I think I am not able to use HiC-Pro command and at the end of installation it did not specify which folder it was installed in as seen below. I would appreciate your help with this. 


copying build/scripts.macosx-10.6-x86_64-2.7/ice -> /Users/gelab/Library/Python/2.7/bin
changing mode of /Users/gelab/Library/Python/2.7/bin/ice to 755
running install_data
running install_egg_info
Writing /Users/gelab/Library/Python/2.7/lib/python/site-packages/iced-0.4.0_git-py2.7.egg-info
running install_clib
customize UnixCCompiler
cp -Ri /Users/noekimv2/HiC-Pro-master /Users/noekimv2/HiC-Pro_2.9.0
HiC-Pro installed in  !

nservant

unread,
Sep 7, 2017, 8:21:12 AM9/7/17
to HiC-Pro
Did you set up the PREFIX value in the config-install file ?

Victoria

unread,
Sep 7, 2017, 8:23:54 AM9/7/17
to HiC-Pro, nicolas.se...@gmail.com
I had the PREFIX value added as: 

PREFIX = /Users/noekimv2/HiC-Pro-master/

nservant

unread,
Sep 7, 2017, 8:32:51 AM9/7/17
to HiC-Pro
Is it where you run the 'make' ?
My understanding is that you are on '/Users/noekimv2/HiC-Pro-master', and you want to install HiCPro on '/Users/noekimv2/HiC-Pro_2.9.0'
Am I correct ?

Anyway it seems that the copy has been done. Could check if it was installed in '/Users/noekimv2/HiC-Pro_2.9.0 ?


cp -Ri /Users/noekimv2/HiC-Pro-master /Users/noekimv2/HiC-Pro_2.9.0
HiC-Pro installed in  !



Victoria

unread,
Sep 7, 2017, 8:39:25 AM9/7/17
to HiC-Pro

The '/Users/noekimv2/HiC-Pro_2.9.0' was created when I ran "make install" on '/Users/noekimv2/HiC-Pro-master.'  The following is what I have in the '/Users/noekimv2/HiC-Pro_2.9.0' and it still does not recognize the HiC-Pro command. 

Ges-Mac-Pro:HiC-Pro_2.9.0 gelab$ pwd
/Users/noekimv2/HiC-Pro_2.9.0
Ges-Mac-Pro:HiC-Pro_2.9.0 gelab$ ls
INSTALL*            LOGBOOK*            NEWS*               annotation/         config-hicpro.txt*  config-system.txt   scripts/
LICENSE*            Makefile*           README.rst*         bin/                config-install.txt* doc/

nservant

unread,
Sep 7, 2017, 8:44:31 AM9/7/17
to HiC-Pro
HiC-Pro is in the bin folder.
I think it is installed. Could you just show me what you have in the script folder ?

Victoria

unread,
Sep 7, 2017, 8:51:14 AM9/7/17
to HiC-Pro
This is what I have in the script folder.

Ges-Mac-Pro:HiC-Pro_2.9.0 gelab$ cd scripts
Ges-Mac-Pro:scripts gelab$ ls
Makefile*                    ice*                         mapped_2hic_dnase.py*        merge_valid_interactions.sh*
bowtie_combine.sh*           ice_norm.sh*                 mapped_2hic_fragments.py*    onTarget.py*
bowtie_pairing.sh*           install/                     mapped_2hic_fragments.sh*    plot_hic_contacts.R*
bowtie_wrap.sh*              make_lsf_script.sh*          mapping_stat.sh*             plot_hic_fragment.R*
build_matrix*                make_plots.sh*               markAllelicStatus.py*        plot_mapping_portion.R*
build_raw_maps.sh*           make_sge_script.sh*          mergeSAM.py*                 plot_pairing_portion.R*
cutsite_trimming*            make_slurm_script.sh*        merge_statfiles.py*          split_valid_interactions.py*
hic.inc.sh*                  make_torque_script.sh*       merge_stats.sh*              src/
...

nservant

unread,
Sep 7, 2017, 9:06:16 AM9/7/17
to HiC-Pro
Everthing is there. So I think it is fine.
As you are on Mac, I would adive two additional tests ;
Open python and just try
>> import iced
To be sure that the iced module was well installed.
Then, check you sort command. It should support the -V option.

Finally, I would strongly suggest to run the test dataset first, to be sure that everything is fine.

Victoria

unread,
Sep 7, 2017, 9:26:20 AM9/7/17
to HiC-Pro
Thank you. I opened python and imported iced and then I checked the sort command to see if -V option was there. But I don't see the -V option. Is it something I need to install? I will definitely run the test dataset once everything is working. 

nservant

unread,
Sep 7, 2017, 9:30:05 AM9/7/17
to HiC-Pro
Yes you need to install the GNU sort command on your Mac. Look at previous posts, this is a common issue on Mac.
Good luck !
Reply all
Reply to author
Forward
0 new messages