Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • rhinoceros
    Senior Member
    • Apr 2013
    • 372

    #16
    Originally posted by Irshad View Post
    How can I address this problem or how do I know that the folder is not right one??
    ls -l

    Do you see samtools-0.1.19.tar.bz2? If not, it's not the correct folder/directory. You have to either cd to the directory into which you downloaded samtools-0.1.19.tar.bz2, or alternatively, provide full path of the file for tar (it doesn't just magically know where the file is, but always assumes current working directory..). You have a long way ahead of you
    savetherhino.org

    Comment

    • mastal
      Senior Member
      • Mar 2009
      • 666

      #17
      How to install samtools on MAC OS X?

      Originally posted by Irshad View Post
      Hi Mastal,
      thank you for your answer.

      Giving the command line you mentioned results in the following

      tar: Option f requires an argument
      Usage:
      List: tar -tf <archive-filename>
      Extract: tar -xf <archive-filename>
      Create: tar -cf <archive-filename> [filenames...]
      Help: tar --help
      OK, so it seems that 'tar' is working.

      What happens if you type 'tar jtvf ./samtools-0.1.19.tar.bz2'?

      Comment

      • Mariel_Oyervides
        Junior Member
        • Aug 2013
        • 3

        #18
        Install samtools

        Hi there!
        I'm having problems too with the Samtools installation in my Mac. I have downloaded Xcode, also home-brew and the command line tools are installed. I've tried moving the carpet to the desk and still nothing happens. This is the message I've got from the terminal when I try to install it, I don't know what to do next.

        MacBook-Pro-de-Marielownloads Mariel$ install samtools
        usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
        [-o owner] file1 file2
        install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
        [-o owner] file1 ... fileN directory
        install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        Hope someone could help me

        Comment

        • dpryan
          Devon Ryan
          • Jul 2011
          • 3478

          #19
          Did you already download the source code, extract it, and compile it? The install command mostly moves files around and sets their permissions.

          Comment

          • rhinoceros
            Senior Member
            • Apr 2013
            • 372

            #20
            Originally posted by Mariel_Oyervides View Post
            Hi there!
            I'm having problems too with the Samtools installation in my Mac. I have downloaded Xcode, also home-brew and the command line tools are installed. I've tried moving the carpet to the desk and still nothing happens. This is the message I've got from the terminal when I try to install it, I don't know what to do next.

            MacBook-Pro-de-Marielownloads Mariel$ install samtools
            usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
            [-o owner] file1 file2
            install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
            [-o owner] file1 ... fileN directory
            install -d [-v] [-g group] [-m mode] [-o owner] directory ...

            Hope someone could help me
            After you have extracted the file you just cd into the folder and type make. This will build you samtools. After that you can use it by typing ./samtools in the folder. Alternatively you can move samtools somewhere in your path so you can call it from wherever..
            savetherhino.org

            Comment

            • Mariel_Oyervides
              Junior Member
              • Aug 2013
              • 3

              #21
              thank you

              Thank you... It's working now

              Comment

              • rhinoceros
                Senior Member
                • Apr 2013
                • 372

                #22
                Originally posted by selshamieh
                I have also downloaded the v 0.1.19 and then followed the steps that you have mentioned (unzip + make command in terminal), however when I type samtools in the terminal, I still find the version 0.1.18.

                May you help plz to solve this issue ?

                many thanks in advance !
                What happens when you type ./samtools in the folder where you compiled the program?

                I bet you didn't put it into your path, whereas the version you installed through macports is in your path..
                savetherhino.org

                Comment

                • maubp
                  Peter (Biopython etc)
                  • Jul 2009
                  • 1544

                  #23
                  I would find out where the current samtools is, check with this:

                  $ which samtools

                  You could then replace the old version (safe it that was also installed by you from source), or use something like $HOME/bin and ensure that is early in your $PATH setting.

                  Comment

                  • rhinoceros
                    Senior Member
                    • Apr 2013
                    • 372

                    #24
                    Originally posted by selshamieh

                    So what should I do next ?

                    How to put it in the path??
                    1. open terminal
                    2. type cd
                    3. type nano .bash_profile
                    4. add what's below to the bottom of the document (except replace the path (/xxx/xxx/xxx/samtools) wherever you put samtools.. you can type pwd in samtools dir to see, or can first move the folder somewhere more convenient so you don't delete it accidentally or something, personally I've made a dir called Software to my home.. so this kinda stuff is always at /Users/MyName/Software/xxx):
                    Code:
                    export PATH=/Users/You/Software/samtools:${PATH}
                    5. hold ctrl and push x -> select save with y
                    6. type source .bash_profile

                    It's now in your path. Depending on your preferences, the older samtools might override in preference this path, so maybe it would be a good idea to uninstall it via macports (don't ask me how since I never used macports).

                    If all this is too difficult you can always just use samtools from your folder as you already did.. by ./samtools
                    Last edited by rhinoceros; 08-20-2013, 08:03 AM.
                    savetherhino.org

                    Comment

                    • dpryan
                      Devon Ryan
                      • Jul 2011
                      • 3478

                      #25
                      you'll actually need to restart the console for the new PATH to take effect. Alternatively, just run:
                      Code:
                      export PATH=/Users/apple/downloads/samtools-0.1.19:$PATH
                      and be things should work.

                      Comment

                      Latest Articles

                      Collapse

                      • SEQadmin2
                        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                        by SEQadmin2


                        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                        The systematic characterization of the human proteome has
                        ...
                        07-20-2026, 11:48 AM
                      • SEQadmin2
                        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                        by SEQadmin2



                        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                        ...
                        07-09-2026, 11:10 AM
                      • SEQadmin2
                        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                        by SEQadmin2



                        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                        07-08-2026, 05:17 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, 07-24-2026, 12:17 PM
                      0 responses
                      31 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-23-2026, 11:41 AM
                      0 responses
                      23 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-20-2026, 11:10 AM
                      0 responses
                      214 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-13-2026, 10:26 AM
                      0 responses
                      79 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...