cannot configure or make install samtools 0.1.19











up vote
1
down vote

favorite












I need to install a certain version of samtools (0.1.19) (found at https://sourceforge.net/projects/samtools/).



./configure returns "no such file..."
make works correctly (from what I can tell)
sudo make install returns "make: *** No rule to make target 'install'. Stop."



Different versions work fine. I'm completely lost, the readme doesn't provide any help and I am not savvy enough to detect any problems in the makefile. Any help would be greatly appreciated after hours of failed attempts...










share|improve this question







New contributor




ubuntuquestions is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    1
    down vote

    favorite












    I need to install a certain version of samtools (0.1.19) (found at https://sourceforge.net/projects/samtools/).



    ./configure returns "no such file..."
    make works correctly (from what I can tell)
    sudo make install returns "make: *** No rule to make target 'install'. Stop."



    Different versions work fine. I'm completely lost, the readme doesn't provide any help and I am not savvy enough to detect any problems in the makefile. Any help would be greatly appreciated after hours of failed attempts...










    share|improve this question







    New contributor




    ubuntuquestions is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I need to install a certain version of samtools (0.1.19) (found at https://sourceforge.net/projects/samtools/).



      ./configure returns "no such file..."
      make works correctly (from what I can tell)
      sudo make install returns "make: *** No rule to make target 'install'. Stop."



      Different versions work fine. I'm completely lost, the readme doesn't provide any help and I am not savvy enough to detect any problems in the makefile. Any help would be greatly appreciated after hours of failed attempts...










      share|improve this question







      New contributor




      ubuntuquestions is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I need to install a certain version of samtools (0.1.19) (found at https://sourceforge.net/projects/samtools/).



      ./configure returns "no such file..."
      make works correctly (from what I can tell)
      sudo make install returns "make: *** No rule to make target 'install'. Stop."



      Different versions work fine. I'm completely lost, the readme doesn't provide any help and I am not savvy enough to detect any problems in the makefile. Any help would be greatly appreciated after hours of failed attempts...







      make configure






      share|improve this question







      New contributor




      ubuntuquestions is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      ubuntuquestions is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      ubuntuquestions is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 24 at 18:21









      ubuntuquestions

      82




      82




      New contributor




      ubuntuquestions is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      ubuntuquestions is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      ubuntuquestions is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Really you do not need to compile this application by yourself.



          It is packaged in all currently supported versions in universe pocket.

          You can add this pocket with (if it is no enabled) the command:



          sudo add-apt-repository universe


          and then you can simply install it with:



          sudo apt-get install samtools




          If you really want to compile samtools, then you do not need to run ./configure script (as it does not exist), just use make:



          cd ~/Downloads
          wget https://vorboss.dl.sourceforge.net/project/samtools/samtools/0.1.19/samtools-0.1.19.tar.bz2
          tar -xf samtools-0.1.19.tar.bz2
          cd samtools-0.1.19
          make


          and you will get:




          $ ./samtools 

          Program: samtools (Tools for alignments in the SAM format)
          Version: 0.1.19-44428cd

          Usage: samtools <command> [options]

          Command: view SAM<->BAM conversion
          sort sort alignment file
          mpileup multi-way pileup
          depth compute the depth
          faidx index/extract FASTA
          tview text alignment viewer
          index index alignment
          idxstats BAM index stats (r595 or later)
          fixmate fix mate information
          flagstat simple stats
          calmd recalculate MD/NM tags and '=' bases
          merge merge sorted alignments
          rmdup remove PCR duplicates
          reheader replace BAM header
          cat concatenate BAMs
          bedcov read depth per BED region
          targetcut cut fosmid regions (for fosmid pool only)
          phase phase heterozygotes
          bamshuf shuffle and group alignments by name






          share|improve this answer























          • Unfortunately, I cannot find a way to install the previous version: sudo apt-get install samtools=0.1.19 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '0.1.19' for 'samtools' was not found
            – ubuntuquestions
            Nov 24 at 20:07










          • Also, 'universe' distribution component is already enabled for all sources.
            – ubuntuquestions
            Nov 24 at 20:09










          • What is your Ubuntu version?
            – N0rbert
            Nov 24 at 20:12










          • Ubuntu 18.04.1.
            – ubuntuquestions
            Nov 24 at 20:18










          • 18.04 has samtools (1.7-1). So if you really want 0.1.19, then compile it as described in my answer. I have never used this software, but it is possible that 1.7-1 may replace 0.1.19 by all functionality.
            – N0rbert
            Nov 24 at 20:20











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          ubuntuquestions is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095711%2fcannot-configure-or-make-install-samtools-0-1-19%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          Really you do not need to compile this application by yourself.



          It is packaged in all currently supported versions in universe pocket.

          You can add this pocket with (if it is no enabled) the command:



          sudo add-apt-repository universe


          and then you can simply install it with:



          sudo apt-get install samtools




          If you really want to compile samtools, then you do not need to run ./configure script (as it does not exist), just use make:



          cd ~/Downloads
          wget https://vorboss.dl.sourceforge.net/project/samtools/samtools/0.1.19/samtools-0.1.19.tar.bz2
          tar -xf samtools-0.1.19.tar.bz2
          cd samtools-0.1.19
          make


          and you will get:




          $ ./samtools 

          Program: samtools (Tools for alignments in the SAM format)
          Version: 0.1.19-44428cd

          Usage: samtools <command> [options]

          Command: view SAM<->BAM conversion
          sort sort alignment file
          mpileup multi-way pileup
          depth compute the depth
          faidx index/extract FASTA
          tview text alignment viewer
          index index alignment
          idxstats BAM index stats (r595 or later)
          fixmate fix mate information
          flagstat simple stats
          calmd recalculate MD/NM tags and '=' bases
          merge merge sorted alignments
          rmdup remove PCR duplicates
          reheader replace BAM header
          cat concatenate BAMs
          bedcov read depth per BED region
          targetcut cut fosmid regions (for fosmid pool only)
          phase phase heterozygotes
          bamshuf shuffle and group alignments by name






          share|improve this answer























          • Unfortunately, I cannot find a way to install the previous version: sudo apt-get install samtools=0.1.19 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '0.1.19' for 'samtools' was not found
            – ubuntuquestions
            Nov 24 at 20:07










          • Also, 'universe' distribution component is already enabled for all sources.
            – ubuntuquestions
            Nov 24 at 20:09










          • What is your Ubuntu version?
            – N0rbert
            Nov 24 at 20:12










          • Ubuntu 18.04.1.
            – ubuntuquestions
            Nov 24 at 20:18










          • 18.04 has samtools (1.7-1). So if you really want 0.1.19, then compile it as described in my answer. I have never used this software, but it is possible that 1.7-1 may replace 0.1.19 by all functionality.
            – N0rbert
            Nov 24 at 20:20















          up vote
          0
          down vote



          accepted










          Really you do not need to compile this application by yourself.



          It is packaged in all currently supported versions in universe pocket.

          You can add this pocket with (if it is no enabled) the command:



          sudo add-apt-repository universe


          and then you can simply install it with:



          sudo apt-get install samtools




          If you really want to compile samtools, then you do not need to run ./configure script (as it does not exist), just use make:



          cd ~/Downloads
          wget https://vorboss.dl.sourceforge.net/project/samtools/samtools/0.1.19/samtools-0.1.19.tar.bz2
          tar -xf samtools-0.1.19.tar.bz2
          cd samtools-0.1.19
          make


          and you will get:




          $ ./samtools 

          Program: samtools (Tools for alignments in the SAM format)
          Version: 0.1.19-44428cd

          Usage: samtools <command> [options]

          Command: view SAM<->BAM conversion
          sort sort alignment file
          mpileup multi-way pileup
          depth compute the depth
          faidx index/extract FASTA
          tview text alignment viewer
          index index alignment
          idxstats BAM index stats (r595 or later)
          fixmate fix mate information
          flagstat simple stats
          calmd recalculate MD/NM tags and '=' bases
          merge merge sorted alignments
          rmdup remove PCR duplicates
          reheader replace BAM header
          cat concatenate BAMs
          bedcov read depth per BED region
          targetcut cut fosmid regions (for fosmid pool only)
          phase phase heterozygotes
          bamshuf shuffle and group alignments by name






          share|improve this answer























          • Unfortunately, I cannot find a way to install the previous version: sudo apt-get install samtools=0.1.19 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '0.1.19' for 'samtools' was not found
            – ubuntuquestions
            Nov 24 at 20:07










          • Also, 'universe' distribution component is already enabled for all sources.
            – ubuntuquestions
            Nov 24 at 20:09










          • What is your Ubuntu version?
            – N0rbert
            Nov 24 at 20:12










          • Ubuntu 18.04.1.
            – ubuntuquestions
            Nov 24 at 20:18










          • 18.04 has samtools (1.7-1). So if you really want 0.1.19, then compile it as described in my answer. I have never used this software, but it is possible that 1.7-1 may replace 0.1.19 by all functionality.
            – N0rbert
            Nov 24 at 20:20













          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          Really you do not need to compile this application by yourself.



          It is packaged in all currently supported versions in universe pocket.

          You can add this pocket with (if it is no enabled) the command:



          sudo add-apt-repository universe


          and then you can simply install it with:



          sudo apt-get install samtools




          If you really want to compile samtools, then you do not need to run ./configure script (as it does not exist), just use make:



          cd ~/Downloads
          wget https://vorboss.dl.sourceforge.net/project/samtools/samtools/0.1.19/samtools-0.1.19.tar.bz2
          tar -xf samtools-0.1.19.tar.bz2
          cd samtools-0.1.19
          make


          and you will get:




          $ ./samtools 

          Program: samtools (Tools for alignments in the SAM format)
          Version: 0.1.19-44428cd

          Usage: samtools <command> [options]

          Command: view SAM<->BAM conversion
          sort sort alignment file
          mpileup multi-way pileup
          depth compute the depth
          faidx index/extract FASTA
          tview text alignment viewer
          index index alignment
          idxstats BAM index stats (r595 or later)
          fixmate fix mate information
          flagstat simple stats
          calmd recalculate MD/NM tags and '=' bases
          merge merge sorted alignments
          rmdup remove PCR duplicates
          reheader replace BAM header
          cat concatenate BAMs
          bedcov read depth per BED region
          targetcut cut fosmid regions (for fosmid pool only)
          phase phase heterozygotes
          bamshuf shuffle and group alignments by name






          share|improve this answer














          Really you do not need to compile this application by yourself.



          It is packaged in all currently supported versions in universe pocket.

          You can add this pocket with (if it is no enabled) the command:



          sudo add-apt-repository universe


          and then you can simply install it with:



          sudo apt-get install samtools




          If you really want to compile samtools, then you do not need to run ./configure script (as it does not exist), just use make:



          cd ~/Downloads
          wget https://vorboss.dl.sourceforge.net/project/samtools/samtools/0.1.19/samtools-0.1.19.tar.bz2
          tar -xf samtools-0.1.19.tar.bz2
          cd samtools-0.1.19
          make


          and you will get:




          $ ./samtools 

          Program: samtools (Tools for alignments in the SAM format)
          Version: 0.1.19-44428cd

          Usage: samtools <command> [options]

          Command: view SAM<->BAM conversion
          sort sort alignment file
          mpileup multi-way pileup
          depth compute the depth
          faidx index/extract FASTA
          tview text alignment viewer
          index index alignment
          idxstats BAM index stats (r595 or later)
          fixmate fix mate information
          flagstat simple stats
          calmd recalculate MD/NM tags and '=' bases
          merge merge sorted alignments
          rmdup remove PCR duplicates
          reheader replace BAM header
          cat concatenate BAMs
          bedcov read depth per BED region
          targetcut cut fosmid regions (for fosmid pool only)
          phase phase heterozygotes
          bamshuf shuffle and group alignments by name







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 24 at 19:00

























          answered Nov 24 at 18:47









          N0rbert

          19.7k54392




          19.7k54392












          • Unfortunately, I cannot find a way to install the previous version: sudo apt-get install samtools=0.1.19 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '0.1.19' for 'samtools' was not found
            – ubuntuquestions
            Nov 24 at 20:07










          • Also, 'universe' distribution component is already enabled for all sources.
            – ubuntuquestions
            Nov 24 at 20:09










          • What is your Ubuntu version?
            – N0rbert
            Nov 24 at 20:12










          • Ubuntu 18.04.1.
            – ubuntuquestions
            Nov 24 at 20:18










          • 18.04 has samtools (1.7-1). So if you really want 0.1.19, then compile it as described in my answer. I have never used this software, but it is possible that 1.7-1 may replace 0.1.19 by all functionality.
            – N0rbert
            Nov 24 at 20:20


















          • Unfortunately, I cannot find a way to install the previous version: sudo apt-get install samtools=0.1.19 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '0.1.19' for 'samtools' was not found
            – ubuntuquestions
            Nov 24 at 20:07










          • Also, 'universe' distribution component is already enabled for all sources.
            – ubuntuquestions
            Nov 24 at 20:09










          • What is your Ubuntu version?
            – N0rbert
            Nov 24 at 20:12










          • Ubuntu 18.04.1.
            – ubuntuquestions
            Nov 24 at 20:18










          • 18.04 has samtools (1.7-1). So if you really want 0.1.19, then compile it as described in my answer. I have never used this software, but it is possible that 1.7-1 may replace 0.1.19 by all functionality.
            – N0rbert
            Nov 24 at 20:20
















          Unfortunately, I cannot find a way to install the previous version: sudo apt-get install samtools=0.1.19 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '0.1.19' for 'samtools' was not found
          – ubuntuquestions
          Nov 24 at 20:07




          Unfortunately, I cannot find a way to install the previous version: sudo apt-get install samtools=0.1.19 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '0.1.19' for 'samtools' was not found
          – ubuntuquestions
          Nov 24 at 20:07












          Also, 'universe' distribution component is already enabled for all sources.
          – ubuntuquestions
          Nov 24 at 20:09




          Also, 'universe' distribution component is already enabled for all sources.
          – ubuntuquestions
          Nov 24 at 20:09












          What is your Ubuntu version?
          – N0rbert
          Nov 24 at 20:12




          What is your Ubuntu version?
          – N0rbert
          Nov 24 at 20:12












          Ubuntu 18.04.1.
          – ubuntuquestions
          Nov 24 at 20:18




          Ubuntu 18.04.1.
          – ubuntuquestions
          Nov 24 at 20:18












          18.04 has samtools (1.7-1). So if you really want 0.1.19, then compile it as described in my answer. I have never used this software, but it is possible that 1.7-1 may replace 0.1.19 by all functionality.
          – N0rbert
          Nov 24 at 20:20




          18.04 has samtools (1.7-1). So if you really want 0.1.19, then compile it as described in my answer. I have never used this software, but it is possible that 1.7-1 may replace 0.1.19 by all functionality.
          – N0rbert
          Nov 24 at 20:20










          ubuntuquestions is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          ubuntuquestions is a new contributor. Be nice, and check out our Code of Conduct.













          ubuntuquestions is a new contributor. Be nice, and check out our Code of Conduct.












          ubuntuquestions is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095711%2fcannot-configure-or-make-install-samtools-0-1-19%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕