Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #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


    • #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


      • #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


        • #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


          • #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


            • #21
              thank you

              Thank you... It's working now

              Comment


              • #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


                • #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


                  • #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


                    • #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

                      • seqadmin
                        Essential Discoveries and Tools in Epitranscriptomics
                        by seqadmin




                        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
                        04-22-2024, 07:01 AM
                      • seqadmin
                        Current Approaches to Protein Sequencing
                        by seqadmin


                        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                        04-04-2024, 04:25 PM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by seqadmin, Today, 08:06 AM
                      0 responses
                      11 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 04-30-2024, 12:17 PM
                      0 responses
                      13 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 04-29-2024, 10:49 AM
                      0 responses
                      19 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 04-25-2024, 11:49 AM
                      0 responses
                      26 views
                      0 likes
                      Last Post seqadmin  
                      Working...
                      X