Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • uchillama
    Junior Member
    • May 2015
    • 3

    #1

    Hello and MACS-1.4.2 installation questions

    Hey everyone! I just started processing fastq files, making .bam files, and now I'm working on installing and running MACS-1.4.2. As a newbie to this field as well as using a terminal on my Mac, I'm running into some issues and would like some help.

    I'm on step 3 of installation (here is a link to the installation procedure: http://www.nature.com/nprot/journal/...html#procedure) and I cannot successfully execute the script provided after navigating to the appropriate directory. The previous step was successful in that I was able to download the .tar.gz file and unpack it.

    Here's the script that I'm having issues running: > python setup.py install

    Here's what I get (sorry for the excessive length):
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'console'
    warnings.warn(msg)
    running install
    error: can't create or remove files in install directory

    The following error occurred while trying to add or remove files in the
    installation directory:

    [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-5525.write-test'

    The installation directory you specified (via --install-dir, --prefix, or
    the distutils default setting) was:

    /Library/Python/2.7/site-packages/

    Perhaps your account does not have write access to this directory? If the
    installation directory is a system-owned directory, you may need to sign in
    as the administrator or "root" account. If you do not have administrative
    access to this machine, you may wish to choose a different installation
    directory, preferably one that is listed in your PYTHONPATH environment
    variable.

    For information on other options, you may wish to consult the
    documentation at:



    Please make the appropriate changes for your system and try again.


    I've gone to the website specifying how to install/use Easy Install, but it is incredibly non-user friendly, and as a scientist without much coding background, I found it hard to comprehend the instructions to install Easy Install, let alone actually do it.

    When I try the alternative installation script, > python setup.py install --prefix /your_directory/

    I get: [Errno 2] No such file or directory:your_directory

    At this point, I've tried various paths, just in case the one I specify is incorrect, and have had no luck.

    Has one else here had similar issues installing MACS-1.4.2? Any advice?

    Thanks!

    Uchillama from VA
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Do you have admin access to this Mac? If you do then try

    Code:
    $ sudo python setup.py install
    You will have to provide the password for admin account. See if that fixes the problem.

    Unless you have a specific reason to use the older MACS you probably should install MACS2 from here: https://github.com/taoliu/MACS/wiki/Install-macs2

    Comment

    • uchillama
      Junior Member
      • May 2015
      • 3

      #3
      The code worked! Thanks so much!

      Are there any specific reasons to use MACS2 over MACS1? The only reason I'm using MACS1 is because a collaborator uses it as well, which I realize isn't the best reason.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 11:13 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 10:48 AM
      0 responses
      18 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...