Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Muthukumar
    Member
    • Jan 2016
    • 11

    How to update existing Samtools

    Hi all ,

    Since I am new to RNA seq as well as Linux. I don't how to update existing sam tool version to current updated version in wesite. Can u help me to tell the ways to do it in ubuntu terminal.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Do you have administrator privileges on this machine? Otherwise you may need to "make" and run samtools from a directory you own.

    Comment

    • Muthukumar
      Member
      • Jan 2016
      • 11

      #3
      Originally posted by GenoMax View Post
      Do you have administrator privileges on this machine? Otherwise you may need to "make" and run samtools from a directory you own.
      Thanks for reply. I do have an administrator privilege. Thing is that sam tools already in usr\bin. I mean older version . My question is whether i have to remove sam tools from there and install new version from website or any other option to update the existing tool.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        If you have admin privileges then you could save the version that is currently in /usr/bin to something like
        Code:
        $ cp -pi /usr/bin/samtools /usr/bin/samtools_old (or append version #)
        Then do the install with make prefix set to /usr/bin. Su to root account when you install.

        Note: I am assuming that you are the only (or major) user on this system. When you are changing the default samtools available on the system (and there are others who use this machine) then you should let other users know BEFORE you make this change.
        Last edited by GenoMax; 01-30-2016, 05:06 AM.

        Comment

        • mbblack
          Senior Member
          • Aug 2009
          • 245

          #5
          Originally posted by Muthukumar View Post
          Thanks for reply. I do have an administrator privilege. Thing is that sam tools already in usr\bin. I mean older version . My question is whether i have to remove sam tools from there and install new version from website or any other option to update the existing tool.
          What flavor of Linux are you running? You may be able to simply use your system's package manager to do this.

          For example, with CentOS 7 and epel repository installed, a simple:

          sudo yum update samtools.x86_64

          and you're done.
          Michael Black, Ph.D.
          ScitoVation LLC. RTP, N.C.

          Comment

          • Muthukumar
            Member
            • Jan 2016
            • 11

            #6
            Thanks for valuable reply

            Comment

            Latest Articles

            Collapse

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Today, 10:09 AM
            0 responses
            9 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 08:59 AM
            0 responses
            16 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-02-2026, 12:03 PM
            0 responses
            24 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-02-2026, 11:40 AM
            0 responses
            21 views
            0 reactions
            Last Post SEQadmin2  
            Working...