I have been familiar with Linux and Windows, but I am still not very familiar with Mac. Today I have spent a lot of time on Mac.
Homer is a program for analyzing DNA motif and needs to be installed before use.
First, visit http://biowhat.ucsd.edu/homer/introduction/install.htmlto download an installation script configurehomer.pl.
CD to the directory, and then Perl configurehomer. pl-install to install
Of course, it has some dependency, so you need to download some dependency such as samtools and Blat (you need to carefully check the description ).
After installation, a path will be provided for you to paste it to. bashrc. It is very easy in Ubuntu, As long as sudo gedit/etc /. bashrc is fine, but the strange thing is that in Mac, I can't activate the modification permission, that is, using root (Sudo-S) is not good. I had to create a new/foreverycc/. bashrc file in my home folder and paste some paths here. Just click "Source" to get source/users/foreverycc/. bashrc
In this case, when you type findmotifs. pl, several options will appear!
The. bashrc file is designed to allow your program to be used directly on Bash.
### Use of Homer ###
I am mainly using a program called findmotifs. pl.
Usage rules: findmotifs. pl input file genome set output directory-BG Background File
For example:
findMotifs.pl Homer_Test/Top_170_Features_Symbol_HMHE_HMLE.txt human Homer_Result/Top_170_Features_BG_HMHE_HMLE/ -bg Homer_Test/Background_Features.txt
Then wait for the result ~