Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • atonidas
    Member
    • May 2017
    • 15

    #1

    Cannot use SRA data access in HISAT2

    everytime I try to run this command, i got this error :
    Code:
    $ hisat2 -p 8 --dta -x chrX_data/indexes/chrX_tran --sra-acc ERR188245 –S ERR188245_chrX.sam
    hisat2-align-s: unrecognized option '--sra-acc'
    so that I follow this instruction and download ngs-sdk.1.3.0-linux.tar.gz
    Code:
    "For the support of SRA data access in HISAT2, please download and install the NCBI-NGS toolkit."
    HTML Code:
    http://ftp-trace.ncbi.nlm.nih.gov/sra/ngs/1.3.0/ngs-sdk.1.3.0-linux.tar.gz
    After extract and follow the instruction of this ngs-sdk.1.3.0-linux.tar.gz, I got this message :
    Code:
    ~/RNAseq/tools/ngs-sdk.1.3.0-linux$ cd share
    ~/RNAseq/tools/ngs-sdk.1.3.0-linux/share$ make
    make: uname: Command not found
    make: true: Command not found
    /home/atonidas/RNAseq/tools/ngs-sdk.1.3.0-linux/share/Makefile.config:53: recipe for target 'ncbi-headers' failed
    make: *** [ncbi-headers] Error 127
    Did I make something wrong? please advice, thank you so much
    Last edited by atonidas; 05-24-2017, 10:03 PM.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Are you doing this in MingW? If so use real linux since you installed it.

    Comment

    • atonidas
      Member
      • May 2017
      • 15

      #3
      Originally posted by GenoMax View Post
      Are you doing this in MingW? If so use real linux since you installed it.
      nope, I did not do that in MinW, I did that in terminal of Linux.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Then why are common unix commands like "uname" not found?

        Can you look in /bin to see if the uname and true commands are there? Also make sure /bin is in your $PATH.

        Comment

        • atonidas
          Member
          • May 2017
          • 15

          #5
          Originally posted by GenoMax View Post
          Then why are common unix commands like "uname" not found?

          Can you look in /bin to see if the uname and true commands are there? Also make sure /bin is in your $PATH.
          I set /home/atonidas/bin as my $PATH and I did installed all of my tools in there but there is no uname and true commands in that folder.

          I have just installed ubuntu for 2 days and this is the first time of my life using this OS so that I really have no idea why common unix commands like "uname" are not there.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            I am referring to /bin (which is the system bin not the one in your home directory). Can you check that directory?

            Comment

            • atonidas
              Member
              • May 2017
              • 15

              #7
              I just checked the computer/bin directory, and there are uname and true command in here. it's here.

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                So is that /bin directory in your $PATH. It normally should be (unless you changed the $PATH drastically). Put that directly back in there, if it is not present.
                Code:
                 export PATH=$PATH:\bin

                Comment

                • atonidas
                  Member
                  • May 2017
                  • 15

                  #9
                  Originally posted by GenoMax View Post
                  So is that /bin directory in your $PATH. It normally should be (unless you changed the $PATH drastically). Put that directly back in there, if it is not present.
                  Code:
                   export PATH=$PATH:\bin
                  I am following your advice and I put everything back in there. Then I start compiling the "ngs-sdk.1.3.0-linux" again following the instruction and I got this message :

                  Code:
                  atonidas@atonidas:~/tool/ngs-sdk.1.3.0-linux/share$ make
                  c++   -g -o AlignSliceTest AlignSliceTest.cpp -L/usr/local/ngs/ngs-sdk/lib64/ -L/usr/local/ngs/ngs-sdk/lib64 -lncbi-ngs-c++ -lngs-c++ -lngs-bam-c++ -lncbi-ngs-c++ -lncbi-vdb-static -lngs-adapt-c++ -lpthread -ldl -lm 
                  AlignSliceTest.cpp:28:31: fatal error: ngs-bam/ngs-bam.hpp: No such file or directory
                  compilation terminated.
                  Makefile:84: recipe for target 'AlignSliceTest' failed
                  make: *** [AlignSliceTest] Error 1
                  I already add library directory to my LD_LIBRARY_PATH as instructed, but I still got the same message. I am not sure what happen

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    Perhaps you have a corrupted/incomplete download of the software. Can you re-download and try again?

                    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, 10-22-2026, 11:13 AM
                    0 responses
                    28 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-22-2026, 10:48 AM
                    0 responses
                    21 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-15-2026, 10:52 AM
                    0 responses
                    38 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-14-2026, 05:39 AM
                    0 responses
                    44 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...